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