|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for parties interested in standardized element changes. These changes are:
In order to provided backward compatibility for clients of IElementStateListener
,
extension interfaces are used to provide a means of evolution. The following extension interface
exists:
IElementStateListenerExtension
since version 2.0 introducing
state validation events.
IElementStateListenerExtension
Method Summary | |
---|---|
void |
elementContentAboutToBeReplaced(Object element)
Notifies that the content of the given element is about to be replaced. |
void |
elementContentReplaced(Object element)
Notifies that the content of the given element has been replaced. |
void |
elementDeleted(Object element)
Notifies that the given element has been deleted. |
void |
elementDirtyStateChanged(Object element,
boolean isDirty)
Notifies that the dirty state of the given element has changed. |
void |
elementMoved(Object originalElement,
Object movedElement)
Notifies that the element has moved. |
Method Detail |
public void elementDirtyStateChanged(Object element, boolean isDirty)
element
- the elementisDirty
- the new dirty statepublic void elementContentAboutToBeReplaced(Object element)
element
- the elementpublic void elementContentReplaced(Object element)
element
- the elementpublic void elementDeleted(Object element)
element
- the elementpublic void elementMoved(Object originalElement, Object movedElement)
movedElement
is null
it is similar to elementDeleted(originalElement)
.
originalElement
- the element before the movemovedElement
- the element after the move
|
Eclipse Platform Release 3.1 |
|||||||||||
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. and others 2000, 2005. All rights reserved.