|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.gef.ui.palette.customize.PaletteEntryState
public class PaletteEntryState
Used to store, rollback, and apply palette customizations of a palette entry.
Constructor Summary | |
---|---|
PaletteEntryState(PaletteEntry entry)
|
Method Summary | |
---|---|
void |
applyChangesFromMemento(IMemento entryMemento)
Applies the changes from the memento to the palette entry. |
protected PaletteEntry |
getPaletteEntry()
Gets the palette entry being acted on. |
void |
rollback()
Applies the changes from the stored state to the palette entry. |
void |
storeChangesInMemento(IMemento memento)
Stores changes from the existing palette entry from the stored state into the memento. |
void |
storeState()
Stores the current state of the palette entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PaletteEntryState(PaletteEntry entry)
Method Detail |
---|
protected PaletteEntry getPaletteEntry()
public void storeState()
IPaletteState
storeState
in interface IPaletteState
public void rollback()
IPaletteState
rollback
in interface IPaletteState
public void storeChangesInMemento(IMemento memento)
IPaletteState
storeChangesInMemento
in interface IPaletteState
memento
- the memento in which to store the palette entry's
customizationspublic void applyChangesFromMemento(IMemento entryMemento)
IPaletteState
applyChangesFromMemento
in interface IPaletteState
entryMemento
- the memento from which to retrieve the palette entry's
customizations
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.