Java Doc for MoveFilesAndFoldersOperation.java in  » IDE-Eclipse » ui-ide » org » eclipse » ui » actions » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » ui ide » org.eclipse.ui.actions 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.ui.actions.CopyFilesAndFoldersOperation
      org.eclipse.ui.actions.MoveFilesAndFoldersOperation

MoveFilesAndFoldersOperation
public class MoveFilesAndFoldersOperation extends CopyFilesAndFoldersOperation (Code)
Moves files and folders.

This class may be instantiated; it is not intended to be subclassed.


since:
   2.1



Constructor Summary
public  MoveFilesAndFoldersOperation(Shell shell)
     Creates a new operation initialized with a shell.

Method Summary
protected  booleancanPerformAutoRename()
     Returns whether this operation is able to perform on-the-fly auto-renaming of resources with name collisions.
protected  voidcopy(IResource[] resources, IPath destination, IProgressMonitor subMonitor)
     Moves the resources to the given destination.
protected  StringgetDeepCheckQuestion(IResource source)
     Returns the message for querying deep copy/move of a linked resource.
protected  StringgetOperationTitle()
     Returns the task title for this operation's progress dialog.
protected  StringgetProblemsMessage()
     Returns the message for this operation's problems dialog.
protected  StringgetProblemsTitle()
     Returns the title for this operation's problems dialog.
protected  AbstractWorkspaceOperationgetUndoableCopyOrMoveOperation(IResource[] resources, IPath destinationPath)
     Returns an AbstractWorkspaceOperation suitable for performing the move or copy operation that will move or copy the given resources to the given destination path.
protected  booleangetValidateConflictSource()
     Returns whether the source file in a destination collision will be validateEdited together with the collision itself.
protected  booleanisMove()
    
public  StringvalidateDestination(IContainer destination, IResource[] sourceResources)
    


Constructor Detail
MoveFilesAndFoldersOperation
public MoveFilesAndFoldersOperation(Shell shell)(Code)
Creates a new operation initialized with a shell.
Parameters:
  shell - parent shell for error dialogs




Method Detail
canPerformAutoRename
protected boolean canPerformAutoRename()(Code)
Returns whether this operation is able to perform on-the-fly auto-renaming of resources with name collisions. true if auto-rename is supported, andfalse otherwise



copy
protected void copy(IResource[] resources, IPath destination, IProgressMonitor subMonitor) throws CoreException(Code)
Moves the resources to the given destination. This method is called recursively to merge folders during folder move.
Parameters:
  resources - the resources to move
Parameters:
  destination - destination to which resources will be moved
Parameters:
  subMonitor - a progress monitor for showing progress and for cancelationMoveFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[],IPath)



getDeepCheckQuestion
protected String getDeepCheckQuestion(IResource source)(Code)
Returns the message for querying deep copy/move of a linked resource.
Parameters:
  source - resource the query is made for the deep query message



getOperationTitle
protected String getOperationTitle()(Code)
Returns the task title for this operation's progress dialog. the task title



getProblemsMessage
protected String getProblemsMessage()(Code)
Returns the message for this operation's problems dialog. the problems message



getProblemsTitle
protected String getProblemsTitle()(Code)
Returns the title for this operation's problems dialog. the problems dialog title



getUndoableCopyOrMoveOperation
protected AbstractWorkspaceOperation getUndoableCopyOrMoveOperation(IResource[] resources, IPath destinationPath)(Code)
Returns an AbstractWorkspaceOperation suitable for performing the move or copy operation that will move or copy the given resources to the given destination path.
Parameters:
  resources - the resources to be moved or copied
Parameters:
  destinationPath - the destination path to which the resources should be moved the operation that should be used to perform the move or copy
since:
   3.3



getValidateConflictSource
protected boolean getValidateConflictSource()(Code)
Returns whether the source file in a destination collision will be validateEdited together with the collision itself. Returns true. boolean true, the source file in a destinationcollision should be validateEdited.



isMove
protected boolean isMove()(Code)



validateDestination
public String validateDestination(IContainer destination, IResource[] sourceResources)(Code)



Methods inherited from org.eclipse.ui.actions.CopyFilesAndFoldersOperation
protected boolean canPerformAutoRename()(Code)(Java Doc)
IStatus checkExist(IFileStore[] stores)(Code)(Java Doc)
IStatus checkExist(IResource[] resources)(Code)(Java Doc)
protected void copy(IResource[] resources, IPath destination, IProgressMonitor subMonitor) throws CoreException(Code)(Java Doc)
public void copyFiles(URI[] uris, IContainer destination)(Code)(Java Doc)
public void copyFiles(String[] fileNames, IContainer destination)(Code)(Java Doc)
public void copyFilesInCurrentThread(URI[] uris, IContainer destination, IProgressMonitor monitor)(Code)(Java Doc)
public void copyFilesInCurrentThread(String[] fileNames, IContainer destination, IProgressMonitor monitor)(Code)(Java Doc)
public IResource[] copyResources(IResource[] resources, IContainer destination)(Code)(Java Doc)
public IResource[] copyResourcesInCurrentThread(IResource[] resources, IContainer destination, IProgressMonitor monitor)(Code)(Java Doc)
IResource createLinkedResourceHandle(IContainer destination, IResource source)(Code)(Java Doc)
boolean delete(IResource resource, IProgressMonitor monitor)(Code)(Java Doc)
static IPath getAutoNewNameFor(IPath originalName, IWorkspace workspace)(Code)(Java Doc)
protected String getDeepCheckQuestion(IResource source)(Code)(Java Doc)
protected IFile getFile(IResource resource)(Code)(Java Doc)
protected File[] getFiles(String[] fileNames)(Code)(Java Doc)
protected IFolder getFolder(IResource resource)(Code)(Java Doc)
public String[] getModelProviderIds()(Code)(Java Doc)
protected String getOperationTitle()(Code)(Java Doc)
protected String getProblemsMessage()(Code)(Java Doc)
protected String getProblemsTitle()(Code)(Java Doc)
protected AbstractWorkspaceOperation getUndoableCopyOrMoveOperation(IResource[] resources, IPath destinationPath)(Code)(Java Doc)
protected boolean getValidateConflictSource()(Code)(Java Doc)
protected boolean homogenousResources(IResource source, IResource destination)(Code)(Java Doc)
boolean isDestinationSameAsSource(IResource[] sourceResources, IContainer destination)(Code)(Java Doc)
protected boolean isMove()(Code)(Java Doc)
public void setModelProviderIds(String[] modelProviderIds)(Code)(Java Doc)
public String validateDestination(IContainer destination, IResource[] sourceResources)(Code)(Java Doc)
public String validateImportDestination(IContainer destination, String[] sourceNames)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.