Package ghidra.app.plugin.gui
Class LookAndFeelPlugin
java.lang.Object
ghidra.framework.plugintool.Plugin
ghidra.app.plugin.gui.LookAndFeelPlugin
- All Implemented Interfaces:
ApplicationLevelOnlyPlugin
,ApplicationLevelPlugin
,OptionsChangeListener
,PluginEventListener
,ServiceListener
,ExtensionPoint
public class LookAndFeelPlugin
extends Plugin
implements ApplicationLevelOnlyPlugin, OptionsChangeListener
-
Field Summary
FieldsFields inherited from class ghidra.framework.plugintool.Plugin
name, pluginDescription, tool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Tells a plugin that it is no longer needed.void
optionsChanged
(ToolOptions options, String optionName, Object oldValue, Object newValue) Notification that an option changed.Methods inherited from class ghidra.framework.plugintool.Plugin
acceptData, canClose, canCloseDomainObject, cleanup, close, dataStateRestoreCompleted, dependsUpon, deregisterService, equals, eventSent, firePluginEvent, getData, getMissingRequiredServices, getName, getPluginDescription, getServicesRequired, getSupportedDataTypes, getTool, getTransientState, getUndoRedoState, hashCode, hasMissingRequiredService, hasUnsaveData, init, internalRegisterEventConsumed, isDisposed, prepareToSave, processEvent, readConfigState, readDataState, registerDynamicServiceProvided, registerServiceProvided, restoreTransientState, restoreUndoRedoState, saveData, serviceAdded, serviceRemoved, writeConfigState, writeDataState
-
Field Details
-
LOOK_AND_FEEL_NAME
- See Also:
-
-
Constructor Details
-
LookAndFeelPlugin
-
-
Method Details
-
optionsChanged
public void optionsChanged(ToolOptions options, String optionName, Object oldValue, Object newValue) Description copied from interface:OptionsChangeListener
Notification that an option changed.Note: to reject an options change, you can throw a
OptionsVetoException
.- Specified by:
optionsChanged
in interfaceOptionsChangeListener
- Parameters:
options
- options object containing the property that changedoptionName
- name of option that changedoldValue
- old value of the optionnewValue
- new value of the option
-
dispose
public void dispose()Description copied from class:Plugin
Tells 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.
-