|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectComposite
org.eclipse.ptp.remote.ui.widgets.RemoteDirectoryWidget
public class RemoteDirectoryWidget
Widget to allow the user to select a remote directory. Provides a "Browse"
button that uses the currently specified connection and a "Restore Default"
button to revert to the initial setting.
If title is supplied then the widget will be placed in a group.
The browse message can be modified using setBrowseMessage(String)
| Constructor Summary | |
|---|---|
RemoteDirectoryWidget(Composite parent,
int style,
String title,
String defaultPath)
|
|
| Method Summary | |
|---|---|
void |
addModifyListener(ModifyListener listener)
Add a listener that will be notified when the directory path is modified. |
String |
getLocationPath()
Get the directory location path. |
void |
removeModifyListener(ModifyListener listener)
Remove a listener that will be notified when the directory path is modified. |
void |
setBrowseMessage(String message)
Set the message that will be displayed in the remote directory browser dialog. |
void |
setConnection(IRemoteConnection conn)
Set the remote connection to use for browsing for the remote directory. |
void |
setLocationPath(String path)
Set the initial remote location that will be displayed in the widget. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteDirectoryWidget(Composite parent,
int style,
String title,
String defaultPath)
| Method Detail |
|---|
public void addModifyListener(ModifyListener listener)
listener - listener to addpublic String getLocationPath()
public void removeModifyListener(ModifyListener listener)
listener - listener to removepublic void setBrowseMessage(String message)
message - message to be displayedpublic void setConnection(IRemoteConnection conn)
conn - remote connectionpublic void setLocationPath(String path)
path -
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||