public class AbbreviationManagerImpl extends AbbreviationManager implements PersistentStateComponent<Element>
Constructor and Description |
---|
AbbreviationManagerImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
findActions(java.lang.String abbreviation) |
java.util.Set<java.lang.String> |
getAbbreviations() |
java.util.Set<java.lang.String> |
getAbbreviations(java.lang.String actionId) |
Element |
getState() |
void |
loadState(Element state)
This method is called when new component state is loaded.
|
void |
register(java.lang.String abbreviation,
java.lang.String actionId) |
void |
register(java.lang.String abbreviation,
java.lang.String actionId,
boolean fromPluginXml) |
void |
remove(java.lang.String abbreviation,
java.lang.String actionId) |
void |
removeAllAbbreviations(java.lang.String actionId) |
getInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public Element getState()
getState
in interface PersistentStateComponent<Element>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(Element state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<Element>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public java.util.Set<java.lang.String> getAbbreviations()
getAbbreviations
in class AbbreviationManager
public java.util.Set<java.lang.String> getAbbreviations(java.lang.String actionId)
getAbbreviations
in class AbbreviationManager
public java.util.List<java.lang.String> findActions(java.lang.String abbreviation)
findActions
in class AbbreviationManager
public void register(java.lang.String abbreviation, java.lang.String actionId, boolean fromPluginXml)
public void register(java.lang.String abbreviation, java.lang.String actionId)
register
in class AbbreviationManager
public void remove(java.lang.String abbreviation, java.lang.String actionId)
remove
in class AbbreviationManager
public void removeAllAbbreviations(java.lang.String actionId)
removeAllAbbreviations
in class AbbreviationManager