Class FilesHierarchyPanel<T extends FilesHierarchyItemData,P extends javafx.scene.control.TreeItem<T> & FilterableTreeItem>

java.lang.Object
ru.cg.webbpm.studio.platform.api.hierarchy.FilesHierarchyPanel<T,P>
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, Disposable, ProjectComponent, DataContext, Hierarchy
Direct Known Subclasses:
AnalyticsPanel, ScriptsPanel

public abstract class FilesHierarchyPanel<T extends FilesHierarchyItemData,P extends javafx.scene.control.TreeItem<T> & FilterableTreeItem> extends Object implements Hierarchy, ProjectComponent, DataContext
Author:
m.popov
  • Field Details

  • Constructor Details

    • FilesHierarchyPanel

      public FilesHierarchyPanel()
  • Method Details

    • getHierarchyPanelId

      protected abstract String getHierarchyPanelId()
    • getSearchFieldId

      protected abstract String getSearchFieldId()
    • getToolWindowWeight

      protected abstract int getToolWindowWeight()
    • getPanelTitle

      protected abstract String getPanelTitle()
    • getRootPaths

      protected abstract List<Path> getRootPaths()
    • getPanelIcon

      protected abstract javafx.scene.image.Image getPanelIcon()
    • isPanelVisible

      protected abstract boolean isPanelVisible()
    • initHierarchyView

      protected abstract FilesHierarchyView<T,P> initHierarchyView()
    • focusToFile

      public void focusToFile(Path file)
      Description copied from interface: Hierarchy
      Перевести фокус на файл
      Specified by:
      focusToFile in interface Hierarchy
      Parameters:
      file - - файл
    • addFile

      public void addFile(Path file)
      Specified by:
      addFile in interface Hierarchy
    • deleteFile

      public void deleteFile(Path file)
      Specified by:
      deleteFile in interface Hierarchy
    • projectOpened

      public void projectOpened()
      Description copied from interface: ProjectComponent
      вызывается после открытия проекта
      Specified by:
      projectOpened in interface ProjectComponent
    • projectClosed

      public void projectClosed(boolean applicationClosed)
      Description copied from interface: ProjectComponent
      вызывается после закрытия проекта
      Specified by:
      projectClosed in interface ProjectComponent
      Parameters:
      applicationClosed - Проект был закрыт при закрытии приложения
    • getData

      public Object getData(String id)
      Specified by:
      getData in interface DataContext
    • registerToolWindow

      protected void registerToolWindow()
    • unregisterToolWindow

      protected void unregisterToolWindow()
    • getSearchPredicates

      protected abstract List<SearchPredicate> getSearchPredicates()