TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.hyades.ui.internal.wizard.exampleproject
Class FileSystemStructureProvider

java.lang.Object
  extended byorg.eclipse.hyades.ui.internal.wizard.exampleproject.FileSystemStructureProvider
All Implemented Interfaces:
org.eclipse.ui.wizards.datatransfer.IImportStructureProvider

public class FileSystemStructureProvider
extends java.lang.Object
implements org.eclipse.ui.wizards.datatransfer.IImportStructureProvider

Since:
0.0.1

Constructor Summary
FileSystemStructureProvider(java.lang.String pathPrefixToRemove)
          The final path will start after the pathPrefixToRemove.
 
Method Summary
 java.util.List getChildren(java.lang.Object element)
           
 java.io.InputStream getContents(java.lang.Object element)
           
 java.lang.String getFullPath(java.lang.Object element)
           
 java.lang.String getLabel(java.lang.Object element)
           
 boolean isFolder(java.lang.Object element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemStructureProvider

public FileSystemStructureProvider(java.lang.String pathPrefixToRemove)
The final path will start after the pathPrefixToRemove. Examples path = "c:/temp/test/file.txt" pathPrefixToRemove = "test" final path = "file.txt"

Method Detail

getChildren

public java.util.List getChildren(java.lang.Object element)
Specified by:
getChildren in interface org.eclipse.ui.wizards.datatransfer.IImportStructureProvider

getContents

public java.io.InputStream getContents(java.lang.Object element)
Specified by:
getContents in interface org.eclipse.ui.wizards.datatransfer.IImportStructureProvider

getFullPath

public java.lang.String getFullPath(java.lang.Object element)
Specified by:
getFullPath in interface org.eclipse.ui.wizards.datatransfer.IImportStructureProvider

getLabel

public java.lang.String getLabel(java.lang.Object element)
Specified by:
getLabel in interface org.eclipse.ui.wizards.datatransfer.IImportStructureProvider

isFolder

public boolean isFolder(java.lang.Object element)
Specified by:
isFolder in interface org.eclipse.ui.wizards.datatransfer.IImportStructureProvider

TPTP 4.2.0 Platform Project
Internal API Specification