|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.remotefileselector.IFileServiceSelectorPanel
public class IFileServiceSelectorPanel
IFileServiceSelectorPanel defines the panel to be used when directly accessing IFileService type file systems.
Given a workspace and a path it will associate the default IFileService model, transforms, and column names with
the RemoteFileServerModel.
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Examples for this class may be found on the Examples Site.
IFileServiceModel
,
Serialized FormField Summary |
---|
Fields inherited from class com.sas.swing.visuals.remotefileselector.BaseRemoteFileSelectorPanel |
---|
buttonPanel, cancelled, columnNames, component, DRILL_DOWN_FILTER, drillDownFilter, filePanel, fileTypes, FILTER_TYPE_FILTER, filterTypeFilter, model, shortcutPanel, supportType, TABLE_DATA_FILTER, TABLE_HEADER_FILTER, tableColumnHeaderFilter, tableDataCellFilter, TOOLBAR_FILTER, toolbarFilter, transforms, viewerSupport, viewPanel |
Constructor Summary | |
---|---|
IFileServiceSelectorPanel(java.lang.String initialPath,
com.sas.iom.SAS.IWorkspace workspace,
java.util.Map fileTypes,
boolean showDirectoriesOnly)
This constructor allows the user to create a panel with the minimum required information. |
|
IFileServiceSelectorPanel(java.lang.String initialPath,
com.sas.iom.SAS.IWorkspace workspace,
com.sas.util.transforms.TransformInterface[] transformArray,
java.lang.Object[] columnRenderers,
java.lang.String[] nameArray,
java.util.Map fileTypes,
boolean showDirectoriesOnly)
This constructor allows the user to specify all of the available parameters. |
|
IFileServiceSelectorPanel(java.lang.String initialPath,
com.sas.iom.SAS.IWorkspace workspace,
com.sas.util.transforms.TransformInterface[] transformArray,
java.lang.String[] nameArray,
java.util.Map fileTypes,
boolean showDirectoriesOnly)
This constructor allows the user to specify all of the available parameters. |
Method Summary | |
---|---|
IFileServiceModel |
getServiceModel()
Returns the model that is used to communicate with the file system. |
static java.util.List |
showDialog(java.awt.Frame parent,
java.lang.String titleOfDialog,
boolean modal,
int typeOfDialog,
java.lang.String initialPath,
com.sas.iom.SAS.IWorkspace workspace,
boolean returnSelectedItems,
boolean showDirectoriesOnly)
Displays the dialog for the IFileServiceSelector. |
static java.util.List |
showDialog(java.awt.Frame parent,
java.lang.String titleOfDialog,
boolean modal,
int typeOfDialog,
java.lang.String initialPath,
com.sas.iom.SAS.IWorkspace workspace,
boolean returnSelectedItems,
boolean showDirectoriesOnly,
IFileServiceSelectorPanel panel)
Displays the dialog for the IFileServiceSelector. |
Methods inherited from class com.sas.swing.visuals.remotefileselector.BaseRemoteFileSelectorPanel |
---|
contentsChanged, getActionProvider, getActionSupportFilter, getActionSupportType, getReturnedInformation, getUniqueId, getViewComponent, initialize, initialize, isActionVisible, isCancelled, isShowDirectoriesOnly, listActionTypes, listAreaTypes, setActionProvider, setActionSupportType, setActionVisible, setCancelled, setColumnLabels, setDialogType, setServiceModel, setShowButtonPanel, setShowDirectoriesOnly, setShowFileNamePanel, setShowShortcutPanel, setTransforms, setUniqueId, showDialog |
Constructor Detail |
---|
public IFileServiceSelectorPanel(java.lang.String initialPath, com.sas.iom.SAS.IWorkspace workspace, java.util.Map fileTypes, boolean showDirectoriesOnly)
initialPath
- the initial file system path to be displayedworkspace
- the IOM IWorkspace used to view the file systemfileTypes
- allows specification of a Map of display values and filter values for restricting the types of files being viewedshowDirectoriesOnly
- specifies whether to show the directory structure only (true) or show the structure and the files (false)public IFileServiceSelectorPanel(java.lang.String initialPath, com.sas.iom.SAS.IWorkspace workspace, com.sas.util.transforms.TransformInterface[] transformArray, java.lang.String[] nameArray, java.util.Map fileTypes, boolean showDirectoriesOnly)
initialPath
- the initial file system path to be displayedworkspace
- the IOM IWorkspace used to view the file systemtransformArray
- an array of transforms used to retrieve the file system data for displaynameArray
- an array of Strings used to label the table column headersfileTypes
- allows specification of a Map of display values and filter values for restricting the types of files being viewedshowDirectoriesOnly
- specifies whether to show the directory structure only (true) or show the structure and the files (false)public IFileServiceSelectorPanel(java.lang.String initialPath, com.sas.iom.SAS.IWorkspace workspace, com.sas.util.transforms.TransformInterface[] transformArray, java.lang.Object[] columnRenderers, java.lang.String[] nameArray, java.util.Map fileTypes, boolean showDirectoriesOnly)
initialPath
- the initial file system path to be displayedworkspace
- the IOM IWorkspace used to view the file systemtransformArray
- an array of transforms used to retrieve the file system data for displaynameArray
- an array of Strings used to label the table column headerscolumnRenderers
- an array of cell renderers used to format the column valuesfileTypes
- allows specification of a Map of display values and filter values for restricting the types of files being viewedshowDirectoriesOnly
- specifies whether to show the directory structure only (true) or show the structure and the files (false)Method Detail |
---|
public static java.util.List showDialog(java.awt.Frame parent, java.lang.String titleOfDialog, boolean modal, int typeOfDialog, java.lang.String initialPath, com.sas.iom.SAS.IWorkspace workspace, boolean returnSelectedItems, boolean showDirectoriesOnly)
parent
- the parent window of the dialogtitleOfDialog
- the title of the dialog windowmodal
- specfies whether the dialog is to be modaltypeOfDialog
- specifies whether this dialog functions as a Save, Open, or OK window. Specify OK = 0, Save = 1, Open = 2initialPath
- the initial file system path to be displayedworkspace
- the IOM IWorkspace used to view the file system.returnSelectedItems
- determines whether to return information about the file selections when the window is closedshowDirectoriesOnly
- specifies whether to show the directory structure only (true) or show the structure and the files (false)
IWorkspace
public static java.util.List showDialog(java.awt.Frame parent, java.lang.String titleOfDialog, boolean modal, int typeOfDialog, java.lang.String initialPath, com.sas.iom.SAS.IWorkspace workspace, boolean returnSelectedItems, boolean showDirectoriesOnly, IFileServiceSelectorPanel panel)
parent
- the parent window of the dialogtitleOfDialog
- the title of the dialog windowmodal
- specfies whether the dialog is to be modaltypeOfDialog
- specifies whether this dialog functions as a Save, Open, or OK window. Specify OK = 0, Save = 1, Open = 2initialPath
- the initial file system path to be displayedworkspace
- the IOM IWorkspace used to view the file systemreturnSelectedItems
- determines whether to return information about the file selections when the window is closedshowDirectoriesOnly
- specifies whether to show the directory structure only (true) or show the structure and the files (false)panel
- allows specification of a selector panel other than the default panel
IWorkspace
public IFileServiceModel getServiceModel()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |