public class ArtifactConfigurable extends ArtifactConfigurableBase
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
myArtifactsStructureContext, myOriginalArtifact
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
ArtifactConfigurable(Artifact originalArtifact,
ArtifactsStructureConfigurableContextImpl artifactsStructureContext,
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() |
protected javax.swing.JComponent |
createTopRightComponent() |
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
setDisplayName(java.lang.String name) |
void |
updateName() |
getArtifact, getBannerSlogan, getDisplayName, getEditableObject, getIcon, getProjectStructureElement
checkName, createComponent, isNameEditable, resetOptionsPanel, setNameFieldShown, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel, disposeUIResources, reset
public ArtifactConfigurable(Artifact originalArtifact, ArtifactsStructureConfigurableContextImpl artifactsStructureContext, java.lang.Runnable updateTree)
public void setDisplayName(java.lang.String name)
setDisplayName
in class NamedConfigurable<Artifact>
public void updateName()
updateName
in class NamedConfigurable<Artifact>
public javax.swing.JComponent createOptionsPanel()
createOptionsPanel
in class NamedConfigurable<Artifact>
protected javax.swing.JComponent createTopRightComponent()
createTopRightComponent
in class NamedConfigurable<Artifact>
public boolean isModified()
UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic void apply() throws ConfigurationException
UnnamedConfigurable
ConfigurationException
- if values cannot be appliedpublic java.lang.String getHelpTopic()
Configurable
null
if no help is available