Package ghidra.framework.main.datatree
Class DialogProjectTreeContext
java.lang.Object
docking.DefaultActionContext
docking.DialogActionContext
ghidra.framework.main.datatree.DialogProjectTreeContext
- All Implemented Interfaces:
 ActionContext,ProjectTreeContext
Context specific to the DataTreeDialog.
 
 Note: this context is used from by the 
ProjectDataTreePanel.  This class may or may not
 be in a dialog.  For convenience, this class extends a dialog action context, but may not always
 be associated with a dialog.- 
Constructor Summary
ConstructorsConstructorDescriptionDialogProjectTreeContext(ProjectData projectData, TreePath[] selectionPaths, List<DomainFolder> folderList, List<DomainFile> fileList, DataTree tree)  - 
Method Summary
Modifier and TypeMethodDescriptionReturns the node that represents the context object for this contextintReturns the number of files selected in the tree.intReturns the number of folders selected in the tree.Returns a list ofDomainFiles selected in the tree.Returns a list ofDomainFolders selected in the tree.TreePath[]Returns the list of selectedTreePaths selected.getTree()Returns the project data tree component.Methods inherited from class docking.DialogActionContext
getDialogComponentProvider, setDialogComponentProviderMethods inherited from class docking.DefaultActionContext
getComponentProvider, getContextObject, getEventClickModifiers, getMouseEvent, getSourceComponent, getSourceObject, hasAnyEventClickModifiers, setContextObject, setEventClickModifiers, setMouseEvent, setSourceComponent, setSourceObject, toString 
- 
Constructor Details
- 
DialogProjectTreeContext
public DialogProjectTreeContext(ProjectData projectData, TreePath[] selectionPaths, List<DomainFolder> folderList, List<DomainFile> fileList, DataTree tree)  
 - 
 - 
Method Details
- 
getSelectionPaths
Description copied from interface:ProjectTreeContextReturns the list of selectedTreePaths selected.- Specified by:
 getSelectionPathsin interfaceProjectTreeContext- Returns:
 - the list of selected 
TreePaths selected. 
 - 
getTree
Description copied from interface:ProjectTreeContextReturns the project data tree component.- Specified by:
 getTreein interfaceProjectTreeContext- Returns:
 - the project data tree component.
 
 - 
getSelectedFiles
Description copied from interface:ProjectTreeContextReturns a list ofDomainFiles selected in the tree.- Specified by:
 getSelectedFilesin interfaceProjectTreeContext- Returns:
 - a list of 
DomainFiles selected in the tree. 
 - 
getSelectedFolders
Description copied from interface:ProjectTreeContextReturns a list ofDomainFolders selected in the tree.- Specified by:
 getSelectedFoldersin interfaceProjectTreeContext- Returns:
 - a list of 
DomainFolders selected in the tree. 
 - 
getFolderCount
public int getFolderCount()Description copied from interface:ProjectTreeContextReturns the number of folders selected in the tree.- Specified by:
 getFolderCountin interfaceProjectTreeContext- Returns:
 - the number of folders selected in the tree.
 
 - 
getFileCount
public int getFileCount()Description copied from interface:ProjectTreeContextReturns the number of files selected in the tree.- Specified by:
 getFileCountin interfaceProjectTreeContext- Returns:
 - the number of files selected in the tree.
 
 - 
getContextNode
Description copied from interface:ProjectTreeContextReturns the node that represents the context object for this context- Specified by:
 getContextNodein interfaceProjectTreeContext- Returns:
 - the node
 
 
 -