mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 20:45:22 +02:00
[189443] using folder dialog instead of file/folder dialog
This commit is contained in:
parent
c0e89262c8
commit
cf8cde06e6
1 changed files with 2 additions and 1 deletions
|
@ -663,6 +663,7 @@ class RemoteImportWizardPage1 extends WizardResourceImportPage implements Listen
|
||||||
SystemSelectRemoteFolderAction action = new SystemSelectRemoteFolderAction(this.getShell());
|
SystemSelectRemoteFolderAction action = new SystemSelectRemoteFolderAction(this.getShell());
|
||||||
action.setShowNewConnectionPrompt(true);
|
action.setShowNewConnectionPrompt(true);
|
||||||
action.setShowPropertySheet(true, false);
|
action.setShowPropertySheet(true, false);
|
||||||
|
action.setFoldersOnly(true);
|
||||||
action.run();
|
action.run();
|
||||||
IRemoteFile folder = action.getSelectedFolder();
|
IRemoteFile folder = action.getSelectedFolder();
|
||||||
if (folder != null) {
|
if (folder != null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue