| org.eclipse.ui.wizards.datatransfer.IImportStructureProvider
All known Subclasses: org.eclipse.ui.wizards.datatransfer.ZipFileStructureProvider, org.eclipse.ui.wizards.datatransfer.FileStoreStructureProvider, org.eclipse.ui.wizards.datatransfer.FileSystemStructureProvider,
IImportStructureProvider | public interface IImportStructureProvider (Code) | | Interface which can provide structure and content information
for an element (for example, a file system element).
Used by the import wizards to abstract the commonalities
between importing from the file system and importing from an archive.
|
Method Summary | |
List | getChildren(Object element) Returns a collection with the children of the specified structured element. | InputStream | getContents(Object element) Returns the contents of the specified structured element, or
null if there is a problem determining the element's
contents. | String | getFullPath(Object element) Returns the full path of the specified structured element. | String | getLabel(Object element) Returns the display label of the specified structured element. | boolean | isFolder(Object element) Returns a boolean indicating whether the passed structured element represents
a container element (as opposed to a leaf element). |
getChildren | List getChildren(Object element)(Code) | | Returns a collection with the children of the specified structured element.
|
getContents | InputStream getContents(Object element)(Code) | | Returns the contents of the specified structured element, or
null if there is a problem determining the element's
contents.
Parameters: element - a structured element the contents of the structured element, or null |
getFullPath | String getFullPath(Object element)(Code) | | Returns the full path of the specified structured element.
Parameters: element - a structured element the display label of the structured element |
getLabel | String getLabel(Object element)(Code) | | Returns the display label of the specified structured element.
Parameters: element - a structured element the display label of the structured element |
isFolder | boolean isFolder(Object element)(Code) | | Returns a boolean indicating whether the passed structured element represents
a container element (as opposed to a leaf element).
boolean Parameters: element - java.lang.Object |
|
|