public class ScopeConfigurable extends NamedConfigurable<NamedScope>
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
ScopeConfigurable(NamedScope scope,
boolean shareScope,
Project project,
java.lang.Runnable updateTree) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
void |
cancelCurrentProgress() |
javax.swing.JComponent |
createOptionsPanel() |
protected javax.swing.JComponent |
createTopRightComponent() |
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.
|
NamedScope |
getEditableObject() |
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
NamedScopesHolder |
getHolder() |
javax.swing.Icon |
getIcon(boolean expanded) |
NamedScope |
getScope() |
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 |
restoreCanceledProgress() |
void |
setDisplayName(java.lang.String name) |
checkName, createComponent, isNameEditable, resetOptionsPanel, setNameFieldShown, toString, updateName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel
public ScopeConfigurable(NamedScope scope, boolean shareScope, Project project, java.lang.Runnable updateTree)
public void setDisplayName(java.lang.String name)
setDisplayName
in class NamedConfigurable<NamedScope>
public NamedScope getEditableObject()
getEditableObject
in class NamedConfigurable<NamedScope>
public java.lang.String getBannerSlogan()
getBannerSlogan
in class NamedConfigurable<NamedScope>
public java.lang.String getDisplayName()
Configurable
public NamedScopesHolder getHolder()
public java.lang.String getHelpTopic()
Configurable
null
if no help is availableprotected javax.swing.JComponent createTopRightComponent()
createTopRightComponent
in class NamedConfigurable<NamedScope>
public javax.swing.JComponent createOptionsPanel()
createOptionsPanel
in class NamedConfigurable<NamedScope>
public boolean isModified()
UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic void apply() throws ConfigurationException
UnnamedConfigurable
ConfigurationException
- if values cannot be appliedpublic void reset()
UnnamedConfigurable
public void disposeUIResources()
UnnamedConfigurable
public void cancelCurrentProgress()
public NamedScope getScope()
public void restoreCanceledProgress()
public javax.swing.Icon getIcon(boolean expanded)
getIcon
in class NamedConfigurable<NamedScope>