Class JavaRootContainer

  • All Implemented Interfaces:
    EventListener, IGProp<GProp<?>[]>, IPropCnr, java.lang.Cloneable

    public class JavaRootContainer
    extends PropCnr
    Property container used to store properties of Java files in a project.
    Author:
    Christopher Mindus
    • Field Detail

      • FILENAME_SUFFIX

        public static final java.lang.String FILENAME_SUFFIX
        The file name suffix for each project. The full file name is the project name followed by the suffix.
        See Also:
        Constant Field Values
    • Constructor Detail

      • JavaRootContainer

        public JavaRootContainer()
        Creates a property container with the specified name with a null value.
    • Method Detail

      • loadSavedState

        public org.eclipse.core.resources.IFile[] loadSavedState​(org.eclipse.core.resources.IProject project,
                                                                 org.eclipse.core.resources.IFolder[] folders,
                                                                 boolean[] success)
        Attempts to load the container from a previous state.
        Parameters:
        project - The project.
        folders - The Java source folders.
        success - The return code in a boolean [1].
        Returns:
        The Java files that need to be processed for the project.
      • saveState

        public void saveState​(java.io.File file)
        Saves the state to a file.
        Parameters:
        file - The file.