From: phjwithyou.park Date: Wed, 1 Aug 2012 02:24:25 +0000 (+0900) Subject: [Title] DA Singleton Dlg. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7371bd67c150aafa8b8e1668ea832bdd8c35170;p=sdk%2Ftools%2Fdynamic-analyzer.git [Title] DA Singleton Dlg. [Type] feature [Module] init [Priority] normal [CQ#] [Redmine#] 6185 [Problem] [Cause] [Solution] [TestCase] --- diff --git a/org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/Application.java b/org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/Application.java index 4933b2d..4a4d14d 100644 --- a/org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/Application.java +++ b/org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/Application.java @@ -38,8 +38,13 @@ public class Application implements IApplication { String filePath = null; if (System.getProperty(AnalyzerConstants.OS_KEY).toLowerCase().indexOf(AnalyzerConstants.LINUX) >= 0) { + + defaultPath = System.getenv(AnalyzerConstants.LINUX_INSTALL_ENV) + "/tizen-sdk/tools/dynamic-analyzer/runFile"; - filePath = System.getenv(AnalyzerConstants.LINUX_INSTALL_ENV) + "/tizen-sdk/tools/dynamic-analyzer/configuration/org.eclipse.osgi/bundles/33/1/.cp/theme/black/img/64_DA_icon.png"; + filePath = System.getenv(AnalyzerConstants.LINUX_INSTALL_ENV) + "/tizen-sdk/tools/dynamic-analyzer/configuration/org.eclipse.osgi/bundles/33/1/.cp/theme/white/img/64_DA_icon.png"; + + System.out.print("ddd"+filePath+"\n"); + } else if(System.getProperty(AnalyzerConstants.OS_KEY).toLowerCase().indexOf(AnalyzerConstants.WIN) >= 0){ defaultPath = "C:\\tizen-sdk\\tools\\dynamic-analyzer\\runFile"; @@ -60,7 +65,7 @@ public class Application implements IApplication { Shell dialog = new Shell(display); Shell shell = new Shell(dialog); - shell.setSize(446, 153); + shell.setSize(455, 153); FormLayout shellLayout = new FormLayout(); shell.setLayout(shellLayout); shell.setText("Info");