public class FacetEditorImpl extends UnnamedConfigurableGroup implements UnnamedConfigurable, FacetEditor
| Constructor and Description |
|---|
FacetEditorImpl(FacetEditorContext context,
FacetConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
javax.swing.JComponent |
getComponent() |
FacetEditorContext |
getContext() |
<T extends FacetEditorTab> |
getEditorTab(java.lang.Class<T> aClass) |
FacetEditorTab[] |
getEditorTabs() |
java.lang.String |
getHelpTopic() |
void |
onFacetAdded(Facet facet) |
void |
onFacetSelected() |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
void |
setSelectedTabName(java.lang.String tabName) |
add, apply, isModifiedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, cancel, isModifiedpublic FacetEditorImpl(FacetEditorContext context, FacetConfiguration configuration)
public void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablereset in class UnnamedConfigurableGrouppublic javax.swing.JComponent getComponent()
public javax.swing.JComponent createComponent()
UnnamedConfigurableAlso this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent in interface UnnamedConfigurablecreateComponent in class UnnamedConfigurableGroupnull if it cannot be createdUnnamedConfigurable.disposeUIResources()public void disposeUIResources()
UnnamedConfigurabledisposeUIResources in interface UnnamedConfigurabledisposeUIResources in class UnnamedConfigurableGrouppublic java.lang.String getHelpTopic()
public void onFacetAdded(Facet facet)
public void setSelectedTabName(java.lang.String tabName)
public FacetEditorContext getContext()
public void onFacetSelected()
public FacetEditorTab[] getEditorTabs()
getEditorTabs in interface FacetEditorpublic <T extends FacetEditorTab> T getEditorTab(java.lang.Class<T> aClass)
getEditorTab in interface FacetEditor