Class DmrToSegmentsViewService
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.segments.DmrToSegmentsViewService
-
- All Implemented Interfaces:
ModelChangeAddRemoveListener
,ModelChangeListener
public class DmrToSegmentsViewService extends java.lang.Object implements ModelChangeAddRemoveListener
A view service that converts all
domain model references
of a view context tosegments
. The generated segments are added to their respective DMRs.Note: This behavior can be activated by setting the program argument
-enableSegmentGeneration
.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description DmrToSegmentsViewService(EMFFormsViewContext viewContext)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
DmrToSegmentsViewService
public DmrToSegmentsViewService(EMFFormsViewContext viewContext)
Creates a new instance.- Parameters:
viewContext
- TheEMFFormsViewContext
that created me
-
-
Method Detail
-
notifyChange
public void notifyChange(ModelChangeNotification notification)
Description copied from interface:ModelChangeListener
Notify about a change.- Specified by:
notifyChange
in interfaceModelChangeListener
- Parameters:
notification
- theModelChangeNotification
-
notifyAdd
public void notifyAdd(org.eclipse.emf.common.notify.Notifier notifier)
- Specified by:
notifyAdd
in interfaceModelChangeAddRemoveListener
- Parameters:
notifier
- the notifier
-
notifyRemove
public void notifyRemove(org.eclipse.emf.common.notify.Notifier notifier)
- Specified by:
notifyRemove
in interfaceModelChangeAddRemoveListener
- Parameters:
notifier
- the notifier
-
-