Class MultiSegmentChildDmrNewModelElementStrategyProvider
- java.lang.Object
-
- org.eclipse.emf.ecp.ui.view.swt.reference.ReferenceServiceCustomizationVendor<CreateNewModelElementStrategy>
-
- org.eclipse.emfforms.internal.view.multisegment.tooling.MultiSegmentChildDmrNewModelElementStrategyProvider
-
- All Implemented Interfaces:
CreateNewModelElementStrategy.Provider,Vendor<CreateNewModelElementStrategy>
public class MultiSegmentChildDmrNewModelElementStrategyProvider extends ReferenceServiceCustomizationVendor<CreateNewModelElementStrategy> implements CreateNewModelElementStrategy.Provider
- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description MultiSegmentChildDmrNewModelElementStrategyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateNewModelElementStrategycreateCreateNewModelElementStrategy()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<CreateNewModelElementStrategy>- Parameters:
owner- the owner of a reference being edited by the Reference Servicereference- the reference being edited- Returns:
- whether I should bid
-
createCreateNewModelElementStrategy
public CreateNewModelElementStrategy createCreateNewModelElementStrategy()
Creates theCreateNewModelElementStrategy.- Returns:
- The created
CreateNewModelElementStrategy
-
-