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)
ModelChangeListener
notifyChange
in interface ModelChangeListener
notification
- the ModelChangeNotification
public void notifyAdd(org.eclipse.emf.common.notify.Notifier notifier)
notifyAdd
in interface ModelChangeAddRemoveListener
notifier
- the notifierpublic void notifyRemove(org.eclipse.emf.common.notify.Notifier notifier)
notifyRemove
in interface ModelChangeAddRemoveListener
notifier
- the notifierCopyright © 2019. All rights reserved.