Package org.gephi.project.impl
Class ProjectImpl
- java.lang.Object
-
- org.gephi.project.impl.ProjectImpl
-
- All Implemented Interfaces:
Serializable
,Project
,org.openide.util.Lookup.Provider
public class ProjectImpl extends Object implements Project, org.openide.util.Lookup.Provider, Serializable
- Author:
- Mathieu Bastian
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private org.openide.util.lookup.InstanceContent
instanceContent
private org.openide.util.lookup.AbstractLookup
lookup
private AtomicInteger
workspaceIds
-
Constructor Summary
Constructors Constructor Description ProjectImpl(int id)
ProjectImpl(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Object instance)
Adds an abilities to this project.org.openide.util.Lookup
getLookup()
Gets any optional abilities of this project.String
getName()
int
getWorkspaceIds()
int
nextWorkspaceId()
void
remove(Object instance)
Removes an abilities to this project.void
setWorkspaceIds(int ids)
-
-
-
Field Detail
-
workspaceIds
private final AtomicInteger workspaceIds
-
instanceContent
private final transient org.openide.util.lookup.InstanceContent instanceContent
-
lookup
private final transient org.openide.util.lookup.AbstractLookup lookup
-
-
Constructor Detail
-
ProjectImpl
public ProjectImpl(int id)
-
ProjectImpl
public ProjectImpl(String name)
-
-
Method Detail
-
add
public void add(Object instance)
Description copied from interface:Project
Adds an abilities to this project.
-
remove
public void remove(Object instance)
Description copied from interface:Project
Removes an abilities to this project.
-
getLookup
public org.openide.util.Lookup getLookup()
Description copied from interface:Project
Gets any optional abilities of this project.May contains:
-
getName
public String getName()
-
nextWorkspaceId
public int nextWorkspaceId()
-
getWorkspaceIds
public int getWorkspaceIds()
-
setWorkspaceIds
public void setWorkspaceIds(int ids)
-
-