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 ActionManagerprotected Alertsprotected FileEditorManagerprotected FileManagerprotected FileTypeManagerprotected FileTypeRegistryprotected IdeManagerprotected ProjectManagerprotected ToolWindowManagerFields 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 TypeMethodDescriptionvoidvoiddeleteFile(Path file) voidfocusToFile(Path file) Перевести фокус на файлprotected abstract Stringprotected abstract javafx.scene.image.Imageprotected abstract Stringprotected abstract Stringprotected abstract List<SearchPredicate>protected abstract intprotected abstract FilesHierarchyView<T,P> protected abstract booleanvoidprojectClosed(boolean applicationClosed) вызывается после закрытия проектаvoidвызывается после открытия проектаprotected voidprotected voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.cg.webbpm.studio.core.api.components.Disposable
destroy, disposeMethods inherited from interface ru.cg.webbpm.studio.platform.api.hierarchy.Hierarchy
getActionGroupId, getContextMenuIdMethods 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:
focusToFilein interfaceHierarchy- Parameters:
file- - файл
-
addFile
-
deleteFile
- Specified by:
deleteFilein interfaceHierarchy
-
projectOpened
public void projectOpened()Description copied from interface:ProjectComponentвызывается после открытия проекта- Specified by:
projectOpenedin interfaceProjectComponent
-
projectClosed
public void projectClosed(boolean applicationClosed) Description copied from interface:ProjectComponentвызывается после закрытия проекта- Specified by:
projectClosedin interfaceProjectComponent- Parameters:
applicationClosed- Проект был закрыт при закрытии приложения
-
getData
- Specified by:
getDatain interfaceDataContext
-
registerToolWindow
protected void registerToolWindow() -
unregisterToolWindow
protected void unregisterToolWindow() -
getSearchPredicates
-