public class CommonContentEntriesEditor extends ModuleElementsEditor
ModuleElementsEditor.ModuleElementsEditorListener
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JPanel |
myEditorsPanel |
protected java.util.Map<java.lang.String,ContentEntryEditor> |
myEntryToEditorMap |
protected ContentEntryTreeEditor |
myRootTreeEditor |
static java.lang.String |
NAME
Deprecated.
Use
getName() instead |
myComponent, myHistory, myProject
EMPTY
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
CommonContentEntriesEditor(java.lang.String moduleName,
ModuleConfigurationState state,
boolean withBorders,
JpsModuleSourceRootType<?>... rootTypes) |
CommonContentEntriesEditor(java.lang.String moduleName,
ModuleConfigurationState state,
JpsModuleSourceRootType<?>... rootTypes) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAdditionalSettingsToPanel(javax.swing.JPanel mainPanel) |
protected java.util.List<ContentEntry> |
addContentEntries(VirtualFile[] files) |
protected void |
addContentEntryPanel(java.lang.String contentEntry) |
protected void |
addContentEntryPanels(ContentEntry[] contentEntriesArray) |
protected javax.swing.JPanel |
createBottomControl(Module module) |
javax.swing.JPanel |
createComponentImpl() |
protected ContentEntryEditor |
createContentEntryEditor(java.lang.String contentEntryUrl) |
protected ContentEntryTreeEditor |
createContentEntryTreeEditor(Project project) |
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
protected java.util.List<ModuleSourceRootEditHandler<?>> |
getEditHandlers() |
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
protected ModifiableRootModel |
getModel() |
protected Module |
getModule() |
static java.lang.String |
getName() |
void |
moduleStateChanged() |
addListener, apply, canApply, createComponent, fireConfigurationChanged, getComponent, getState, isModified, moduleCompileOutputChanged, registerDisposable, setHistory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
saveData
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel, reset
@Deprecated public static final java.lang.String NAME
getName()
insteadprotected ContentEntryTreeEditor myRootTreeEditor
protected javax.swing.JPanel myEditorsPanel
protected final java.util.Map<java.lang.String,ContentEntryEditor> myEntryToEditorMap
public CommonContentEntriesEditor(java.lang.String moduleName, ModuleConfigurationState state, boolean withBorders, JpsModuleSourceRootType<?>... rootTypes)
public CommonContentEntriesEditor(java.lang.String moduleName, ModuleConfigurationState state, JpsModuleSourceRootType<?>... rootTypes)
protected ModifiableRootModel getModel()
getModel
in class ModuleElementsEditor
public java.lang.String getHelpTopic()
Configurable
null
if no help is availablepublic java.lang.String getDisplayName()
Configurable
protected final java.util.List<ModuleSourceRootEditHandler<?>> getEditHandlers()
public void disposeUIResources()
UnnamedConfigurable
disposeUIResources
in interface UnnamedConfigurable
disposeUIResources
in class ModuleElementsEditor
public javax.swing.JPanel createComponentImpl()
createComponentImpl
in class ModuleElementsEditor
protected javax.swing.JPanel createBottomControl(Module module)
protected ContentEntryTreeEditor createContentEntryTreeEditor(Project project)
protected void addAdditionalSettingsToPanel(javax.swing.JPanel mainPanel)
protected Module getModule()
protected void addContentEntryPanel(java.lang.String contentEntry)
protected ContentEntryEditor createContentEntryEditor(java.lang.String contentEntryUrl)
public void moduleStateChanged()
protected java.util.List<ContentEntry> addContentEntries(VirtualFile[] files)
protected void addContentEntryPanels(ContentEntry[] contentEntriesArray)
public static java.lang.String getName()