Class PopulateRootOperation
java.lang.Object
org.eclipse.ui.wizards.datatransfer.SelectFilesOperation
org.eclipse.ui.wizards.datatransfer.PopulateRootOperation
- All Implemented Interfaces:
- IRunnableWithProgress
The PopulateFilesOperation is an operation used to populate a FileSystemElement one
 level deep rather than the whole way.
- 
Constructor SummaryConstructorsConstructorDescriptionPopulateRootOperation(Object rootObject, IImportStructureProvider structureProvider) Create a newPopulateFilesOperation.
- 
Method SummaryModifier and TypeMethodDescriptionprotected FileSystemElementcreateElement(FileSystemElement parent, Object fileSystemObject) Creates and returns aFileSystemElementif the specified file system object merits one.protected FileSystemElementcreateElement(FileSystemElement parent, Object fileSystemObject, int depth) Creates and returns aFileSystemElementif the specified file system object merits one.Methods inherited from class org.eclipse.ui.wizards.datatransfer.SelectFilesOperationgetExtensionFor, getResult, hasDesiredExtension, run, setDesiredExtensions
- 
Constructor Details- 
PopulateRootOperationCreate a newPopulateFilesOperation.- Parameters:
- rootObject- the object to be populated
- structureProvider- the object that defines how we are to populate it.
 
 
- 
- 
Method Details- 
createElementprotected FileSystemElement createElement(FileSystemElement parent, Object fileSystemObject) throws InterruptedException Creates and returns aFileSystemElementif the specified file system object merits one. The criteria for this are: - if the file system object is a container then it must have either a child container or an associated file - if the file system object is a file then it must have an extension suitable for selection- Overrides:
- createElementin class- SelectFilesOperation
- Throws:
- InterruptedException
 
- 
createElementprotected FileSystemElement createElement(FileSystemElement parent, Object fileSystemObject, int depth) throws InterruptedException Creates and returns aFileSystemElementif the specified file system object merits one. The criteria for this are: - if the file system object is a container then it must have either a child container or an associated file - if the file system object is a file then it must have an extension suitable for selection recurse down for depth to populate children- Throws:
- InterruptedException
 
 
-