Class EmptyListingModel
java.lang.Object
ghidra.app.util.viewer.listingpanel.EmptyListingModel
- All Implemented Interfaces:
ListingModel
-
Field Summary
Fields inherited from interface ghidra.app.util.viewer.listingpanel.ListingModel
DISPLAY_EXTERNAL_FUNCTION_POINTER_OPTION_NAME, DISPLAY_NONEXTERNAL_FUNCTION_POINTER_OPTION_NAME, FUNCTION_POINTER_OPTION_GROUP_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(ListingModelListener listener) adjustAddressSetToCodeUnitBoundaries(AddressSet addressSet) voidcloseAllData(AddressSetView addresses, TaskMonitor monitor) Closes all data found within the given addresses.voidcloseAllData(Data data, TaskMonitor monitor) Recursively close the given data and its sub-components.voidCloses the given data, but not any sub-components.copy()Makes a copy of this model.voiddispose()getAddressAfter(Address address) getAddressBefore(Address address) intbooleanisClosed()booleanReturns true if the data is openvoidopenAllData(AddressSetView addresses, TaskMonitor monitor) Opens all data found within the given addresses.voidopenAllData(Data data, TaskMonitor monitor) Recursively open the given data and its sub-components.booleanOpens the given data, but not any sub-components.voidremoveListener(ListingModelListener listener) voidsetFormatManager(FormatManager formatManager) voidtoggleOpen(Data object) Changes the open state of the given data (open -> closes; closed-> open).
-
Constructor Details
-
EmptyListingModel
public EmptyListingModel()
-
-
Method Details
-
addListener
- Specified by:
addListenerin interfaceListingModel
-
getAddressAfter
- Specified by:
getAddressAfterin interfaceListingModel
-
getAddressBefore
- Specified by:
getAddressBeforein interfaceListingModel
-
getAddressSet
- Specified by:
getAddressSetin interfaceListingModel
-
getLayout
- Specified by:
getLayoutin interfaceListingModel
-
getMaxWidth
public int getMaxWidth()- Specified by:
getMaxWidthin interfaceListingModel
-
getProgram
- Specified by:
getProgramin interfaceListingModel
-
isOpen
Description copied from interface:ListingModelReturns true if the data is open- Specified by:
isOpenin interfaceListingModel- Parameters:
object- the data to check- Returns:
- true if the data is open
-
removeListener
- Specified by:
removeListenerin interfaceListingModel
-
toggleOpen
Description copied from interface:ListingModelChanges the open state of the given data (open -> closes; closed-> open).- Specified by:
toggleOpenin interfaceListingModel- Parameters:
object- the data to open
-
openAllData
Description copied from interface:ListingModelRecursively open the given data and its sub-components.- Specified by:
openAllDatain interfaceListingModel- Parameters:
data- the data to openmonitor- the task monitor
-
closeAllData
Description copied from interface:ListingModelRecursively close the given data and its sub-components.- Specified by:
closeAllDatain interfaceListingModel- Parameters:
data- the data to closemonitor- the task monitor
-
closeData
Description copied from interface:ListingModelCloses the given data, but not any sub-components.- Specified by:
closeDatain interfaceListingModel- Parameters:
data- the data to close
-
openData
Description copied from interface:ListingModelOpens the given data, but not any sub-components.- Specified by:
openDatain interfaceListingModel- Parameters:
data- the data to open- Returns:
- true if the data was opened (will return false if the data is already open or has no children)
-
openAllData
Description copied from interface:ListingModelOpens all data found within the given addresses. Each data is fully opened.- Specified by:
openAllDatain interfaceListingModel- Parameters:
addresses- the range of addresses to search for datamonitor- the task monitor
-
closeAllData
Description copied from interface:ListingModelCloses all data found within the given addresses. Each data is fully closed.- Specified by:
closeAllDatain interfaceListingModel- Parameters:
addresses- the range of addresses to search for datamonitor- the task monitor
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceListingModel
-
setFormatManager
- Specified by:
setFormatManagerin interfaceListingModel
-
dispose
public void dispose()- Specified by:
disposein interfaceListingModel
-
adjustAddressSetToCodeUnitBoundaries
- Specified by:
adjustAddressSetToCodeUnitBoundariesin interfaceListingModel
-
copy
Description copied from interface:ListingModelMakes a copy of this model.- Specified by:
copyin interfaceListingModel- Returns:
- a copy of this model.
-