Package ghidra.framework.options
Interface OptionsEditor
- All Known Implementing Classes:
ListingDisplayOptionsEditor
,ScrollableOptionsEditor
,SpecExtensionEditor
public interface OptionsEditor
Interface to define methods for an editor that supplies its own
component to be displayed in the OptionsDialog.
-
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
reload()
A signal to reload the GUI widgets in the component created by this editor.void
Sets the options change listener
-
Method Details
-
apply
Apply the changes.- Throws:
InvalidInputException
-
cancel
void cancel()Cancel the changes. -
reload
void reload()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. -
setOptionsPropertyChangeListener
Sets the options change listener- Parameters:
listener
-
-
getEditorComponent
Get the editor component.- 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
void dispose()Dispose this editor
-