Class ProjectImpl

    • Field Detail

      • instanceContent

        private final transient org.openide.util.lookup.InstanceContent instanceContent
      • lookup

        private final transient org.openide.util.lookup.AbstractLookup lookup
      • uniqueIdentifier

        private final String uniqueIdentifier
      • lastOpened

        private Instant lastOpened
    • Constructor Detail

      • ProjectImpl

        public ProjectImpl​(String name)
      • ProjectImpl

        public ProjectImpl​(String uniqueIdentifier,
                           String name)
    • Method Detail

      • add

        public void add​(Object instance)
        Description copied from interface: Project
        Adds an object to this project.
        Specified by:
        add in interface Project
        Parameters:
        instance - the instance that is to be added to the lookup
      • remove

        public void remove​(Object instance)
        Description copied from interface: Project
        Removes an object to this project.
        Specified by:
        remove in interface Project
        Parameters:
        instance - the instance that is to be removed from the lookup
      • getLookup

        public org.openide.util.Lookup getLookup()
        Description copied from interface: Project
        Gets any optional object from this project.

        May contains:

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