Class MultiDmrOpenInNewContextStrategyProvider
- java.lang.Object
-
- org.eclipse.emf.ecp.ui.view.swt.reference.ReferenceServiceCustomizationVendor<OpenInNewContextStrategy>
-
- org.eclipse.emfforms.internal.view.multisegment.tooling.MultiDmrOpenInNewContextStrategyProvider
-
- All Implemented Interfaces:
OpenInNewContextStrategy.Provider,Vendor<OpenInNewContextStrategy>
public class MultiDmrOpenInNewContextStrategyProvider extends ReferenceServiceCustomizationVendor<OpenInNewContextStrategy> implements OpenInNewContextStrategy.Provider
Provides a strategy to create and configure a segment-basedVDomainModelReferencewhich has multi segment as its last segment. This provider is only active if the IDE tooling runs in segment mode.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description MultiDmrOpenInNewContextStrategyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenInNewContextStrategycreateOpenInNewContextStrategy()Creates theCreateNewModelElementStrategy.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
-
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
-
createOpenInNewContextStrategy
public OpenInNewContextStrategy createOpenInNewContextStrategy()
Creates theCreateNewModelElementStrategy.- Returns:
- The created
CreateNewModelElementStrategy
-
-