Package ghidra.framework.plugintool
Class NavigatableComponentProviderAdapter
java.lang.Object
docking.ComponentProvider
ghidra.framework.plugintool.ComponentProviderAdapter
ghidra.framework.plugintool.NavigatableComponentProviderAdapter
- All Implemented Interfaces:
ActionContextProvider
,Navigatable
,HelpDescriptor
public abstract class NavigatableComponentProviderAdapter
extends ComponentProviderAdapter
implements Navigatable
-
Field Summary
Fields inherited from class ghidra.framework.plugintool.ComponentProviderAdapter
tool
Fields inherited from class docking.ComponentProvider
DEFAULT_WINDOW_GROUP, dockingTool
Fields inherited from interface ghidra.app.nav.Navigatable
DEFAULT_NAVIGATABLE_ID
-
Constructor Summary
ConstructorDescriptionNavigatableComponentProviderAdapter
(PluginTool tool, String name, String owner, Class<?> contextType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a listener to be notified if this Navigatable is terminatedvoid
dispose()
getIcon()
Returns the Icon associated with the component viewReturns an icon that represents this Navigatableboolean
Returns true if this Navigatable is "connected".boolean
Returns true if this navigatable is no longer validvoid
readDataState
(SaveState saveState) void
Removes a listener to be notified if this Navigatable is terminated.protected void
setConnected
(boolean newValue) boolean
Currently only the 'connected' windows support markersvoid
writeDataState
(SaveState saveState) Methods inherited from class ghidra.framework.plugintool.ComponentProviderAdapter
getTool
Methods inherited from class docking.ComponentProvider
addLocalAction, addToTool, addToToolbar, adjustFontSize, canBeParent, closeComponent, componentActivated, componentDeactived, componentHidden, componentShown, contextChanged, createContext, createContext, createContext, getActionContext, getBaseIcon, getComponent, getContextType, getDefaultWindowPosition, getHelpInfo, getHelpLocation, getHelpObject, getInstanceID, getIntraGroupPosition, getLocalActions, getMappedName, getMappedOwner, getName, getOwner, getSubTitle, getTabText, getTitle, getWindowGroup, getWindowSubMenuName, initializeInstanceID, isActive, isFocusedProvider, isInTool, isSnapshot, isTransient, isVisible, registerAdjustableFontId, registerProviderNameOwnerChange, removeAllLocalActions, removeFromTool, removeLocalAction, requestFocus, resetFontSize, setCustomSubTitle, setCustomTabText, setCustomTitle, setDefaultFocusComponent, setDefaultWindowPosition, setHelpLocation, setIcon, setIntraGroupPosition, setKeyBinding, setSubTitle, setTabText, setTitle, setTransient, setVisible, setWindowGroup, setWindowMenuGroup, toFront, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ghidra.app.nav.Navigatable
getByteSource, getHighlight, getInstanceID, getLocation, getMemento, getProgram, getSelection, getTextSelection, goTo, isDynamic, isVisible, removeHighlightProvider, requestFocus, setHighlight, setHighlightProvider, setMemento, setSelection, supportsHighlight
-
Constructor Details
-
NavigatableComponentProviderAdapter
public NavigatableComponentProviderAdapter(PluginTool tool, String name, String owner, Class<?> contextType)
-
-
Method Details
-
getIcon
Description copied from class:ComponentProvider
Returns the Icon associated with the component view- Overrides:
getIcon
in classComponentProvider
- Returns:
- the Icon associated with the component view
-
isConnected
public boolean isConnected()Description copied from interface:Navigatable
Returns true if this Navigatable is "connected". Navigatables are connected if they produce and consume location and selection events.- Specified by:
isConnected
in interfaceNavigatable
- Returns:
- true if this Navigatable is "connected"
-
supportsMarkers
public boolean supportsMarkers()Description copied from interface:Navigatable
Currently only the 'connected' windows support markers- Specified by:
supportsMarkers
in interfaceNavigatable
- Returns:
- true if this navigatable supports markers
-
setConnected
protected void setConnected(boolean newValue) -
isDisposed
public boolean isDisposed()Description copied from interface:Navigatable
Returns true if this navigatable is no longer valid- Specified by:
isDisposed
in interfaceNavigatable
- Returns:
- true if this navigatable is no longer valid
-
dispose
public void dispose() -
readDataState
-
writeDataState
-