Class IterateConditionDmrOpenInNewContextStrategyProvider
- java.lang.Object
-
- org.eclipse.emf.ecp.ui.view.swt.reference.ReferenceServiceCustomizationVendor<OpenInNewContextStrategy>
-
- org.eclipse.emf.ecp.view.internal.editor.handler.RuleConditionDmrOpenInNewContextStrategyProvider
-
- org.eclipse.emf.ecp.view.internal.editor.handler.IterateConditionDmrOpenInNewContextStrategyProvider
-
- All Implemented Interfaces:
OpenInNewContextStrategy.Provider
,Vendor<OpenInNewContextStrategy>
public class IterateConditionDmrOpenInNewContextStrategyProvider extends RuleConditionDmrOpenInNewContextStrategyProvider
Creates segment based item domain model references forIterateConditions
.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description IterateConditionDmrOpenInNewContextStrategyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EStructuralFeatureSelectionValidator
getSelectionValidator()
Returns theEStructuralFeatureSelectionValidator
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 givenowner
andreference
.protected void
setEMFFormsDatabindingEMF(EMFFormsDatabindingEMF databinding)
protected void
setReportService(ReportService reportService)
-
Methods inherited from class org.eclipse.emf.ecp.view.internal.editor.handler.RuleConditionDmrOpenInNewContextStrategyProvider
createOpenInNewContextStrategy, isSegmentToolingEnabled
-
Methods inherited from class org.eclipse.emf.ecp.ui.view.swt.reference.ReferenceServiceCustomizationVendor
bid
-
-
-
-
Method Detail
-
setEMFFormsDatabindingEMF
protected void setEMFFormsDatabindingEMF(EMFFormsDatabindingEMF databinding)
-
setReportService
protected void setReportService(ReportService reportService)
-
handles
protected boolean handles(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference)
Description copied from class:ReferenceServiceCustomizationVendor
Queries whether I should bid on the givenowner
andreference
. The default implementation just returnstrue
; subclasses should override.- Overrides:
handles
in classRuleConditionDmrOpenInNewContextStrategyProvider
- Parameters:
owner
- the owner of a reference being edited by the Reference Servicereference
- the reference being edited- Returns:
- whether I should bid
-
getSelectionValidator
protected EStructuralFeatureSelectionValidator getSelectionValidator()
Description copied from class:RuleConditionDmrOpenInNewContextStrategyProvider
Returns theEStructuralFeatureSelectionValidator
used by the DMR creation wizard to validate the structural feature selection.Overwrite this to customize valid selections
- Overrides:
getSelectionValidator
in classRuleConditionDmrOpenInNewContextStrategyProvider
- Returns:
- The
EStructuralFeatureSelectionValidator
-
-