Class MultiSegmentChildDmrOpenInNewContextStrategyProvider
- java.lang.Object
-
- org.eclipse.emf.ecp.ui.view.swt.reference.ReferenceServiceCustomizationVendor<OpenInNewContextStrategy>
-
- org.eclipse.emfforms.internal.view.multisegment.tooling.MultiSegmentChildDmrOpenInNewContextStrategyProvider
-
- All Implemented Interfaces:
OpenInNewContextStrategy.Provider
,Vendor<OpenInNewContextStrategy>
public class MultiSegmentChildDmrOpenInNewContextStrategyProvider extends ReferenceServiceCustomizationVendor<OpenInNewContextStrategy> implements OpenInNewContextStrategy.Provider
Provides a strategy that opens a dialog to edit a child domain model reference of a multi segment. This provider is only active if the IDE tooling runs in segment mode.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description MultiSegmentChildDmrOpenInNewContextStrategyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenInNewContextStrategy
createOpenInNewContextStrategy()
Creates the strategy a multi segment's child dmr in a dialog.protected boolean
handles(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference)
Queries whether I should bid on the givenowner
andreference
.-
Methods inherited from class org.eclipse.emf.ecp.ui.view.swt.reference.ReferenceServiceCustomizationVendor
bid
-
-
-
-
Method Detail
-
createOpenInNewContextStrategy
public OpenInNewContextStrategy createOpenInNewContextStrategy()
Creates the strategy a multi segment's child dmr in a dialog.- Returns:
- The strategy
-
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 classReferenceServiceCustomizationVendor<OpenInNewContextStrategy>
- Parameters:
owner
- the owner of a reference being edited by the Reference Servicereference
- the reference being edited- Returns:
- whether I should bid
-
-