From b43d47c16973ec2501db2a815752cb762e4970ec Mon Sep 17 00:00:00 2001 From: "p.privalov" Date: Tue, 19 Jul 2016 16:01:08 +0300 Subject: [PATCH] SRADA-863 GUI Save and GUI Load dialog use PathManager.DA_SAVE_PATH as default. Change-Id: I43545ee1e512b657b340285e694ac9418c3dc060 --- .../src/org/tizen/dynamicanalyzer/ui/page/MenuBar.java | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 2.7.4