| java.lang.Object org.eclipse.ui.internal.wizards.datatransfer.FileSystemExportOperation
FileSystemExportOperation | public class FileSystemExportOperation implements IRunnableWithProgress(Code) | | Operation for exporting the contents of a resource to the local file system.
|
FileSystemExportOperation | public FileSystemExportOperation(IResource res, String destinationPath, IOverwriteQuery overwriteImplementor)(Code) | | Create an instance of this class. Use this constructor if you wish to
recursively export a single resource
|
FileSystemExportOperation | public FileSystemExportOperation(IResource res, List resources, String destinationPath, IOverwriteQuery overwriteImplementor)(Code) | | Create an instance of this class. Use this constructor if you wish to
export specific resources with a common parent resource (affects container
directory creation)
|
countChildrenOf | protected int countChildrenOf(IResource parentResource) throws CoreException(Code) | | Answer the total number of file resources that exist at or below self in the
resources hierarchy.
int Parameters: parentResource - org.eclipse.core.resources.IResource |
countSelectedResources | protected int countSelectedResources() throws CoreException(Code) | | Answer a boolean indicating the number of file resources that were
specified for export
int |
createLeadupDirectoriesFor | protected void createLeadupDirectoriesFor(IResource childResource)(Code) | | Create the directories required for exporting the passed resource,
based upon its container hierarchy
Parameters: childResource - org.eclipse.core.resources.IResource |
exportAllResources | protected void exportAllResources() throws InterruptedException(Code) | | Recursively export the previously-specified resource
|
exportChildren | protected void exportChildren(IResource[] children, IPath currentPath) throws InterruptedException(Code) | | Export all of the resources contained in the passed collection
Parameters: children - java.util.Enumeration Parameters: currentPath - IPath |
exportFile | protected void exportFile(IFile file, IPath location) throws InterruptedException(Code) | | Export the passed file to the specified location
Parameters: file - org.eclipse.core.resources.IFile Parameters: location - org.eclipse.core.runtime.IPath |
exportSpecifiedResources | protected void exportSpecifiedResources() throws InterruptedException(Code) | | Export the resources contained in the previously-defined
resourcesToExport collection
|
getStatus | public IStatus getStatus()(Code) | | Returns the status of the export operation.
If there were any errors, the result is a status object containing
individual status objects for each error.
If there were no errors, the result is a status object with error code OK .
the status |
isDescendent | protected boolean isDescendent(List resources, IResource child)(Code) | | Answer a boolean indicating whether the passed child is a descendent
of one or more members of the passed resources collection
boolean Parameters: resources - java.util.List Parameters: child - org.eclipse.core.resources.IResource |
run | public void run(IProgressMonitor progressMonitor) throws InterruptedException(Code) | | Export the resources that were previously specified for export
(or if a single resource was specified then export it recursively)
|
setCreateContainerDirectories | public void setCreateContainerDirectories(boolean value)(Code) | | Set this boolean indicating whether a directory should be created for
Folder resources that are explicitly passed for export
Parameters: value - boolean |
setCreateLeadupStructure | public void setCreateLeadupStructure(boolean value)(Code) | | Set this boolean indicating whether each exported resource's complete path should
include containment hierarchies as dictated by its parents
Parameters: value - boolean |
setOverwriteFiles | public void setOverwriteFiles(boolean value)(Code) | | Set this boolean indicating whether exported resources should automatically
overwrite existing files when a conflict occurs. If not
query the user.
Parameters: value - boolean |
|
|