|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IElementStateListener
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(java.lang.Object element)
Notifies that the content of the given element is about to be replaced. |
void |
elementContentReplaced(java.lang.Object element)
Notifies that the content of the given element has been replaced. |
void |
elementDeleted(java.lang.Object element)
Notifies that the given element has been deleted. |
void |
elementDirtyStateChanged(java.lang.Object element,
boolean isDirty)
Notifies that the dirty state of the given element has changed. |
void |
elementMoved(java.lang.Object originalElement,
java.lang.Object movedElement)
Notifies that the element has moved. |
Method Detail |
---|
void elementDirtyStateChanged(java.lang.Object element, boolean isDirty)
element
- the elementisDirty
- the new dirty statevoid elementContentAboutToBeReplaced(java.lang.Object element)
element
- the elementvoid elementContentReplaced(java.lang.Object element)
element
- the elementvoid elementDeleted(java.lang.Object element)
element
- the elementvoid elementMoved(java.lang.Object originalElement, java.lang.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.2 |
|||||||||
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, 2006. All rights reserved.