Class ProjectDataContext

    • Constructor Detail

      • ProjectDataContext

        public ProjectDataContext​(ComponentProvider provider,
                                  ProjectData projectData,
                                  java.lang.Object contextObject,
                                  java.util.List<DomainFolder> selectedFolders,
                                  java.util.List<DomainFile> selectedFiles,
                                  java.awt.Component comp,
                                  boolean isActiveProject)
    • Method Detail

      • getSelectedFolders

        public java.util.List<DomainFolder> getSelectedFolders()
      • hasExactlyOneFileOrFolder

        public boolean hasExactlyOneFileOrFolder()
      • getFolderCount

        public int getFolderCount()
      • getComponent

        public java.awt.Component getComponent()
      • isInActiveProject

        public boolean isInActiveProject()
        Description copied from interface: DomainFileContext
        True if the current set of files is in the active project (false implies a non-active, read-only project)
        Specified by:
        isInActiveProject in interface DomainFileContext
        Returns:
        true if in the active project
      • isReadOnlyProject

        public boolean isReadOnlyProject()
      • hasOneOrMoreFilesAndFolders

        public boolean hasOneOrMoreFilesAndFolders()
      • containsRootFolder

        public boolean containsRootFolder()