|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface describes the methods that have to be implemented to
provide a manager for restoring the state of an AttributeEditor
after an AttributableOnSet has changed.
The implementation is responsible for mapping a specific
AttributableOnSet (which might be a
AttributableOnSetCollection) to a stored state
that usually includes properties like selection, expansion and scroll
position.
Implementations of this interface are used in AttributeTrees
and can be assigned by using AttributeTree.setAttributeEditorStateManager(AttributeEditorStateManager).
The callback method storeEditorState(AttributableOnSet) is called
before the AttributableOnSet instance assigned to the
editor is replaced by a different one and
restoreEditorState(AttributableOnSet) is called after it has been
replaced.
| Method Summary | |
void |
restoreEditorState(AttributableOnSet attributable)
Restores the state for the given AttributableOnSet when it
is assigned to the AttributeEditor. |
void |
storeEditorState(AttributableOnSet attributable)
Stores the state for the given AttributableOnSet when it is
removed from the AttributeEditor. |
| Method Detail |
public void storeEditorState(AttributableOnSet attributable)
AttributableOnSet when it is
removed from the AttributeEditor.
attributable - The item to store the state for, might be nullpublic void restoreEditorState(AttributableOnSet attributable)
AttributableOnSet when it
is assigned to the AttributeEditor.
attributable - The item to restore the state for, might be null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||