Package ghidra.framework.main.datatree
Class FrontEndProjectTreeContext
- java.lang.Object
-
- docking.ActionContext
-
- ghidra.framework.main.datatable.ProjectDataContext
-
- ghidra.framework.main.datatree.FrontEndProjectTreeContext
-
- All Implemented Interfaces:
DomainFileContext
,ProjectTreeContext
public class FrontEndProjectTreeContext extends ProjectDataContext implements ProjectTreeContext
-
-
Constructor Summary
Constructors Constructor Description FrontEndProjectTreeContext(ComponentProvider provider, ProjectData projectData, javax.swing.tree.TreePath[] selectionPaths, java.util.List<DomainFolder> folderList, java.util.List<DomainFile> fileList, DataTree tree, boolean isActiveProject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.tree.TreePath[]
getSelectionPaths()
Returns the list of selectedTreePath
s selected.DataTree
getTree()
Returns the project data tree component.-
Methods inherited from class ghidra.framework.main.datatable.ProjectDataContext
containsRootFolder, getComponent, getFileCount, getFolderCount, getProjectData, getSelectedFiles, getSelectedFolders, hasExactlyOneFileOrFolder, hasOneOrMoreFilesAndFolders, isInActiveProject, isReadOnlyProject
-
Methods inherited from class docking.ActionContext
getComponentProvider, getContextObject, getGlobalContext, getMouseEvent, getSourceComponent, getSourceObject, setContextObject, setMouseEvent, setSourceObject, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ghidra.framework.main.datatable.ProjectTreeContext
getFileCount, getFolderCount, getSelectedFiles, getSelectedFolders
-
-
-
-
Constructor Detail
-
FrontEndProjectTreeContext
public FrontEndProjectTreeContext(ComponentProvider provider, ProjectData projectData, javax.swing.tree.TreePath[] selectionPaths, java.util.List<DomainFolder> folderList, java.util.List<DomainFile> fileList, DataTree tree, boolean isActiveProject)
-
-
Method Detail
-
getSelectionPaths
public javax.swing.tree.TreePath[] getSelectionPaths()
Description copied from interface:ProjectTreeContext
Returns the list of selectedTreePath
s selected.- Specified by:
getSelectionPaths
in interfaceProjectTreeContext
- Returns:
- the list of selected
TreePath
s selected.
-
getTree
public DataTree getTree()
Description copied from interface:ProjectTreeContext
Returns the project data tree component.- Specified by:
getTree
in interfaceProjectTreeContext
- Returns:
- the project data tree component.
-
-