com.togethersoft.openapi.ide.window
Interface IdeFileChooserConstant


public interface IdeFileChooserConstant

Interface IdeFileChooserConstant stores the constants to be used in the IdeFileChooser interface.

Author:
TogetherSoft
Since: Together 3.0

Field Summary
 final static intAPPROVE_OPTION
          Return value if approve (yes, ok) is chosen.
 final static intCANCEL_OPTION
          Return value if cancel is chosen.
 final static intCUSTOM_DIALOG
          Type value indicating that the FileChooser supports a developer specified file operation.
 final static intDIRECTORIES_ONLY
          Allow the user to to select only directories.
 final static intERROR_OPTION
          Return value if an error occurred.
 final static intFILES_AND_DIRECTORIES
          Allow the user to select both files and directories.
 final static intFILES_ONLY
          Allow the user to select only files.
 final static intIMAGE_DIALOG
          Type value indicating that the FileChooser supports a image choosing operation with preview
 final static intOPEN_DIALOG
          Type value indicating that the FileChooser supports an "Open" file operation.
 final static intSAVE_DIALOG
          Type value indicating that the FileChooser supports a "Save" file operation.

Field Detail

APPROVE_OPTION

public final static int APPROVE_OPTION
Return value if approve (yes, ok) is chosen.

CANCEL_OPTION

public final static int CANCEL_OPTION
Return value if cancel is chosen.

CUSTOM_DIALOG

public final static int CUSTOM_DIALOG
Type value indicating that the FileChooser supports a developer specified file operation.

DIRECTORIES_ONLY

public final static int DIRECTORIES_ONLY
Allow the user to to select only directories.

ERROR_OPTION

public final static int ERROR_OPTION
Return value if an error occurred.

FILES_AND_DIRECTORIES

public final static int FILES_AND_DIRECTORIES
Allow the user to select both files and directories.

FILES_ONLY

public final static int FILES_ONLY
Allow the user to select only files.

IMAGE_DIALOG

public final static int IMAGE_DIALOG
Type value indicating that the FileChooser supports a image choosing operation with preview
Since:
Together 5.0

OPEN_DIALOG

public final static int OPEN_DIALOG
Type value indicating that the FileChooser supports an "Open" file operation.

SAVE_DIALOG

public final static int SAVE_DIALOG
Type value indicating that the FileChooser supports a "Save" file operation.