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