public abstract class FacetEditorTab extends java.lang.Object implements Configurable
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
FacetEditorTab() |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
abstract javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
javax.swing.JComponent |
getPreferredFocusedComponent() |
void |
onFacetInitialized(Facet facet)
Called after user press "OK" or "Apply" in the Project Settings dialog.
|
void |
onTabEntering() |
void |
onTabLeaving() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getHelpTopic, isModified, isModified, isModified, isModified
cancel, disposeUIResources, isModified, reset
public abstract javax.swing.JComponent createComponent()
UnnamedConfigurable
Also this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent
in interface UnnamedConfigurable
null
if it cannot be createdUnnamedConfigurable.disposeUIResources()
public void apply() throws ConfigurationException
UnnamedConfigurable
apply
in interface UnnamedConfigurable
ConfigurationException
- if values cannot be appliedpublic void onTabEntering()
public void onTabLeaving()
public javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent
in interface Configurable
public void onFacetInitialized(Facet facet)
facet
- facet