public class ModuleConfigurable extends ProjectStructureElementConfigurable<Module> implements Place.Navigator
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
ModuleConfigurable(ModulesConfigurator modulesConfigurator,
Module module,
java.lang.Runnable updateTree,
ModuleGrouper moduleGrouper) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
protected void |
checkName(java.lang.String name) |
javax.swing.JComponent |
createOptionsPanel() |
java.lang.String |
getBannerSlogan() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
Module |
getEditableObject() |
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) |
Module |
getModule() |
ModuleEditor |
getModuleEditor() |
ModuleGrouper |
getModuleGrouper() |
ProjectStructureElement |
getProjectStructureElement() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
ActionCallback |
navigateTo(Place place,
boolean requestFocus) |
void |
queryPlace(Place place) |
void |
setDisplayName(java.lang.String name) |
createComponent, createTopRightComponent, isNameEditable, resetOptionsPanel, setNameFieldShown, toString, updateName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setHistory
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel, disposeUIResources, reset
public ModuleConfigurable(ModulesConfigurator modulesConfigurator, Module module, java.lang.Runnable updateTree, ModuleGrouper moduleGrouper)
public void setDisplayName(java.lang.String name)
setDisplayName
in class NamedConfigurable<Module>
protected void checkName(java.lang.String name) throws ConfigurationException
checkName
in class NamedConfigurable<Module>
ConfigurationException
public ModuleGrouper getModuleGrouper()
public ProjectStructureElement getProjectStructureElement()
getProjectStructureElement
in class ProjectStructureElementConfigurable<Module>
public Module getEditableObject()
getEditableObject
in class NamedConfigurable<Module>
public java.lang.String getBannerSlogan()
getBannerSlogan
in class NamedConfigurable<Module>
public java.lang.String getDisplayName()
Configurable
getDisplayName
in interface Configurable
public javax.swing.Icon getIcon(boolean open)
getIcon
in class NamedConfigurable<Module>
public Module getModule()
public java.lang.String getHelpTopic()
Configurable
getHelpTopic
in interface Configurable
null
if no help is availablepublic javax.swing.JComponent createOptionsPanel()
createOptionsPanel
in class NamedConfigurable<Module>
public boolean isModified()
UnnamedConfigurable
isModified
in interface UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic void apply() throws ConfigurationException
UnnamedConfigurable
apply
in interface UnnamedConfigurable
ConfigurationException
- if values cannot be appliedpublic ModuleEditor getModuleEditor()
public ActionCallback navigateTo(Place place, boolean requestFocus)
navigateTo
in interface Place.Navigator
public void queryPlace(Place place)
queryPlace
in interface Place.Navigator