Class SpecExtensionEditor
java.lang.Object
ghidra.app.plugin.processors.sleigh.SpecExtensionEditor
- All Implemented Interfaces:
OptionsEditor
,PropertyChangeListener
,EventListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply()
Apply the changes.void
cancel()
Cancel the changes.void
dispose()
Dispose this editorgetEditorComponent
(Options options, EditorStateFactory editorStateFactory) Get the editor component.void
void
reload()
A signal to reload the GUI widgets in the component created by this editor.void
Sets the options change listener
-
Constructor Details
-
SpecExtensionEditor
-
-
Method Details
-
apply
Description copied from interface:OptionsEditor
Apply the changes.- Specified by:
apply
in interfaceOptionsEditor
- Throws:
InvalidInputException
-
cancel
public void cancel()Description copied from interface:OptionsEditor
Cancel the changes.- Specified by:
cancel
in interfaceOptionsEditor
-
reload
public void reload()Description copied from interface:OptionsEditor
A signal to reload the GUI widgets in the component created by this editor. This will happen when the options change out from under the editor, such as when the user restores the default options values.- Specified by:
reload
in interfaceOptionsEditor
-
setOptionsPropertyChangeListener
Description copied from interface:OptionsEditor
Sets the options change listener- Specified by:
setOptionsPropertyChangeListener
in interfaceOptionsEditor
- Parameters:
listener
-
-
getEditorComponent
Description copied from interface:OptionsEditor
Get the editor component.- Specified by:
getEditorComponent
in interfaceOptionsEditor
- Parameters:
options
- The editable options that for which a GUI component will be creatededitorStateFactory
- The factory that will provide state objects this options editor
-
dispose
public void dispose()Description copied from interface:OptionsEditor
Dispose this editor- Specified by:
dispose
in interfaceOptionsEditor
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-