| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IdeFileChooser provides a simple mechanism for the user to choose a file.
As of Together 5.0 IdeFileChooser is separated into two interfaces:
IdePathChooser and extending it IdeFileChooser. Many of this
interface methods have been transferred to the superinterface.
| Method Summary | |
void | addChoosableFileFilter(FileFilter filter)Adds a filter to the list of user choosable file filters. |
FileFilter | getAcceptAllFileFilter()Returns the AcceptAll file filter. |
FileFilter[] | getChoosableFileFilters()Gets the list of the file filters that can be chosen by the user. |
int | getDialogType()Returns the type of this dialog. |
boolean | removeChoosableFileFilter(FileFilter f)Removes specified filter from the list of user choosable file filters. |
void | resetChoosableFileFilters()Resets the choosable file filter list to it's initial state. |
void | setDialogType(int dialogType)Sets the type of this dialog. |
| Methods inherited from interface com.togethersoft.openapi.ide.window.IdePathChooser |
getApproveButtonText, getCurrentDirectory, getDialogTitle, getFileFilter, getFileSelectionMode, getSelectedFile, getSelectedFiles, isFileHidingEnabled, isMultiSelectionEnabled, setApproveButtonText, setCurrentDirectory, setDialogTitle, setFileFilter, setFileHidingEnabled, setFileSelectionMode, setMultiSelectionEnabled, setSelectedFile, setSelectedFiles, showDialog |
| Method Detail |
public void addChoosableFileFilter(FileFilter filter)
FileFilter to be added to the choosable file filter listpublic FileFilter getAcceptAllFileFilter()
FileFilter AcceptAllpublic FileFilter[] getChoosableFileFilters()
FileFilter[] array containing the all choosable file filterspublic int getDialogType()
int identifier of the dialog type: OPEN_DIALOG, SAVE_DIALOG, CUSTOM_DIALOGpublic boolean removeChoosableFileFilter(FileFilter f)
true if the file filter was successfully deleted.FileFilter to be deletedtrue if this filter is successfully deletedpublic void resetChoosableFileFilters()
public void setDialogType(int dialogType)
int type of the dialog to be displayed: OPEN_DIALOG, SAVE_DIALOG, CUSTOM_DIALOG
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||