|
|
|
|
Uses of Class org.eclipse.gmf.runtime.emf.clipboard.core.PasteOption
Fields in
org.eclipse.gmf.runtime.emf.clipboard.core declared as
PasteOption
|
static
PasteOption
|
PasteOption.
CRITICAL
Paste option indicating that the element(s) referenced by by an
EReference feature of a pasted object must
resolve in a successful paste operation. |
static
PasteOption
|
PasteOption.
DISTANT
Paste option indicating that the copying of the elements referenced by
some EReference feature of an object
being copied is supported for "distant" pastes. |
static
PasteOption
|
PasteOption.
LOCAL
Paste option indicating that the element(s) referenced by by an
EReference feature of a pasted object must
be in the same model as the pasted object. |
static
PasteOption
|
PasteOption.
NORMAL
Paste option indicating that the copying of the elements referenced by
some EReference feature of an object
being copied is critically important to a successful copy. |
static
PasteOption
|
PasteOption.
PARENT
Paste option indicating that the container of an object (referenced by
a specific EReference should also be
copied, in case it the actual object can't be pasted at the intended
location but its container can (thus allowing the intended object also
to be pasted under it). |
Methods in
org.eclipse.gmf.runtime.emf.clipboard.core with parameters of type
PasteOption
|
boolean
|
IClipboardSupport.
hasPasteOption
(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
PasteOption pasteOption)
Queries whether a feature supports a particular paste option. |
boolean
|
AbstractClipboardSupport.
hasPasteOption
(org.eclipse.emf.ecore.EObject contextEObject,
org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
PasteOption pasteOption)
By default, the following paste options are supported:
NORMAL : always
others: never
|
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.
|
|
|