Interface Project

  • All Superinterfaces:
    org.openide.util.Lookup.Provider

    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

      All Methods Instance Methods Abstract 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.
      void remove​(Object instance)
      Removes an abilities to this project.
    • Method Detail

      • add

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

        void remove​(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