public class EcoreReferenceStrategyProvider extends ReferenceServiceCustomizationVendor<ReferenceStrategy> implements ReferenceStrategy.Provider
Constructor and Description |
---|
EcoreReferenceStrategyProvider()
Initializes me.
|
Modifier and Type | Method and Description |
---|---|
ReferenceStrategy |
createReferenceStrategy()
Create the reference strategy.
|
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 EcoreReferenceStrategyProvider()
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<ReferenceStrategy>
owner
- the owner of a reference being edited by the Reference Servicereference
- the reference being editedpublic ReferenceStrategy createReferenceStrategy()
Copyright © 2019. All rights reserved.