public class ClasspathEditor extends ModuleElementsEditor implements ModuleRootListener
ModuleElementsEditor.ModuleElementsEditorListener
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Deprecated.
Use
getName() instead |
myComponent, myHistory, myProject
EMPTY
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
ClasspathEditor(ModuleConfigurationState state) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
void |
canApply() |
javax.swing.JComponent |
createComponentImpl() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
static java.lang.String |
getName() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
moduleStateChanged() |
void |
rootsChanged(ModuleRootEvent event) |
void |
saveData() |
void |
selectOrderEntry(OrderEntry entry) |
void |
setSdk(Sdk newJDK) |
addListener, createComponent, disposeUIResources, fireConfigurationChanged, getComponent, getModel, getState, moduleCompileOutputChanged, registerDisposable, setHistory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beforeRootsChange
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel, reset
@Deprecated public static final java.lang.String NAME
getName()
insteadpublic ClasspathEditor(ModuleConfigurationState state)
public boolean isModified()
UnnamedConfigurable
isModified
in interface UnnamedConfigurable
isModified
in class ModuleElementsEditor
true
if the settings were modified, false
otherwisepublic java.lang.String getHelpTopic()
Configurable
getHelpTopic
in interface Configurable
null
if no help is availablepublic java.lang.String getDisplayName()
Configurable
getDisplayName
in interface Configurable
public void saveData()
saveData
in interface ModuleConfigurationEditor
public void apply() throws ConfigurationException
UnnamedConfigurable
apply
in interface UnnamedConfigurable
apply
in class ModuleElementsEditor
ConfigurationException
- if values cannot be appliedpublic void canApply() throws ConfigurationException
canApply
in class ModuleElementsEditor
ConfigurationException
public javax.swing.JComponent createComponentImpl()
createComponentImpl
in class ModuleElementsEditor
public void selectOrderEntry(OrderEntry entry)
public void moduleStateChanged()
moduleStateChanged
in interface ModuleConfigurationEditor
public void rootsChanged(ModuleRootEvent event)
rootsChanged
in interface ModuleRootListener
public void setSdk(Sdk newJDK)
public static java.lang.String getName()