|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.emf.clipboard.core.PasteTarget
public class PasteTarget
A class which stores the target object for the paste operation.
Constructor Summary | |
---|---|
PasteTarget(org.eclipse.emf.ecore.EObject target)
Constructs a PasteTarget for the given
EObject . |
|
PasteTarget(org.eclipse.emf.ecore.resource.Resource target)
Constructs a PasteTarget for the given
Resource . |
Method Summary | |
---|---|
java.lang.Object |
getObject()
Return the underlying target object. |
boolean |
isResource()
Return true if the target object is of type Resource . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasteTarget(org.eclipse.emf.ecore.EObject target)
PasteTarget
for the given
EObject
.
target
- thepublic PasteTarget(org.eclipse.emf.ecore.resource.Resource target)
PasteTarget
for the given
Resource
.
target
- theMethod Detail |
---|
public java.lang.Object getObject()
public boolean isResource()
Resource
.
Resource
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.