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 OpenInNewContextStrategycreateOpenInNewContextStrategy()Creates the strategy a multi segment's child dmr in a dialog.protected booleanhandles(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference)Queries whether I should bid on the givenownerandreference.-
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:ReferenceServiceCustomizationVendorQueries whether I should bid on the givenownerandreference. The default implementation just returnstrue; subclasses should override.- Overrides:
handlesin classReferenceServiceCustomizationVendor<OpenInNewContextStrategy>- Parameters:
owner- the owner of a reference being edited by the Reference Servicereference- the reference being edited- Returns:
- whether I should bid
-
-