public class InvalidFacetEditor extends FacetEditorTab
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
InvalidFacetEditor(FacetEditorContext context,
java.lang.String errorMessage) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
javax.swing.JCheckBox |
getIgnoreCheckBox() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
getPreferredFocusedComponent, onFacetInitialized, onTabEntering, onTabLeaving
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHelpTopic, isModified, isModified, isModified, isModified
cancel, disposeUIResources
public InvalidFacetEditor(FacetEditorContext context, java.lang.String errorMessage)
public java.lang.String getDisplayName()
Configurable
public javax.swing.JCheckBox getIgnoreCheckBox()
public javax.swing.JComponent createComponent()
UnnamedConfigurable
Also this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent
in interface UnnamedConfigurable
createComponent
in class FacetEditorTab
null
if it cannot be createdUnnamedConfigurable.disposeUIResources()
public boolean isModified()
UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic void reset()
UnnamedConfigurable
public void apply()
UnnamedConfigurable
apply
in interface UnnamedConfigurable
apply
in class FacetEditorTab