public class MultiSegmentChildDmrNewModelElementStrategyProvider extends ReferenceServiceCustomizationVendor<CreateNewModelElementStrategy> implements CreateNewModelElementStrategy.Provider
Constructor and Description |
---|
MultiSegmentChildDmrNewModelElementStrategyProvider() |
Modifier and Type | Method and Description |
---|---|
CreateNewModelElementStrategy |
createCreateNewModelElementStrategy()
Creates the
CreateNewModelElementStrategy . |
protected boolean |
handles(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EReference reference)
Queries whether I should bid on the given
owner and reference . |
bid
public MultiSegmentChildDmrNewModelElementStrategyProvider()
protected boolean handles(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference)
ReferenceServiceCustomizationVendor
owner
and reference
.
The default implementation just returns true
; subclasses should override.handles
in class ReferenceServiceCustomizationVendor<CreateNewModelElementStrategy>
owner
- the owner of a reference being edited by the Reference Servicereference
- the reference being editedpublic CreateNewModelElementStrategy createCreateNewModelElementStrategy()
CreateNewModelElementStrategy
.CreateNewModelElementStrategy
Copyright © 2019. All rights reserved.