Package ghidra.framework.main.datatable
Interface DomainFileContext
-
- All Known Implementing Classes:
FrontEndProjectTreeContext
,ProjectDataContext
public interface DomainFileContext
A context that provides information to actions about domain files that are selected in the tool
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getFileCount()
Returns the count of selected filesjava.util.List<DomainFile>
getSelectedFiles()
The selected files or empty if no files are selectedboolean
isInActiveProject()
True if the current set of files is in the active project (false implies a non-active, read-only project)
-
-
-
Method Detail
-
getSelectedFiles
java.util.List<DomainFile> getSelectedFiles()
The selected files or empty if no files are selected- Returns:
- the files
-
getFileCount
int getFileCount()
Returns the count of selected files- Returns:
- the count of selected files
-
isInActiveProject
boolean isInActiveProject()
True if the current set of files is in the active project (false implies a non-active, read-only project)- Returns:
- true if in the active project
-
-