From: p.privalov Date: Tue, 19 Jul 2016 13:01:08 +0000 (+0300) Subject: SRADA-863 GUI Save and GUI Load dialog use PathManager.DA_SAVE_PATH as default. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b43d47c16973ec2501db2a815752cb762e4970ec;p=sdk%2Ftools%2Fdynamic-analyzer.git SRADA-863 GUI Save and GUI Load dialog use PathManager.DA_SAVE_PATH as default. Change-Id: I43545ee1e512b657b340285e694ac9418c3dc060 --- diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/MenuBar.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/MenuBar.java index 78cd9d7..636fa3d 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/MenuBar.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/MenuBar.java @@ -39,6 +39,7 @@ import org.eclipse.swt.widgets.Shell; import org.tizen.dynamicanalyzer.common.AnalyzerManager; import org.tizen.dynamicanalyzer.common.DAState; import org.tizen.dynamicanalyzer.common.Global; +import org.tizen.dynamicanalyzer.common.path.PathManager; import org.tizen.dynamicanalyzer.communicator.DACommunicator; import org.tizen.dynamicanalyzer.communicator.UnsupportedProtocolException; import org.tizen.dynamicanalyzer.handlers.CommandAction; @@ -288,6 +289,7 @@ public class MenuBar { dialog.setFilterNames(new String[] { "Zip file" }); dialog.setFilterExtensions(new String[] { "*.zip" }); dialog.setText(MenuBarLabels.FILE_LOAD_DIALOG_TITLE); + dialog.setFilterPath(PathManager.DA_SAVE_PATH); final Object result = dialog.open(); if (null != result) { @@ -766,6 +768,7 @@ public class MenuBar { dialog.setFilterExtensions(new String[] { "*.zip" }); dialog.setFileName(savefilename + ".zip"); dialog.setText(MenuBarLabels.FILE_SAVE_DIALOG_TITLE); + dialog.setFilterPath(PathManager.DA_SAVE_PATH); Object result = dialog.open(); if (null != result) {