Class SpecExtensionEditor
- java.lang.Object
-
- ghidra.app.plugin.processors.sleigh.SpecExtensionEditor
-
- All Implemented Interfaces:
OptionsEditor,java.beans.PropertyChangeListener,java.util.EventListener
public class SpecExtensionEditor extends java.lang.Object implements OptionsEditor, java.beans.PropertyChangeListener
-
-
Constructor Summary
Constructors Constructor Description SpecExtensionEditor(ProgramDB program)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply()Apply the changes.voidcancel()Cancel the changes.voiddispose()Dispose this editorjavax.swing.JComponentgetEditorComponent(Options options, EditorStateFactory editorStateFactory)Get the editor component.voidpropertyChange(java.beans.PropertyChangeEvent evt)voidreload()A signal to reload the GUI widgets in the component created by this editor.voidsetOptionsPropertyChangeListener(java.beans.PropertyChangeListener listener)Sets the options change listener
-
-
-
Constructor Detail
-
SpecExtensionEditor
public SpecExtensionEditor(ProgramDB program)
-
-
Method Detail
-
apply
public void apply() throws InvalidInputExceptionDescription copied from interface:OptionsEditorApply the changes.- Specified by:
applyin interfaceOptionsEditor- Throws:
InvalidInputException
-
cancel
public void cancel()
Description copied from interface:OptionsEditorCancel the changes.- Specified by:
cancelin interfaceOptionsEditor
-
reload
public void reload()
Description copied from interface:OptionsEditorA 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:
reloadin interfaceOptionsEditor
-
setOptionsPropertyChangeListener
public void setOptionsPropertyChangeListener(java.beans.PropertyChangeListener listener)
Description copied from interface:OptionsEditorSets the options change listener- Specified by:
setOptionsPropertyChangeListenerin interfaceOptionsEditor
-
getEditorComponent
public javax.swing.JComponent getEditorComponent(Options options, EditorStateFactory editorStateFactory)
Description copied from interface:OptionsEditorGet the editor component.- Specified by:
getEditorComponentin 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:OptionsEditorDispose this editor- Specified by:
disposein interfaceOptionsEditor
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
-