Interface ListingModel
- 
- All Known Implementing Classes:
 EmptyListingModel,ListingModelConverter,ProgramBigListingModel
public interface ListingModel 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDISPLAY_EXTERNAL_FUNCTION_POINTER_OPTION_NAMEstatic java.lang.StringDISPLAY_NONEXTERNAL_FUNCTION_POINTER_OPTION_NAMEstatic java.lang.StringFUNCTION_POINTER_OPTION_GROUP_NAME 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(ListingModelListener listener)AddressSetadjustAddressSetToCodeUnitBoundaries(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.voidcloseData(Data data)Closes the given data, but not any sub-components.ListingModelcopy()Makes a copy of this model.voiddispose()AddressgetAddressAfter(Address address)AddressgetAddressBefore(Address address)AddressSetViewgetAddressSet()LayoutgetLayout(Address address, boolean isGapAddress)intgetMaxWidth()ProgramgetProgram()booleanisClosed()booleanisOpen(Data data)Returns 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.booleanopenData(Data data)Opens 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 Detail
- 
FUNCTION_POINTER_OPTION_GROUP_NAME
static final java.lang.String FUNCTION_POINTER_OPTION_GROUP_NAME
- See Also:
 - Constant Field Values
 
 
- 
DISPLAY_EXTERNAL_FUNCTION_POINTER_OPTION_NAME
static final java.lang.String DISPLAY_EXTERNAL_FUNCTION_POINTER_OPTION_NAME
- See Also:
 - Constant Field Values
 
 
- 
DISPLAY_NONEXTERNAL_FUNCTION_POINTER_OPTION_NAME
static final java.lang.String DISPLAY_NONEXTERNAL_FUNCTION_POINTER_OPTION_NAME
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getAddressSet
AddressSetView getAddressSet()
 
- 
getMaxWidth
int getMaxWidth()
 
- 
isOpen
boolean isOpen(Data data)
Returns true if the data is open- Parameters:
 data- the data to check- Returns:
 - true if the data is open
 
 
- 
toggleOpen
void toggleOpen(Data data)
Changes the open state of the given data (open -> closes; closed-> open).- Parameters:
 data- the data to open
 
- 
openData
boolean openData(Data data)
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
void openAllData(Data data, TaskMonitor monitor)
Recursively open the given data and its sub-components.- Parameters:
 data- the data to openmonitor- the task monitor
 
- 
openAllData
void openAllData(AddressSetView addresses, TaskMonitor monitor)
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
void closeData(Data data)
Closes the given data, but not any sub-components.- Parameters:
 data- the data to close
 
- 
closeAllData
void closeAllData(Data data, TaskMonitor monitor)
Recursively close the given data and its sub-components.- Parameters:
 data- the data to closemonitor- the task monitor
 
- 
closeAllData
void closeAllData(AddressSetView addresses, TaskMonitor monitor)
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
void addListener(ListingModelListener listener)
 
- 
removeListener
void removeListener(ListingModelListener listener)
 
- 
getProgram
Program getProgram()
 
- 
isClosed
boolean isClosed()
 
- 
setFormatManager
void setFormatManager(FormatManager formatManager)
 
- 
dispose
void dispose()
 
- 
adjustAddressSetToCodeUnitBoundaries
AddressSet adjustAddressSetToCodeUnitBoundaries(AddressSet addressSet)
 
- 
copy
ListingModel copy()
Makes a copy of this model.- Returns:
 - a copy of this model.
 
 
 - 
 
 -