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 Detail

      • add

        void add​(Object instance)
        Adds an object to this project.
        Parameters:
        instance - the instance that is to be added to the lookup
      • remove

        void remove​(Object instance)
        Removes an object to this project.
        Parameters:
        instance - the instance that is to be removed from the lookup
      • getLookup

        org.openide.util.Lookup getLookup()
        Gets any optional object from this project.

        May contains:

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