public class LeafConditionDmrOpenInNewContextStrategyProvider extends RuleConditionDmrOpenInNewContextStrategyProvider
OpenInNewContextStrategy
to edit segment based domain model
references for LeafConditions
.Constructor and Description |
---|
LeafConditionDmrOpenInNewContextStrategyProvider() |
Modifier and Type | Method and Description |
---|---|
protected EStructuralFeatureSelectionValidator |
getSelectionValidator()
Returns the
EStructuralFeatureSelectionValidator used by the DMR creation wizard to validate the
structural feature selection. |
protected boolean |
handles(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EReference reference)
Queries whether I should bid on the given
owner and reference . |
protected void |
setEMFFormsDatabindingEMF(EMFFormsDatabindingEMF databinding)
Set the
EMFFormsDatabindingEMF . |
protected void |
setReportService(ReportService reportService)
Set the
ReportService . |
createOpenInNewContextStrategy, isSegmentToolingEnabled
bid
public LeafConditionDmrOpenInNewContextStrategyProvider()
protected void setEMFFormsDatabindingEMF(EMFFormsDatabindingEMF databinding)
RuleConditionDmrOpenInNewContextStrategyProvider
EMFFormsDatabindingEMF
.databinding
- The EMFFormsDatabindingEMF
protected void setReportService(ReportService reportService)
RuleConditionDmrOpenInNewContextStrategyProvider
ReportService
.reportService
- The ReportService
protected boolean handles(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference)
ReferenceServiceCustomizationVendor
owner
and reference
.
The default implementation just returns true
; subclasses should override.handles
in class RuleConditionDmrOpenInNewContextStrategyProvider
owner
- the owner of a reference being edited by the Reference Servicereference
- the reference being editedprotected EStructuralFeatureSelectionValidator getSelectionValidator()
RuleConditionDmrOpenInNewContextStrategyProvider
EStructuralFeatureSelectionValidator
used by the DMR creation wizard to validate the
structural feature selection.
Overwrite this to customize valid selections
getSelectionValidator
in class RuleConditionDmrOpenInNewContextStrategyProvider
EStructuralFeatureSelectionValidator
Copyright © 2019. All rights reserved.