[Title] fixed bug : check command whether the application is running & prerence page...
authorGun Kim <gune.kim@samsung.com>
Tue, 13 Nov 2012 02:47:24 +0000 (11:47 +0900)
committerGun Kim <gune.kim@samsung.com>
Wed, 14 Nov 2012 11:06:34 +0000 (20:06 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Id3c2b674588a48832e02a2c72bfb539dfdbab74d

org.tizen.common/src/org/tizen/common/TizenPlatformConstants.java
org.tizen.common/src/org/tizen/common/rds/ui/preference/RdsPreferencePage.java
org.tizen.common/src/org/tizen/common/ui/page/preference/Messages.java
org.tizen.common/src/org/tizen/common/ui/page/preference/Messages.properties

index 8ebddae..7a541a3 100644 (file)
@@ -49,6 +49,9 @@ public class TizenPlatformConstants {
     // Definitions for packaging
     public static final String PACKAGENAME_PREFIX = "org.tizen";
     public static final String DEBIAN_INSTALL_PATH = "opt/*";
+    public static final String PKGTYPE_TPK = "TPK";
+    public static final String PKGTYPE_RPM = "RPM";
+    public static final String PKGTYPE_DEB = "DEB";
 
     // Definitions for debugging
     public static final String PUBICL_PLATFORM_CORE_PATH = "/opt/bs/core";
@@ -65,7 +68,7 @@ public class TizenPlatformConstants {
     public static final String PKG_TOOL_REMOVE_COMMAND = PKG_TOOL + " -q -u -t %s -n %s";
     public static final String PKG_TOOL_INSTALL_COMMAND = PKG_TOOL + " -q -i -t %s -p %s";
     public static final String PKG_TOOL_RUNNING_CHECK_COMMAND = PKG_TOOL + " -C -t %s -n %s";
-    public static final String PKG_TOOL_TERMINATE_COMMAND = PKG_TOOL + " -k -t %s -n%s";
+    public static final String PKG_TOOL_TERMINATE_COMMAND = PKG_TOOL + " -k -t %s -n %s";
     public static final String PKG_TOOL_INSTALL_PATH_COMMAND = PKG_TOOL + " -a";
 
     // Definitions for launching
index e930cbf..231faff 100644 (file)
@@ -89,7 +89,7 @@ public class RdsPreferencePage extends PropertyAndPreferencePage implements IWor
         rdsComposite.setLayout(gridLayout);
         
         btnRdsCheck = new Button(rdsComposite, SWT.CHECK);
-        btnRdsCheck.setText("Enable Rapid Development Support");
+        btnRdsCheck.setText(Messages.RDS_MODE_PREFERENCE);
         btnRdsCheck.setSelection( getRdsOption() );
         createNoteComposite(JFaceResources.getDialogFont(), rdsComposite, "Note:", Messages.RDS_NOTE);
     }
index 99acede..ec48dd8 100644 (file)
@@ -41,6 +41,7 @@ public class Messages {
     public static String PROPERTIES_PAGE_BODY;
     public static String RDS_NOTE;
     public static String RDS_OPTION_SAVE_FAIL;
+    public static String RDS_MODE_PREFERENCE;
     
     static {
         // initialize resource bundle
index 1af8bda..103cb40 100644 (file)
@@ -5,4 +5,5 @@ GROUP2=SDK update
 LABEL_UPDATE=Automatically find new updates at start-up and notify me
 PROPERTIES_PAGE_BODY=Expand the tree to edit preferences for a specific feature.
 RDS_NOTE=Currently, this option is not supported for web project and multi-app project.
-RDS_OPTION_SAVE_FAIL=Failed to save options.
\ No newline at end of file
+RDS_OPTION_SAVE_FAIL=Failed to save options.
+RDS_MODE_PREFERENCE=Enable rapid development mode
\ No newline at end of file