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 Summary
FieldsModifier and TypeFieldDescriptionprotected ActionManager
protected Alerts
protected FileEditorManager
protected FileManager
protected FileTypeManager
protected FileTypeRegistry
protected IdeManager
protected ProjectManager
protected ToolWindowManager
Fields inherited from interface ru.cg.webbpm.studio.platform.api.hierarchy.Hierarchy
ANALYTICS_NEW_FOLDER_MENU, DELETE_FILE_MENU, NEW_UNKNOWN_FILE_MENU, OPEN_FILE_FOLDER_MENU, OPEN_FILE_MENU, RENAME_FILE_MENU, SCRIPTS_NEW_FOLDER_MENU
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteFile
(Path file) void
focusToFile
(Path file) Перевести фокус на файлprotected abstract String
protected abstract javafx.scene.image.Image
protected abstract String
protected abstract String
protected abstract List<SearchPredicate>
protected abstract int
protected abstract FilesHierarchyView<T,
P> protected abstract boolean
void
projectClosed
(boolean applicationClosed) вызывается после закрытия проектаvoid
вызывается после открытия проектаprotected void
protected void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ru.cg.webbpm.studio.core.api.components.Disposable
destroy, dispose
Methods inherited from interface ru.cg.webbpm.studio.platform.api.hierarchy.Hierarchy
getActionGroupId, getContextMenuId
Methods inherited from interface ru.cg.webbpm.studio.core.api.components.ProjectComponent
canCloseProject, weight
-
Field Details
-
projectManager
-
actionManager
-
fileManager
-
fileEditorManager
-
fileTypeManager
-
fileTypeRegistry
-
toolWindowManager
-
ideManager
-
alerts
-
-
Constructor Details
-
FilesHierarchyPanel
public FilesHierarchyPanel()
-
-
Method Details
-
getHierarchyPanelId
-
getSearchFieldId
-
getToolWindowWeight
protected abstract int getToolWindowWeight() -
getPanelTitle
-
getRootPaths
-
getPanelIcon
protected abstract javafx.scene.image.Image getPanelIcon() -
isPanelVisible
protected abstract boolean isPanelVisible() -
initHierarchyView
-
focusToFile
Description copied from interface:Hierarchy
Перевести фокус на файл- Specified by:
focusToFile
in interfaceHierarchy
- Parameters:
file
- - файл
-
addFile
-
deleteFile
- Specified by:
deleteFile
in interfaceHierarchy
-
projectOpened
public void projectOpened()Description copied from interface:ProjectComponent
вызывается после открытия проекта- Specified by:
projectOpened
in interfaceProjectComponent
-
projectClosed
public void projectClosed(boolean applicationClosed) Description copied from interface:ProjectComponent
вызывается после закрытия проекта- Specified by:
projectClosed
in interfaceProjectComponent
- Parameters:
applicationClosed
- Проект был закрыт при закрытии приложения
-
getData
- Specified by:
getData
in interfaceDataContext
-
registerToolWindow
protected void registerToolWindow() -
unregisterToolWindow
protected void unregisterToolWindow() -
getSearchPredicates
-