public abstract class NamedConfigurable<T> extends java.lang.Object implements Configurable
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependenciesAPPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE| Modifier | Constructor and Description |
|---|---|
protected |
NamedConfigurable() |
protected |
NamedConfigurable(boolean isNameEditable,
java.lang.Runnable updateTree) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkName(java.lang.String name) |
javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
abstract javax.swing.JComponent |
createOptionsPanel() |
protected javax.swing.JComponent |
createTopRightComponent() |
abstract java.lang.String |
getBannerSlogan() |
abstract T |
getEditableObject() |
javax.swing.Icon |
getIcon(boolean expanded) |
boolean |
isNameEditable() |
protected void |
resetOptionsPanel() |
abstract void |
setDisplayName(java.lang.String name) |
void |
setNameFieldShown(boolean shown) |
java.lang.String |
toString() |
void |
updateName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDisplayName, getHelpTopic, getPreferredFocusedComponent, isModified, isModified, isModified, isModifiedapply, cancel, disposeUIResources, isModified, resetprotected NamedConfigurable()
protected NamedConfigurable(boolean isNameEditable,
java.lang.Runnable updateTree)
public boolean isNameEditable()
public void setNameFieldShown(boolean shown)
public abstract void setDisplayName(java.lang.String name)
public abstract T getEditableObject()
public abstract java.lang.String getBannerSlogan()
public final javax.swing.JComponent createComponent()
UnnamedConfigurableAlso this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent in interface UnnamedConfigurablenull if it cannot be createdUnnamedConfigurable.disposeUIResources()protected void checkName(java.lang.String name)
throws ConfigurationException
ConfigurationExceptionprotected javax.swing.JComponent createTopRightComponent()
protected void resetOptionsPanel()
public void updateName()
public abstract javax.swing.JComponent createOptionsPanel()
public javax.swing.Icon getIcon(boolean expanded)
public java.lang.String toString()
toString in class java.lang.Object