com.tssap.util.ui.reuse.chooser.impl
Class FileChooser

java.lang.Object
  |
  +--com.tssap.util.ui.reuse.chooser.impl.FileChooser
All Implemented Interfaces:
IChooser, IDisplayableChooser

public class FileChooser
extends java.lang.Object
implements IDisplayableChooser

Version:
1.0

Field Summary
static int DIRECTORY_CHOOSER
           
static int FILE_CHOOSER
           
 
Constructor Summary
FileChooser(int type)
           
FileChooser(int type, org.eclipse.swt.widgets.Shell parentShell)
           
 
Method Summary
 java.lang.String getSelection(java.lang.String currentPath, org.eclipse.swt.widgets.Shell parentShell)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_CHOOSER

public static final int FILE_CHOOSER

DIRECTORY_CHOOSER

public static final int DIRECTORY_CHOOSER
Constructor Detail

FileChooser

public FileChooser(int type)

FileChooser

public FileChooser(int type,
                   org.eclipse.swt.widgets.Shell parentShell)
Method Detail

getSelection

public java.lang.String getSelection(java.lang.String currentPath,
                                     org.eclipse.swt.widgets.Shell parentShell)
Specified by:
getSelection in interface IDisplayableChooser
Parameters:
currentPath - path from history, needed to define path to start from
Returns:
newPath by user selected path


Copyright © 2005 SAP AG. All Rights Reserved.