[Title] Modify theme name.
authoryser.lee <yser.lee@samsung.com>
Mon, 7 Nov 2011 10:53:36 +0000 (19:53 +0900)
committeryser.lee <yser.lee@samsung.com>
Mon, 7 Nov 2011 10:53:36 +0000 (19:53 +0900)
[Type] Feature
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

com.samsung.dynamicanalyzer.workbench/src/com/samsung/dynamicanalyzer/workbench/Application.java
com.samsung.dynamicanalyzer.workbench/src/com/samsung/dynamicanalyzer/workbench/ApplicationWorkbenchWindowAdvisor.java
com.samsung.dynamicanalyzer/plugin.properties
com.samsung.dynamicanalyzer/plugin.xml

index 5c1629f..b8ae350 100644 (file)
@@ -14,10 +14,11 @@ public class Application implements IApplication {
                try {
                        int returnCode = PlatformUI.createAndRunWorkbench(display,
                                        new ApplicationWorkbenchAdvisor());
-                       if (returnCode == PlatformUI.RETURN_RESTART)
+                       if (returnCode == PlatformUI.RETURN_RESTART) {
                                return IApplication.EXIT_RESTART;
-                       else
+                       } else {
                                return IApplication.EXIT_OK;
+                       }
                } finally {
                        display.dispose();
                }
index 8180c8c..daf2d21 100644 (file)
@@ -31,7 +31,6 @@ public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
        public static final int width = 1024;
        public static final int height = 768;
 
-       private boolean recording = false;
        private Button startButton;
        private Button moreButton;
 
index b28126c..ce97266 100644 (file)
@@ -24,6 +24,9 @@ BottleNeck=Bottle Neck
 #Command label, Toolbar tooltip\r
 Start=Start\r
 \r
+#Theme name\r
+DynamicAnalyzerTheme=Dynamic Analyzer Theme\r
+\r
 #View name\r
 Summary=Summary\r
 Snapshot=Snapshot\r
index c8f0b7a..d6a783d 100644 (file)
          </hiddenToolBarItem>\r
       </perspectiveExtension>\r
    </extension>\r
+   <extension
+         point="org.eclipse.ui.themes">\r
+      <theme\r
+            id="com.samsung.dynamicanalyzer.theme"\r
+            name="%DynamicAnalyzerTheme">\r
+         <colorOverride\r
+               id="org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END"\r
+               value="102,102,102">\r
+         </colorOverride>\r
+         <colorOverride\r
+               id="org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START"\r
+               value="153,153,153">\r
+         </colorOverride>\r
+         <colorOverride\r
+               id="org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_TEXT_COLOR"\r
+               value="255,255,255">\r
+         </colorOverride>\r
+         <colorOverride\r
+               id="org.eclipse.ui.workbench.ACTIVE_TAB_BG_END"\r
+               value="051,051,255">\r
+         </colorOverride>\r
+         <colorOverride\r
+               id="org.eclipse.ui.workbench.ACTIVE_TAB_BG_START"\r
+               value="153,153,255">\r
+         </colorOverride>\r
+         <colorOverride\r
+               id="org.eclipse.ui.workbench.ACTIVE_TAB_TEXT_COLOR"\r
+               value="255,255,255">\r
+         </colorOverride>\r
+         <colorOverride\r
+               id="org.eclipse.ui.workbench.INACTIVE_TAB_BG_END"\r
+               value="102,102,102">\r
+         </colorOverride>\r
+         <colorOverride\r
+               id="org.eclipse.ui.workbench.INACTIVE_TAB_BG_START"\r
+               value="153,153,153">\r
+         </colorOverride>\r
+         <colorOverride\r
+               id="org.eclipse.ui.workbench.INACTIVE_TAB_TEXT_COLOR"\r
+               value="255,255,255">\r
+         </colorOverride>\r
+      </theme>\r
+   </extension>\r
    <extension\r
          point="org.eclipse.ui.views">\r
       <category\r
             class="com.samsung.dynamicanalyzer.extensions.InsertLog">\r
       </updateLog>\r
    </extension>\r
-   <extension
-         point="org.eclipse.ui.themes">\r
-      <theme\r
-            id="com.samsung.dynamicanalyzer.theme"\r
-            name="theme">\r
-         <colorOverride\r
-               id="org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END"\r
-               value="102,102,102">\r
-         </colorOverride>\r
-         <colorOverride\r
-               id="org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START"\r
-               value="153,153,153">\r
-         </colorOverride>\r
-         <colorOverride\r
-               id="org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_TEXT_COLOR"\r
-               value="255,255,255">\r
-         </colorOverride>\r
-         <colorOverride\r
-               id="org.eclipse.ui.workbench.ACTIVE_TAB_BG_END"\r
-               value="051,051,255">\r
-         </colorOverride>\r
-         <colorOverride\r
-               id="org.eclipse.ui.workbench.ACTIVE_TAB_BG_START"\r
-               value="153,153,255">\r
-         </colorOverride>\r
-         <colorOverride\r
-               id="org.eclipse.ui.workbench.ACTIVE_TAB_TEXT_COLOR"\r
-               value="255,255,255">\r
-         </colorOverride>\r
-         <colorOverride\r
-               id="org.eclipse.ui.workbench.INACTIVE_TAB_BG_END"\r
-               value="102,102,102">\r
-         </colorOverride>\r
-         <colorOverride\r
-               id="org.eclipse.ui.workbench.INACTIVE_TAB_BG_START"\r
-               value="153,153,153">\r
-         </colorOverride>\r
-         <colorOverride\r
-               id="org.eclipse.ui.workbench.INACTIVE_TAB_TEXT_COLOR"\r
-               value="255,255,255">\r
-         </colorOverride>\r
-      </theme>\r
-   </extension>\r
    <extension\r
          point="com.samsung.dynamicanalyzer.updateLog">\r
       <updateLog\r