Class PropertyManagerPlugin
java.lang.Object
ghidra.framework.plugintool.Plugin
ghidra.app.plugin.ProgramPlugin
ghidra.app.plugin.debug.propertymanager.PropertyManagerPlugin
- All Implemented Interfaces:
DomainObjectListener,PluginEventListener,ServiceListener,ExtensionPoint,EventListener
PropertyManagerPlugin
-
Field Summary
Fields inherited from class ghidra.app.plugin.ProgramPlugin
currentHighlight, currentLocation, currentProgram, currentSelectionFields inherited from class ghidra.framework.plugintool.Plugin
name, pluginDescription, tool -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Tells a plugin that it is no longer needed.voidMethod called when a change is made to the domain object.protected voidinit()Initialization method; override to add initialization for this plugin.protected voidprogramActivated(Program program) Subclass should override this method if it is interested when programs become active.protected voidprogramDeactivated(Program program) Subclass should override this method if it is interested when programs become inactive.protected voidSubclass should override this method if it is interested in program selection events.Methods inherited from class ghidra.app.plugin.ProgramPlugin
getCurrentProgram, getProgramHighlight, getProgramLocation, getProgramSelection, goTo, goTo, highlightChanged, locationChanged, postProgramActivated, processEvent, programClosed, programOpened, setSelectionMethods inherited from class ghidra.framework.plugintool.Plugin
accept, acceptData, canClose, canCloseDomainObject, cleanup, close, dataStateRestoreCompleted, dependsUpon, deregisterService, equals, eventSent, firePluginEvent, getData, getMissingRequiredServices, getName, getPluginDescription, getServicesRequired, getSupportedDataTypes, getTool, getTransientState, getUndoRedoState, hashCode, hasMissingRequiredService, hasUnsaveData, internalRegisterEventConsumed, isDisposed, prepareToSave, readConfigState, readDataState, registerDynamicServiceProvided, registerServiceProvided, restoreTransientState, restoreUndoRedoState, saveData, serviceAdded, serviceRemoved, writeConfigState, writeDataState
-
Constructor Details
-
PropertyManagerPlugin
-
-
Method Details
-
init
protected void init()Description copied from class:PluginInitialization method; override to add initialization for this plugin. This is where a plugin should acquire its services. When this method is called, all plugins have been instantiated in the tool. -
domainObjectChanged
Description copied from interface:DomainObjectListenerMethod called when a change is made to the domain object.- Specified by:
domainObjectChangedin interfaceDomainObjectListener- Parameters:
ev- event containing the change record and type of change that was made
-
programActivated
Description copied from class:ProgramPluginSubclass should override this method if it is interested when programs become active. Note: this method is called in response to a ProgramActivatedPluginEvent.At the time this method is called, the "currentProgram" variable will be set the new active program.
- Overrides:
programActivatedin classProgramPlugin- Parameters:
program- the new program going active.
-
programDeactivated
Description copied from class:ProgramPluginSubclass should override this method if it is interested when programs become inactive. Note: this method is called in response to a ProgramActivatedPluginEvent and there is a currently active program. At the time this method is called, the "currentProgram" variable will be set the new active program or null if there is no new active program.- Overrides:
programDeactivatedin classProgramPlugin- Parameters:
program- the old program going inactive.
-
selectionChanged
Description copied from class:ProgramPluginSubclass should override this method if it is interested in program selection events.- Overrides:
selectionChangedin classProgramPlugin- Parameters:
sel- selection could be null
-
dispose
public void dispose()Description copied from class:PluginTells a plugin that it is no longer needed. The plugin should release any resources that it has. All actions, components, services will automatically be cleaned up.
-