public class RemoteDirectoryWidget
extends Composite
setBrowseMessage(String)
Constructor and Description |
---|
RemoteDirectoryWidget(Composite parent,
int style,
String title,
String defaultPath) |
Modifier and Type | Method and Description |
---|---|
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.
|
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
- Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.