org.eclipse.emf.mint.util
Class JavaElementNotification
java.lang.Object
org.eclipse.emf.common.notify.NotificationWrapper
org.eclipse.emf.mint.util.JavaElementNotification
- All Implemented Interfaces:
- Notification, IJavaElementNotification
public class JavaElementNotification
- extends NotificationWrapper
- implements IJavaElementNotification
Default implementation of IJavaElementNotification
.
Clients may extend or instantiate this class.
Fields inherited from interface org.eclipse.emf.common.notify.Notification |
ADD, ADD_MANY, CREATE, EVENT_TYPE_COUNT, MOVE, NO_FEATURE_ID, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, RESOLVE, SET, UNSET |
Method Summary |
Object |
getElement()
Model element whose set of Java elements (potentially) changed. |
Methods inherited from class org.eclipse.emf.common.notify.NotificationWrapper |
getEventType, getFeature, getFeatureID, getNewBooleanValue, getNewByteValue, getNewCharValue, getNewDoubleValue, getNewFloatValue, getNewIntValue, getNewLongValue, getNewShortValue, getNewStringValue, getNewValue, getNotifier, getOldBooleanValue, getOldByteValue, getOldCharValue, getOldDoubleValue, getOldFloatValue, getOldIntValue, getOldLongValue, getOldShortValue, getOldStringValue, getOldValue, getPosition, isReset, isTouch, merge, wasSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.notify.Notification |
getEventType, getFeature, getFeatureID, getNewBooleanValue, getNewByteValue, getNewCharValue, getNewDoubleValue, getNewFloatValue, getNewIntValue, getNewLongValue, getNewShortValue, getNewStringValue, getNewValue, getNotifier, getOldBooleanValue, getOldByteValue, getOldCharValue, getOldDoubleValue, getOldFloatValue, getOldIntValue, getOldLongValue, getOldShortValue, getOldStringValue, getOldValue, getPosition, isReset, isTouch, merge, wasSet |
JavaElementNotification
public JavaElementNotification(Notification notification)
- Creates an instance wrapping the original Ecore notification and no model
element.
- Parameters:
notification
- Ecore notification to wrap
JavaElementNotification
public JavaElementNotification(Notification notification,
Object element)
- Creates an instance wrapping the original Ecore notification and a model
element whose corresponding Java elements (may) have changed.
- Parameters:
notification
- Ecore notification to wrapelement
- model element whose corresponding Java elements changed
getElement
public Object getElement()
- Description copied from interface:
IJavaElementNotification
- Model element whose set of Java elements (potentially) changed.
- Specified by:
getElement
in interface IJavaElementNotification
- Returns:
- model element whose Java elements changed