Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.view.spi.model
Class ModelChangeNotification

    java.lang.Object
      org.eclipse.emf.ecp.view.spi.model.ModelChangeNotification

    public class ModelChangeNotification

extends Object

The Class ModelChangeNotification. Such a notification is issued by the ViewModelContext when a change in the domain or the view model occurs.

Since:
  1.3
Author:
  Eugen Neufeld

Constructor Summary
`ModelChangeNotification(org.eclipse.emf.common.notify.Notification notification)` Instantiates a new model change notification.

Method Summary
`Collection<org.eclipse.emf.ecore.EObject>` | `getNewEObjects()` Returns the collection of new EObjects.
`org.eclipse.emf.ecore.EObject` | `getNotifier()` Gets the notifier.
`org.eclipse.emf.common.notify.Notification` | `getRawNotification()` Gets the raw notification.
`org.eclipse.emf.ecore.EStructuralFeature` | `getStructuralFeature()` Gets the structural feature.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ModelChangeNotification

    public ModelChangeNotification(org.eclipse.emf.common.notify.Notification notification)

  Instantiates a new model change notification.

  Parameters:
    `notification` - the `Notification`

Method Detail

### getStructuralFeature

    public org.eclipse.emf.ecore.EStructuralFeature getStructuralFeature()

  Gets the structural feature.

  Returns:
    the `EStructuralFeature` which value changed

### getNotifier

    public org.eclipse.emf.ecore.EObject getNotifier()

  Gets the notifier.

  Returns:
    the notifier which value changed

### getRawNotification

    public org.eclipse.emf.common.notify.Notification getRawNotification()

  Gets the raw notification.

  Returns:
    the raw `Notification`

### getNewEObjects

    public Collection<org.eclipse.emf.ecore.EObject> getNewEObjects()

  Returns the collection of new EObjects.

  Returns:
    The collection of added EObjects, the collection might be empty but never null.
  Since:
    1.5

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.