public class LibraryConfigurable extends ProjectStructureElementConfigurable<Library>
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Modifier | Constructor and Description |
---|---|
protected |
LibraryConfigurable(StructureLibraryTableModifiableModelProvider modelProvider,
Library library,
StructureConfigurableContext context,
java.lang.Runnable updateTree) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
javax.swing.JComponent |
createOptionsPanel() |
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
java.lang.String |
getBannerSlogan() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
Library |
getEditableObject() |
javax.swing.Icon |
getIcon(boolean open) |
protected LibraryEditor |
getLibraryEditor() |
ProjectStructureElement |
getProjectStructureElement() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
onSelected() |
void |
onUnselected() |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
void |
setDisplayName(java.lang.String name) |
void |
updateComponent() |
void |
updateName() |
checkName, createComponent, createTopRightComponent, isNameEditable, resetOptionsPanel, setNameFieldShown, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHelpTopic, getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel
protected LibraryConfigurable(StructureLibraryTableModifiableModelProvider modelProvider, Library library, StructureConfigurableContext context, java.lang.Runnable updateTree)
public javax.swing.JComponent createOptionsPanel()
createOptionsPanel
in class NamedConfigurable<Library>
public boolean isModified()
UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic ProjectStructureElement getProjectStructureElement()
getProjectStructureElement
in class ProjectStructureElementConfigurable<Library>
public void apply()
UnnamedConfigurable
public void reset()
UnnamedConfigurable
public void disposeUIResources()
UnnamedConfigurable
public void setDisplayName(java.lang.String name)
setDisplayName
in class NamedConfigurable<Library>
protected LibraryEditor getLibraryEditor()
public void updateName()
updateName
in class NamedConfigurable<Library>
public Library getEditableObject()
getEditableObject
in class NamedConfigurable<Library>
public java.lang.String getBannerSlogan()
getBannerSlogan
in class NamedConfigurable<Library>
public java.lang.String getDisplayName()
Configurable
public void onSelected()
public void onUnselected()
public javax.swing.Icon getIcon(boolean open)
getIcon
in class NamedConfigurable<Library>
public void updateComponent()