public class ArtifactEditorSettings extends java.lang.Object implements PersistentStateComponent<ArtifactEditorSettings.ArtifactEditorSettingsState>
| Modifier and Type | Class and Description |
|---|---|
static class |
ArtifactEditorSettings.ArtifactEditorSettingsState |
| Constructor and Description |
|---|
ArtifactEditorSettings() |
ArtifactEditorSettings(boolean sortElements,
java.util.Collection<? extends ComplexPackagingElementType<?>> typesToShowContent) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactEditorSettings.ArtifactEditorSettingsState |
getState() |
java.util.List<ComplexPackagingElementType<?>> |
getTypesToShowContent() |
boolean |
isSortElements() |
void |
loadState(ArtifactEditorSettings.ArtifactEditorSettingsState state)
This method is called when new component state is loaded.
|
void |
setSortElements(boolean sortElements) |
void |
setTypesToShowContent(java.util.Collection<? extends ComplexPackagingElementType<?>> typesToShowContent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic ArtifactEditorSettings()
public ArtifactEditorSettings(boolean sortElements,
java.util.Collection<? extends ComplexPackagingElementType<?>> typesToShowContent)
public ArtifactEditorSettings.ArtifactEditorSettingsState getState()
getState in interface PersistentStateComponent<ArtifactEditorSettings.ArtifactEditorSettingsState>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic void loadState(ArtifactEditorSettings.ArtifactEditorSettingsState state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<ArtifactEditorSettings.ArtifactEditorSettingsState>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)public boolean isSortElements()
public java.util.List<ComplexPackagingElementType<?>> getTypesToShowContent()
public void setSortElements(boolean sortElements)
public void setTypesToShowContent(java.util.Collection<? extends ComplexPackagingElementType<?>> typesToShowContent)