public class DmrToSegmentsViewService extends Object implements ModelChangeAddRemoveListener
A view service that converts all domain model references of a view context to
segments. The generated segments are added to their respective DMRs.
Note: This behavior can be activated by setting the program argument
-enableSegmentGeneration.
| Constructor and Description |
|---|
DmrToSegmentsViewService(EMFFormsViewContext viewContext)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
notifyAdd(org.eclipse.emf.common.notify.Notifier notifier) |
void |
notifyChange(ModelChangeNotification notification)
Notify about a change.
|
void |
notifyRemove(org.eclipse.emf.common.notify.Notifier notifier) |
public DmrToSegmentsViewService(EMFFormsViewContext viewContext)
viewContext - The EMFFormsViewContext that created mepublic void notifyChange(ModelChangeNotification notification)
ModelChangeListenernotifyChange in interface ModelChangeListenernotification - the ModelChangeNotificationpublic void notifyAdd(org.eclipse.emf.common.notify.Notifier notifier)
notifyAdd in interface ModelChangeAddRemoveListenernotifier - the notifierpublic void notifyRemove(org.eclipse.emf.common.notify.Notifier notifier)
notifyRemove in interface ModelChangeAddRemoveListenernotifier - the notifierCopyright © 2020. All rights reserved.