Gephi Toolkit Javadoc

org.gephi.project.api
Interface Project

All Superinterfaces:
org.openide.util.Lookup.Provider
All Known Implementing Classes:
ProjectImpl

public interface Project
extends org.openide.util.Lookup.Provider

Project interface that internally stores, through its Lookup, various information and workspaces.

The lookup is a generic container for any instance, thus modules are free to store and query anything they want to be stored within a project.

Author:
Mathieu Bastian

Method Summary
 void add(java.lang.Object instance)
          Adds an abilities to this project.
 org.openide.util.Lookup getLookup()
          Gets any optional abilities of this project.
 void remove(java.lang.Object instance)
          Removes an abilities to this project.
 

Method Detail

add

void add(java.lang.Object instance)
Adds an abilities to this project.

Parameters:
instance - the instance that is to be added to the lookup

remove

void remove(java.lang.Object instance)
Removes an abilities to this project.

Parameters:
instance - the instance that is to be removed from the lookup

getLookup

org.openide.util.Lookup getLookup()
Gets any optional abilities of this project.

May contains:

  1. ProjectInformation
  2. ProjectMetaData
  3. WorkspaceProvider

Specified by:
getLookup in interface org.openide.util.Lookup.Provider
Returns:
the project's lookup

Gephi Toolkit Javadoc