protected static class TemplateModelEditorPart.DmrSelectorPreReplaceProcessor extends Object implements DmrToSegmentsMigrator.PreReplaceProcessor
DmrToSegmentsMigrator.PreReplaceProcessor
for the legacy dmr migration which extracts the root EClass from a legacy dmr and
sets it to its containing VTDomainModelReferenceSelector
.Constructor and Description |
---|
DmrSelectorPreReplaceProcessor(LegacyDmrToRootEClass dmrToRootEClass)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
process(VDomainModelReference legacyDmr,
VDomainModelReference segmentDmr)
Processes the legacy dmr, the segment dmr or any related EObject before the legacy dmr is
replaced with the segment dmr in the model.
|
public DmrSelectorPreReplaceProcessor(LegacyDmrToRootEClass dmrToRootEClass)
dmrToRootEClass
- The LegacyDmrToRootEClass
public void process(VDomainModelReference legacyDmr, VDomainModelReference segmentDmr)
DmrToSegmentsMigrator.PreReplaceProcessor
Processes the legacy dmr, the segment dmr or any related EObject before the legacy dmr is replaced with the segment dmr in the model.
This may also alter the model including the legacy dmr or the segment dmr.
process
in interface DmrToSegmentsMigrator.PreReplaceProcessor
legacyDmr
- The legacy dmr which will be replaced in the modelsegmentDmr
- The segment based dmr which is already filled with segments based on the legacy dmrCopyright © 2019. All rights reserved.