| org.eclipse.ui.texteditor.IElementStateListener
IElementStateListener | public interface IElementStateListener (Code) | | Interface for parties interested in standardized element changes. These
changes are:
- dirty state changes
- content replacements
- moves
- deletions
The notifications sent to the element state listeners inform about those standardized,
abstract changes. The concrete change applied might differ from the one the listeners
are notified about, but should be interpreted as the one the listeners receive.
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:
See Also: org.eclipse.ui.texteditor.IElementStateListenerExtension |
elementContentAboutToBeReplaced | void elementContentAboutToBeReplaced(Object element)(Code) | | Notifies that the content of the given element is about to be replaced.
Parameters: element - the element |
elementContentReplaced | void elementContentReplaced(Object element)(Code) | | Notifies that the content of the given element has been replaced.
Parameters: element - the element |
elementDeleted | void elementDeleted(Object element)(Code) | | Notifies that the given element has been deleted.
Parameters: element - the element |
elementDirtyStateChanged | void elementDirtyStateChanged(Object element, boolean isDirty)(Code) | | Notifies that the dirty state of the given element has changed.
Parameters: element - the element Parameters: isDirty - the new dirty state |
elementMoved | void elementMoved(Object originalElement, Object movedElement)(Code) | | Notifies that the element has moved. If movedElement
is null it is similar to elementDeleted(originalElement) .
Parameters: originalElement - the element before the move Parameters: movedElement - the element after the move |
|
|