|
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
org.eclipse.gmf.runtime.gef.ui.palette.customize.PaletteDrawerState
public class PaletteDrawerState
Used to store, rollback, and apply palette customizations of a palette drawer.
Constructor Summary | |
---|---|
PaletteDrawerState(PaletteDrawer drawer)
|
Method Summary | |
---|---|
void |
applyChangesFromMemento(IMemento entryMemento)
Applies the changes from the memento to the palette entry. |
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 org.eclipse.gmf.runtime.gef.ui.palette.customize.PaletteEntryState |
---|
getPaletteEntry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PaletteDrawerState(PaletteDrawer drawer)
Method Detail |
---|
public void storeState()
IPaletteState
storeState
in interface IPaletteState
storeState
in class PaletteEntryState
public void rollback()
IPaletteState
rollback
in interface IPaletteState
rollback
in class PaletteEntryState
public void storeChangesInMemento(IMemento memento)
IPaletteState
storeChangesInMemento
in interface IPaletteState
storeChangesInMemento
in class PaletteEntryState
memento
- the memento in which to store the palette entry's
customizationspublic void applyChangesFromMemento(IMemento entryMemento)
IPaletteState
applyChangesFromMemento
in interface IPaletteState
applyChangesFromMemento
in class PaletteEntryState
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.