GSelectionDialog
Description
In BBj 11.0 and higher, the GSelectionDialog class is one of the BBj CustomObjects that comprises the GApps utility. This class can used in a BBj application to enable end-user access via dialogs to Google documents and folders.
Creation
The GSelectionDialog class is found in <bbj install>/utils/gapps/gapps.bbj.
A GSelectionDialog object cannot be created directly.
Parameters
None.
Methods of GSelectionDialog
Return Value |
Method |
---|---|
void |
addFilter(string filterName, BBjVector filter) |
int |
doModal() |
string |
|
string |
|
string |
|
boolean |
|
string |
getTitle() |
void |
|
void |
removeFilter(string filterName) |
void |
selectFilter(string filterName) |
void |
setDefaultDocument(string document) |
void |
setDefaultFolder(string folder) |
void |
setDefaultType(string type) |
void |
setMultipleSelection(boolean multipleSelection) |
void |
setTitle(string title) |
Remarks
Requires a GUI client.
Constants
Name |
Value |
CANCELED |
0 |
SELECTED |
1 |
ALL_DOCUMENTS_FILTER_NAME |
ALL_DOCUMENTS |
TEXT_DOCUMENTS_FILTER_NAME |
TEXT_DOCUMENTS |
SPREADSHEETS_FILTER_NAME |
SPREADSHEETS |
PRESENTATIONS_FILTER_NAME |
PRESENTATIONS |
DRAWINGS_FILTER_NAME |
DRAWINGS |
PDF_FILES_FILTER_NAME |
PDF_FILES |
Example
|