[Title] replace ProcessBuilder with Progam class in derail info dialog
authorgiwoong.kim <giwoong.kim@samsung.com>
Fri, 7 Sep 2012 05:52:24 +0000 (14:52 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Fri, 7 Sep 2012 05:52:24 +0000 (14:52 +0900)
[Type] enhancement
[Module] Emulator / menu
[Priority] minor
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/skin/client/src/org/tizen/emulator/skin/dialog/DetailInfoDialog.java

index 0ce1b0cf40bb675535d99cd1159dee025c5c474c..628464c6540fb0626dab152868d65e810bd06fe7 100644 (file)
@@ -29,7 +29,6 @@
 
 package org.tizen.emulator.skin.dialog;
 
-import java.io.File;
 import java.io.IOException;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
@@ -43,6 +42,7 @@ import org.eclipse.swt.events.SelectionEvent;
 import org.eclipse.swt.events.SelectionListener;
 import org.eclipse.swt.layout.FillLayout;
 import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.program.Program;
 import org.eclipse.swt.widgets.Button;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Shell;
@@ -166,7 +166,9 @@ public class DetailInfoDialog extends SkinDialog {
                                        return;
                                }
 
-                               ProcessBuilder procBrowser = new ProcessBuilder();
+                               Program.launch(openPath);
+
+                               /*ProcessBuilder procBrowser = new ProcessBuilder();
 
                                if (SwtUtil.isLinuxPlatform()) {
                                        procBrowser.command("nautilus", "--browser", openPath);
@@ -183,7 +185,7 @@ public class DetailInfoDialog extends SkinDialog {
                                        } catch (Exception e) {
                                                logger.log( Level.SEVERE, e.getMessage(), e);
                                        }
-                               }
+                               }*/
 
                        }
                });