|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDialog
org.eclipse.ptp.remote.ui.dialogs.RemoteResourceBrowser
public class RemoteResourceBrowser
Generic file/directory browser for remote resources.
| Field Summary | |
|---|---|
static int |
DIRECTORY_BROWSER
|
static java.lang.String |
EMPTY_STRING
|
static int |
FILE_BROWSER
|
static int |
MULTI
|
static int |
SINGLE
|
| Constructor Summary | |
|---|---|
RemoteResourceBrowser(IRemoteServices services,
IRemoteConnection conn,
Shell parent,
int flags)
|
|
| Method Summary | |
|---|---|
protected Button |
createButton(Composite parent,
int id,
java.lang.String label,
boolean defaultButton)
|
protected Control |
createContents(Composite parent)
|
protected Control |
createDialogArea(Composite parent)
|
IRemoteConnection |
getConnection()
Get the connection that was selected |
java.lang.String |
getPath()
Get the path that was selected. |
java.lang.String[] |
getPaths()
Get the paths that were selected. |
void |
setInitialPath(java.lang.String path)
Set the initial path to start browsing. |
void |
setTitle(java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.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
| Constructor Detail |
|---|
public RemoteResourceBrowser(IRemoteServices services,
IRemoteConnection conn,
Shell parent,
int flags)
| Method Detail |
|---|
protected Button createButton(Composite parent,
int id,
java.lang.String label,
boolean defaultButton)
protected Control createContents(Composite parent)
protected Control createDialogArea(Composite parent)
public IRemoteConnection getConnection()
public java.lang.String getPath()
public java.lang.String[] getPaths()
public void setInitialPath(java.lang.String path)
path - public void setTitle(java.lang.String title)
title - public void setType(int type)
public void showConnections(boolean enable)
enable -
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||