public class ProjectConfigurable extends ProjectStructureElementConfigurable<Project> implements DetailsComponent.Facade
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
ProjectConfigurable(Project project,
StructureConfigurableContext context,
ModulesConfigurator configurator,
ProjectSdksModel model) |
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 |
getCompilerOutputUrl() |
DetailsComponent |
getDetailsComponent() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
Project |
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) |
java.lang.String |
getProjectName() |
ProjectStructureElement |
getProjectStructureElement() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
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
public ProjectConfigurable(Project project, StructureConfigurableContext context, ModulesConfigurator configurator, ProjectSdksModel model)
public ProjectStructureElement getProjectStructureElement()
getProjectStructureElement
in class ProjectStructureElementConfigurable<Project>
public DetailsComponent getDetailsComponent()
getDetailsComponent
in interface DetailsComponent.Facade
public javax.swing.JComponent createOptionsPanel()
createOptionsPanel
in class NamedConfigurable<Project>
public void disposeUIResources()
UnnamedConfigurable
disposeUIResources
in interface UnnamedConfigurable
public void reset()
UnnamedConfigurable
reset
in interface UnnamedConfigurable
public void apply() throws ConfigurationException
UnnamedConfigurable
apply
in interface UnnamedConfigurable
ConfigurationException
- if values cannot be appliedpublic void setDisplayName(java.lang.String name)
setDisplayName
in class NamedConfigurable<Project>
public Project getEditableObject()
getEditableObject
in class NamedConfigurable<Project>
public java.lang.String getBannerSlogan()
getBannerSlogan
in class NamedConfigurable<Project>
public java.lang.String getDisplayName()
Configurable
getDisplayName
in interface Configurable
public javax.swing.Icon getIcon(boolean open)
getIcon
in class NamedConfigurable<Project>
public java.lang.String getHelpTopic()
Configurable
getHelpTopic
in interface Configurable
null
if no help is availablepublic boolean isModified()
UnnamedConfigurable
isModified
in interface UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic java.lang.String getProjectName()
public java.lang.String getCompilerOutputUrl()