public class RemoteResourceBrowser
extends Dialog
Modifier and Type | Field and Description |
---|---|
static int |
DIRECTORY_BROWSER |
static String |
EMPTY_STRING |
static int |
FILE_BROWSER |
static int |
MULTI |
static int |
SINGLE |
Constructor and Description |
---|
RemoteResourceBrowser(IRemoteServices services,
IRemoteConnection conn,
Shell parent,
int flags) |
Modifier and Type | Method and Description |
---|---|
protected Button |
createButton(Composite parent,
int id,
String label,
boolean defaultButton) |
protected Control |
createContents(Composite parent) |
protected Control |
createDialogArea(Composite parent) |
IRemoteConnection |
getConnection()
Get the connection that was selected
|
String |
getPath()
Get the path that was selected.
|
String[] |
getPaths()
Get the paths that were selected.
|
void |
setInitialPath(String path)
Set the initial path to start browsing.
|
void |
setTitle(String title)
Set the dialogTitle of the dialog.
|
void |
setType(int type)
Set the type of browser.
|
void |
showConnections(boolean enable)
Show available connections on browser if possible.
|
public static final String EMPTY_STRING
public static final int FILE_BROWSER
public static final int DIRECTORY_BROWSER
public static final int SINGLE
public static final int MULTI
public RemoteResourceBrowser(IRemoteServices services, IRemoteConnection conn, Shell parent, int flags)
protected Button createButton(Composite parent, int id, String label, boolean defaultButton)
protected Control createContents(Composite parent)
protected Control createDialogArea(Composite parent)
public IRemoteConnection getConnection()
public String getPath()
public String[] getPaths()
public void setInitialPath(String path)
path
- public void setTitle(String title)
title
- public void setType(int type)
public void showConnections(boolean enable)
enable
- Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.