Modifier and Type | Field and Description |
---|---|
private int |
id |
private org.openide.util.lookup.InstanceContent |
instanceContent |
private org.openide.util.Lookup |
lookup |
private ProjectImpl |
project |
Constructor and Description |
---|
WorkspaceImpl(ProjectImpl project,
int id) |
WorkspaceImpl(ProjectImpl project,
int id,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
add(Object instance)
Adds an instance to this workspaces lookup.
|
int |
getId()
Returns the workspace unique identifier
|
org.openide.util.Lookup |
getLookup()
Get any instance in the current lookup.
|
Project |
getProject()
Returns the project this workspace belong to
|
void |
remove(Object instance)
Removes an instance from this workspaces lookup.
|
String |
toString() |
private final transient org.openide.util.lookup.InstanceContent instanceContent
private final transient org.openide.util.Lookup lookup
private final int id
private final ProjectImpl project
public WorkspaceImpl(ProjectImpl project, int id)
public WorkspaceImpl(ProjectImpl project, int id, String name)
public void add(Object instance)
Workspace
public void remove(Object instance)
Workspace
public org.openide.util.Lookup getLookup()
Workspace
May contains:
GraphModel
LayoutModel
StatisticsModel
FiltersModel
PreviewModel
VizModel
public Project getProject()
Workspace
getProject
in interface Workspace
public int getId()
Workspace
Copyright © 2007–2016 Gephi Consortium. All rights reserved.