|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.ptp.remote.ui.dialogs.RemoteResourceBrowser
public class RemoteResourceBrowser
Generic file/directory browser for remote resources.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
|---|
org.eclipse.jface.window.Window.IExceptionHandler |
| Field Summary | |
|---|---|
static int |
DIRECTORY_BROWSER
|
static java.lang.String |
EMPTY_STRING
|
static int |
FILE_BROWSER
|
static int |
MULTI
|
static int |
SINGLE
|
| Fields inherited from class org.eclipse.jface.dialogs.Dialog |
|---|
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS |
| Fields inherited from class org.eclipse.jface.window.Window |
|---|
CANCEL, OK |
| Constructor Summary | |
|---|---|
RemoteResourceBrowser(IRemoteServices services,
IRemoteConnection conn,
org.eclipse.swt.widgets.Shell parent,
int flags)
|
|
| Method Summary | |
|---|---|
protected org.eclipse.swt.widgets.Button |
createButton(org.eclipse.swt.widgets.Composite parent,
int id,
java.lang.String label,
boolean defaultButton)
|
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent)
|
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.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 org.eclipse.jface.dialogs.Dialog |
|---|
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButtonBar, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
| Methods inherited from class org.eclipse.jface.window.Window |
|---|
canHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
| 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,
org.eclipse.swt.widgets.Shell parent,
int flags)
| Method Detail |
|---|
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)
dialogTitle - public void setType(int type)
public void showConnections(boolean enable)
enable -
protected org.eclipse.swt.widgets.Button createButton(org.eclipse.swt.widgets.Composite parent,
int id,
java.lang.String label,
boolean defaultButton)
createButton in class org.eclipse.jface.dialogs.Dialogprotected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents in class org.eclipse.jface.dialogs.Dialogprotected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea in class org.eclipse.jface.dialogs.Dialog
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||