public abstract class LibraryPropertiesEditorBase<P extends LibraryProperties,T extends LibraryType<P>> extends LibraryPropertiesEditor
| Modifier and Type | Field and Description |
|---|---|
protected LibraryEditorComponent<P> |
myEditorComponent |
protected T |
myLibraryType |
| Modifier | Constructor and Description |
|---|---|
protected |
LibraryPropertiesEditorBase(LibraryEditorComponent<P> editorComponent,
T libraryType,
java.lang.String editButtonText) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
protected abstract void |
edit() |
protected javax.swing.JPanel |
getMainPanel() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
protected void |
setModified() |
protected void |
updateDescription() |
applyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, disposeUIResourcesprotected final LibraryEditorComponent<P extends LibraryProperties> myEditorComponent
protected final T extends LibraryType<P> myLibraryType
protected LibraryPropertiesEditorBase(LibraryEditorComponent<P> editorComponent, T libraryType, java.lang.String editButtonText)
protected javax.swing.JPanel getMainPanel()
protected void updateDescription()
protected abstract void edit()
protected void setModified()
public javax.swing.JComponent createComponent()
UnnamedConfigurableAlso this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent in interface UnnamedConfigurablecreateComponent in class LibraryPropertiesEditornull if it cannot be createdUnnamedConfigurable.disposeUIResources()public boolean isModified()
UnnamedConfigurabletrue if the settings were modified, false otherwisepublic void reset()
UnnamedConfigurable