public interface DmtEventListener
DmtEvent
objects about important changes in the tree. Events are generated after every
successful DMT change, and also when sessions are opened or closed. If a
DmtSession
is opened in atomic mode, DMT events are only sent when
the session is committed, when the changes are actually performed.
Dmt Event Listener services must have permission DmtPermission.GET
for the nodes in the nodes
and newNodes
property in the Dmt
Event.
Modifier and Type | Field and Description |
---|---|
static String |
FILTER_EVENT
A number of event types packed in a bitmap.
|
static String |
FILTER_PRINCIPAL
A number of names of principals.
|
static String |
FILTER_SUBTREE
A number of sub-tree top nodes that define the scope of the Dmt Event
Listener.
|
Modifier and Type | Method and Description |
---|---|
void |
changeOccurred(DmtEvent event)
DmtAdmin uses this method to notify the registered listeners
about the change. |
static final String FILTER_SUBTREE
String+
.static final String FILTER_PRINCIPAL
Get
rights. The type of this service property is String+
.static final String FILTER_EVENT
Integer
.void changeOccurred(DmtEvent event)
DmtAdmin
uses this method to notify the registered listeners
about the change. This method is called asynchronously from the actual
event occurrence.event
- the DmtEvent
describing the change in detailCopyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0