public class LineMarkerSettingsImpl extends LineMarkerSettings implements PersistentStateComponent<LineMarkerSettingsImpl>
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Boolean> |
providers |
Constructor and Description |
---|
LineMarkerSettingsImpl() |
Modifier and Type | Method and Description |
---|---|
LineMarkerSettingsImpl |
getState() |
boolean |
isEnabled(GutterIconDescriptor descriptor) |
void |
loadState(LineMarkerSettingsImpl state)
This method is called when new component state is loaded.
|
void |
resetEnabled(GutterIconDescriptor descriptor) |
void |
setEnabled(GutterIconDescriptor descriptor,
boolean selected) |
getSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public boolean isEnabled(GutterIconDescriptor descriptor)
isEnabled
in class LineMarkerSettings
public void setEnabled(GutterIconDescriptor descriptor, boolean selected)
setEnabled
in class LineMarkerSettings
public void resetEnabled(GutterIconDescriptor descriptor)
public LineMarkerSettingsImpl getState()
getState
in interface PersistentStateComponent<LineMarkerSettingsImpl>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(LineMarkerSettingsImpl state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<LineMarkerSettingsImpl>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)