Interface ListingModel
- All Known Implementing Classes:
EmptyListingModel,ListingModelConverter,ProgramBigListingModel
public interface ListingModel
-
Field Summary
Fields -
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 data) Changes the open state of the given data (open -> closes; closed-> open).
-
Field Details
-
FUNCTION_POINTER_OPTION_GROUP_NAME
- See Also:
-
DISPLAY_EXTERNAL_FUNCTION_POINTER_OPTION_NAME
- See Also:
-
DISPLAY_NONEXTERNAL_FUNCTION_POINTER_OPTION_NAME
- See Also:
-
-
Method Details
-
getAddressSet
AddressSetView getAddressSet() -
getAddressAfter
-
getAddressBefore
-
getLayout
-
getMaxWidth
int getMaxWidth() -
isOpen
Returns true if the data is open- Parameters:
data- the data to check- Returns:
- true if the data is open
-
toggleOpen
Changes the open state of the given data (open -> closes; closed-> open).- Parameters:
data- the data to open
-
openData
Opens the given data, but not any sub-components.- 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
Recursively open the given data and its sub-components.- Parameters:
data- the data to openmonitor- the task monitor
-
openAllData
Opens all data found within the given addresses. Each data is fully opened.- Parameters:
addresses- the range of addresses to search for datamonitor- the task monitor
-
closeData
Closes the given data, but not any sub-components.- Parameters:
data- the data to close
-
closeAllData
Recursively close the given data and its sub-components.- Parameters:
data- the data to closemonitor- the task monitor
-
closeAllData
Closes all data found within the given addresses. Each data is fully closed.- Parameters:
addresses- the range of addresses to search for datamonitor- the task monitor
-
addListener
-
removeListener
-
getProgram
Program getProgram() -
isClosed
boolean isClosed() -
setFormatManager
-
dispose
void dispose() -
adjustAddressSetToCodeUnitBoundaries
-
copy
ListingModel copy()Makes a copy of this model.- Returns:
- a copy of this model.
-