Skip to content
Snippets Groups Projects
Commit 6b1aaead authored by Alberto Debiasi's avatar Alberto Debiasi
Browse files

Add path arg in getDirectoryNameFromDialog.

Change-Id: I5e46dca891d1b4b2525ddc1767649fb3cc3870ac
parent acf0e910
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,10 @@ public class DialogUtils {
}
public String getDirectoryNameFromDialog(String title) throws Exception {
return getDirectoryNameFromDialog(title, directoryUtils.getCurrentProjectDir());
}
public String getDirectoryNameFromDialog(String title, String path) throws Exception {
final Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
final DirectoryDialog directoryDialog = new DirectoryDialog(shell);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment