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
Modifier and TypeMethodDescriptionintReturns the count of selected filesThe selected files or empty if no files are selectedbooleanTrue if the current set of files is in the active project (false implies a non-active, read-only project)
-
Method Details
-
getSelectedFiles
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
-