Salt  3.4.2
A powerful, tagset-independent and theory-neutral meta model and API for storing, manipulating, and representing nearly all types of linguistic data .
org.corpus_tools.salt.extensions.notification.Listener Interface Reference

An object implementing this interface can be registered in a Notifier object. More...

Classes

class  Event
 
enum  NOTIFICATION_TYPE
 An enumeration containing all possible types of a notification. More...
 

Public Member Functions

void notify (NOTIFICATION_TYPE type, GRAPH_ATTRIBUTES attribute, Object oldValue, Object newValue, Object container)
 A notification about any change in a Notifier object. More...
 

Detailed Description

An object implementing this interface can be registered in a Notifier object.

If this listener is added, it will be notified about all changes in the org.eclipse.emf.common.notify.Notifier object.

Author
florian

Class Documentation

◆ org::corpus_tools::salt::extensions::notification::Listener::NOTIFICATION_TYPE

enum org::corpus_tools::salt::extensions::notification::Listener::NOTIFICATION_TYPE

An enumeration containing all possible types of a notification.

Author
florian
Enumerator
ADD An object or value has been added.
REMOVE An object or value has been removed.
REMOVE_ALL All objects or values have been removed.
SET An object or value has been set.

Member Function Documentation

◆ notify()

void org.corpus_tools.salt.extensions.notification.Listener.notify ( NOTIFICATION_TYPE  type,
GRAPH_ATTRIBUTES  attribute,
Object  oldValue,
Object  newValue,
Object  container 
)

A notification about any change in a Notifier object.

Parameters
typetype of the notification.
attributedetermines the attribute type
oldValuethe value before the change
newValuethe value after the change
containerthe object, which contains the changed object