public class FacetConfigurable extends ProjectStructureElementConfigurable<Facet>
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
FacetConfigurable(Facet facet,
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() |
java.lang.String |
getBannerSlogan() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
Facet |
getEditableObject() |
FacetEditorImpl |
getEditor() |
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
javax.swing.Icon |
getIcon(boolean open) |
ProjectStructureElement |
getProjectStructureElement() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
setDisplayName(java.lang.String name) |
checkName, createComponent, createTopRightComponent, isNameEditable, resetOptionsPanel, setNameFieldShown, toString, updateName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel, disposeUIResources, reset
public FacetConfigurable(Facet facet, StructureConfigurableContext context, java.lang.Runnable updateTree)
public void setDisplayName(java.lang.String name)
setDisplayName
in class NamedConfigurable<Facet>
public ProjectStructureElement getProjectStructureElement()
getProjectStructureElement
in class ProjectStructureElementConfigurable<Facet>
public Facet getEditableObject()
getEditableObject
in class NamedConfigurable<Facet>
public java.lang.String getBannerSlogan()
getBannerSlogan
in class NamedConfigurable<Facet>
public javax.swing.JComponent createOptionsPanel()
createOptionsPanel
in class NamedConfigurable<Facet>
public FacetEditorImpl getEditor()
public java.lang.String getDisplayName()
Configurable
public javax.swing.Icon getIcon(boolean open)
getIcon
in class NamedConfigurable<Facet>
public java.lang.String getHelpTopic()
Configurable
null
if no help is availablepublic boolean isModified()
UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic void apply() throws ConfigurationException
UnnamedConfigurable
ConfigurationException
- if values cannot be applied