public class LeafConditionDmrNewModelElementStrategyProvider extends RuleConditionDmrNewModelElementStrategyProvider
CreateNewModelElementStrategy
to create segment based domain model
references for LeafConditions
.Constructor and Description |
---|
LeafConditionDmrNewModelElementStrategyProvider() |
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 . |
createCreateNewModelElementStrategy, isSegmentToolingEnabled
bid
public LeafConditionDmrNewModelElementStrategyProvider()
protected void setEMFFormsDatabindingEMF(EMFFormsDatabindingEMF databinding)
RuleConditionDmrNewModelElementStrategyProvider
EMFFormsDatabindingEMF
.setEMFFormsDatabindingEMF
in class RuleConditionDmrNewModelElementStrategyProvider
databinding
- The EMFFormsDatabindingEMF
protected void setReportService(ReportService reportService)
RuleConditionDmrNewModelElementStrategyProvider
ReportService
.setReportService
in class RuleConditionDmrNewModelElementStrategyProvider
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 RuleConditionDmrNewModelElementStrategyProvider
owner
- the owner of a reference being edited by the Reference Servicereference
- the reference being editedprotected EStructuralFeatureSelectionValidator getSelectionValidator()
RuleConditionDmrNewModelElementStrategyProvider
EStructuralFeatureSelectionValidator
used by the DMR creation wizard to validate the
structural feature selection.
Overwrite this to customize valid selections
getSelectionValidator
in class RuleConditionDmrNewModelElementStrategyProvider
EStructuralFeatureSelectionValidator
Copyright © 2019. All rights reserved.