mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
Bug 437842 - Fix setInitialPath() so it works.
Change-Id: Ic8599552b1c1b9b99743bd73429b60a1d73dc29f Signed-off-by: Greg Watson <g.watson@computer.org>
This commit is contained in:
parent
407382d8af
commit
8149858afc
2 changed files with 5 additions and 3 deletions
|
@ -116,12 +116,12 @@ public class RemoteResourceBrowser extends Dialog implements IRunnableContext {
|
|||
} else {
|
||||
setTitle(fDialogTitle);
|
||||
}
|
||||
if (fConnection != null) {
|
||||
fResourceBrowserWidget.setConnection(fConnection);
|
||||
}
|
||||
if (fInitialPath != null) {
|
||||
fResourceBrowserWidget.setInitialPath(fInitialPath);
|
||||
}
|
||||
if (fConnection != null) {
|
||||
fResourceBrowserWidget.setConnection(fConnection);
|
||||
}
|
||||
updateDialog();
|
||||
return contents;
|
||||
}
|
||||
|
|
|
@ -517,6 +517,8 @@ public class RemoteResourceBrowserWidget extends Composite {
|
|||
* text field, and in a future version should expand the browser to this
|
||||
* location if it exists.
|
||||
*
|
||||
* NOTE: This must be called *before* {@link #setConnection(IRemoteConnection)} to have any effect.
|
||||
*
|
||||
* @param path
|
||||
*/
|
||||
public void setInitialPath(String path) {
|
||||
|
|
Loading…
Add table
Reference in a new issue