|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.actions.CopyProjectOperation
public class CopyProjectOperation
Implementation class to perform the actual copying of project resources from the clipboard when paste action is invoked.
This class may be instantiated; it is not intended to be subclassed.
| Constructor Summary | |
|---|---|
CopyProjectOperation(Shell shell)
Create a new operation initialized with a shell. |
|
| Method Summary | |
|---|---|
void |
copyProject(IProject project)
Paste a copy of the project on the clipboard to the workspace. |
java.lang.String[] |
getModelProviderIds()
Returns the model provider ids that are known to the client that instantiated this operation. |
void |
setModelProviderIds(java.lang.String[] modelProviderIds)
Sets the model provider ids that are known to the client that instantiated this operation. |
protected static boolean |
validateCopy(Shell shell,
IProject project,
java.lang.String newName,
java.lang.String[] modelProviderIds)
Deprecated. As of 3.3, validation is performed in the undoable operation executed by this operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopyProjectOperation(Shell shell)
shell - parent shell for error dialogs| Method Detail |
|---|
protected static boolean validateCopy(Shell shell,
IProject project,
java.lang.String newName,
java.lang.String[] modelProviderIds)
shell - a shellproject - the project being copiednewName - the new name of the projectmodelProviderIds - the model provider ids of models that are known to the client
(and can hence be ignored)
public void copyProject(IProject project)
project - The project that is beign copied.public java.lang.String[] getModelProviderIds()
public void setModelProviderIds(java.lang.String[] modelProviderIds)
modelProviderIds - the model providers known to the client who is using this
operation.
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.