Interface for aXLang listener. More...
Public Member Functions | |
void | elementAdded (IAXLangElement owner, ReferenceKind referenceKind, Role role, IAXLangElement addedElement) |
reacts on addition of an element | |
void | elementChanged (IAXLangElement owner, AXLangAttribute changedAttribute, String newValue, String oldValue) |
reacts on changes of an attribute of an element | |
void | elementChanged (IAXLangElement axlElement, Object event, boolean added, Role theRole) |
Reacts on changes of an element. | |
void | elementDeleted (IAXLangElement axlElement) |
reaction to the notification that an element has been deleted | |
void | elementMoved (IAXLangElement axlMove, IAXLangElement axlFrom, IAXLangElement axlTo) |
Reaction if the move element was moved from one context to another. | |
void | elementRemoved (IAXLangElement owner, ReferenceKind referenceKind, Role role, IAXLangElement removedElement) |
reacts on removal of a link to an element | |
void | elementReplaced (IAXLangElement theReplaced, IAXLangElement theReplacement) |
reaction to the notification that an element has been replaced |
Interface for aXLang listener.
The listener can react to the following events:
void de.fraunhofer.isst.axbench.axlang.api.IAXLangListener.elementAdded | ( | IAXLangElement | owner, | |
ReferenceKind | referenceKind, | |||
Role | role, | |||
IAXLangElement | addedElement | |||
) |
reacts on addition of an element
owner | the element to which the new element has been added | |
referenceKind | the reference kind in which the new element has been added: ReferenceKind:CHILD or ReferenceKind.REFERENCE | |
role | the role in which the new element has been added | |
addedElement | the added element |
Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangListener, and de.fraunhofer.isst.axbench.eastadlinterface.util.BasicListener.
void de.fraunhofer.isst.axbench.axlang.api.IAXLangListener.elementChanged | ( | IAXLangElement | owner, | |
AXLangAttribute | changedAttribute, | |||
String | newValue, | |||
String | oldValue | |||
) |
reacts on changes of an attribute of an element
owner | the element whose attribute value has changed | |
changedAttribute | the attribute whose value has changed | |
newValue | the new value of the attribute | |
oldValue | the old value of the attribute |
Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangListener, and de.fraunhofer.isst.axbench.eastadlinterface.util.BasicListener.
void de.fraunhofer.isst.axbench.axlang.api.IAXLangListener.elementChanged | ( | IAXLangElement | axlElement, | |
Object | event, | |||
boolean | added, | |||
Role | theRole | |||
) |
Reacts on changes of an element.
axlElement | changed element |
Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangListener, and de.fraunhofer.isst.axbench.eastadlinterface.util.BasicListener.
void de.fraunhofer.isst.axbench.axlang.api.IAXLangListener.elementDeleted | ( | IAXLangElement | axlElement | ) |
reaction to the notification that an element has been deleted
deletedElement | the element that sent the notification that it has been deleted |
Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangListener, and de.fraunhofer.isst.axbench.eastadlinterface.util.BasicListener.
void de.fraunhofer.isst.axbench.axlang.api.IAXLangListener.elementMoved | ( | IAXLangElement | axlMove, | |
IAXLangElement | axlFrom, | |||
IAXLangElement | axlTo | |||
) |
Reaction if the move element was moved from one context to another.
axlMove | the moved element | |
axlFrom | the element, the move element was moved from | |
axlTo | the element, the move element was moved to |
Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangListener, and de.fraunhofer.isst.axbench.eastadlinterface.util.BasicListener.
void de.fraunhofer.isst.axbench.axlang.api.IAXLangListener.elementRemoved | ( | IAXLangElement | owner, | |
ReferenceKind | referenceKind, | |||
Role | role, | |||
IAXLangElement | removedElement | |||
) |
reacts on removal of a link to an element
owner | the element from which the old element has been removed | |
referenceKind | the reference kind in which the element has been removed: ReferenceKind:CHILD or ReferenceKind.REFERENCE | |
role | the role in which the element has been removed | |
removedElement | the removed element |
Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangListener, and de.fraunhofer.isst.axbench.eastadlinterface.util.BasicListener.
void de.fraunhofer.isst.axbench.axlang.api.IAXLangListener.elementReplaced | ( | IAXLangElement | theReplaced, | |
IAXLangElement | theReplacement | |||
) |
reaction to the notification that an element has been replaced
theReplaced | the element that sent the notification that it has been replaced | |
theReplacement | the element that replaces the above element |
Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangListener, and de.fraunhofer.isst.axbench.eastadlinterface.util.BasicListener.