[Title] Modify layout.
authoryser.lee <yser.lee@samsung.com>
Mon, 31 Oct 2011 05:24:05 +0000 (14:24 +0900)
committeryser.lee <yser.lee@samsung.com>
Mon, 31 Oct 2011 05:24:05 +0000 (14:24 +0900)
[Type] Feature
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

com.samsung.dynamicanalyzer/plugin.properties
com.samsung.dynamicanalyzer/plugin.xml
com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/AnalysisView.java [moved from com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/FailedAPIView.java with 72% similarity]
com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/MemoryLeakView.java [deleted file]
com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/ResourceLifecycleView.java [deleted file]
com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/StatisticsView.java [deleted file]
com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/SummaryView.java [moved from com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/ApplicationInfoView.java with 81% similarity]
com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/UserFunctionActivityView.java [deleted file]

index fff3120..58c1ff0 100644 (file)
@@ -23,13 +23,9 @@ Start=Start
 #Preference title\r
 \r
 #View id, name\r
-ApplicationInfo=Application Info\r
+Summary=Summary\r
 Snapshot=Snapshot\r
 Timeline=Timeline\r
 AdditionalTimeline=Additional Timeline\r
-ResourceLifecycle=Resource Lifecycle\r
-MemoryLeak=Memory Leak\r
-FailedAPI=Failed API\r
-UserFunctionActivity=User Function Activity\r
-Statistics=Statistics\r
+Analysis=Analysis\r
 Log=Log\r
index 56b4e23..b59621e 100644 (file)
       </command>\r
    </extension>\r
    <extension\r
+         point="org.eclipse.ui.handlers">\r
+      <handler\r
+            class="com.samsung.dynamicanalyzer.handlers.StartStopTraceHandler"\r
+            commandId="com.samsung.dynamicanalyzer.commands.startStopTrace">\r
+      </handler>\r
+      <handler\r
+            class="com.samsung.dynamicanalyzer.handlers.SaveAsTraceHandler"\r
+            commandId="com.samsung.dynamicanalyzer.commands.saveAsTrace">\r
+      </handler>\r
+      <handler\r
+            class="com.samsung.dynamicanalyzer.handlers.OpenTraceHandler"\r
+            commandId="com.samsung.dynamicanalyzer.commands.openTrace">\r
+      </handler>\r
+   </extension>\r
+   <extension\r
+         point="org.eclipse.ui.menus">\r
+      <menuContribution\r
+            allPopups="false"\r
+            locationURI="toolbar:org.eclipse.ui.main.toolbar">\r
+         <toolbar\r
+               id="com.samsung.dynamicanalyzer.menus.toolbar.startStopTrace">\r
+            <command\r
+                  commandId="com.samsung.dynamicanalyzer.commands.startStopTrace"\r
+                  id="com.samsung.dynamicanalyzer.commands.startStopTrace"\r
+                  label="%Start"\r
+                  style="push"\r
+                  tooltip="%Start">\r
+            </command>\r
+         </toolbar>\r
+      </menuContribution>\r
+      <menuContribution\r
+            allPopups="false"\r
+            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=com.samsung.dynamicanalyzer.menus.toolbar.startStopTrace">\r
+         <toolbar\r
+               id="com.samsung.dynamicanalyzer.menus.toolbar.saveOpenTrace">\r
+            <command\r
+                  commandId="com.samsung.dynamicanalyzer.commands.saveAsTrace"\r
+                  id="com.samsung.dynamicanalyzer.commands.saveAsTrace"\r
+                  label="%SaveAsTrace"\r
+                  style="push"\r
+                  tooltip="%SaveAsTrace">\r
+            </command>\r
+            <command\r
+                  commandId="com.samsung.dynamicanalyzer.commands.openTrace"\r
+                  id="com.samsung.dynamicanalyzer.commands.openTrace"\r
+                  label="%OpenTrace"\r
+                  style="push"\r
+                  tooltip="%OpenTrace">\r
+            </command>\r
+         </toolbar>\r
+      </menuContribution>\r
+   </extension>\r
+   <extension\r
          point="org.eclipse.ui.perspectiveExtensions">\r
       <perspectiveExtension\r
             targetID="com.samsung.dynamicanalyzer.perspective">\r
          <view\r
-               id="com.samsung.dynamicanalyzer.ui.views.ApplicationInfoView"\r
-               ratio=".2"\r
-               relationship="left"\r
+               closeable="false"\r
+               id="com.samsung.dynamicanalyzer.ui.views.SnapshotView"\r
+               ratio=".4"\r
+               relationship="top"\r
                relative="org.eclipse.ui.editorss"\r
-               showTitle="false"\r
+               showTitle="true"\r
                standalone="true">\r
          </view>\r
          <view\r
-               id="com.samsung.dynamicanalyzer.ui.views.SnapshotView"\r
-               ratio=".4"\r
-               relationship="bottom"\r
-               relative="com.samsung.dynamicanalyzer.ui.views.ApplicationInfoView"\r
+               closeable="false"\r
+               id="com.samsung.dynamicanalyzer.ui.views.SummaryView"\r
+               relationship="stack"\r
+               relative="com.samsung.dynamicanalyzer.ui.views.SnapshotView"\r
                showTitle="false"\r
                standalone="true">\r
          </view>\r
          <view\r
-               id="com.samsung.dynamicanalyzer.ui.views.TimelineView"\r
+               closeable="false"\r
+               id="com.samsung.dynamicanalyzer.ui.views.AdditionalTimelineView"\r
                minimized="false"\r
                ratio=".8"\r
-               relationship="right"\r
-               relative="org.eclipse.ui.editorss"\r
+               relationship="left"\r
+               relative="com.samsung.dynamicanalyzer.ui.views.SnapshotView"\r
                showTitle="false"\r
                standalone="true">\r
          </view>\r
          <view\r
-               id="com.samsung.dynamicanalyzer.ui.views.AdditionalTimelineView"\r
+               closeable="false"\r
+               id="com.samsung.dynamicanalyzer.ui.views.TimelineView"\r
                minimized="false"\r
-               ratio=".15"\r
-               relationship="bottom"\r
-               relative="com.samsung.dynamicanalyzer.ui.views.TimelineView"\r
+               ratio=".5"\r
+               relationship="top"\r
+               relative="com.samsung.dynamicanalyzer.ui.views.AdditionalTimelineView"\r
                showTitle="false"\r
                standalone="true">\r
          </view>\r
          <view\r
                closeable="false"\r
-               id="com.samsung.dynamicanalyzer.ui.views.ResourceLifecycleView"\r
+               id="com.samsung.dynamicanalyzer.ui.views.AnalysisView"\r
                minimized="false"\r
-               ratio=".2"\r
                relationship="bottom"\r
-               relative="com.samsung.dynamicanalyzer.ui.views.AdditionalTimelineView">\r
-         </view>\r
-         <view\r
-               closeable="false"\r
-               id="com.samsung.dynamicanalyzer.ui.views.MemoryLeakView"\r
-               minimized="false"\r
-               relationship="stack"\r
-               relative="com.samsung.dynamicanalyzer.ui.views.ResourceLifecycleView">\r
-         </view>\r
-         <view\r
-               closeable="false"\r
-               id="com.samsung.dynamicanalyzer.ui.views.FailedAPIView"\r
-               minimized="false"\r
-               relationship="stack"\r
-               relative="com.samsung.dynamicanalyzer.ui.views.ResourceLifecycleView">\r
-         </view>\r
-         <view\r
-               closeable="false"\r
-               id="com.samsung.dynamicanalyzer.ui.views.UserFunctionActivityView"\r
-               minimized="false"\r
-               relationship="stack"\r
-               relative="com.samsung.dynamicanalyzer.ui.views.ResourceLifecycleView">\r
-         </view>\r
-         <view\r
-               closeable="false"\r
-               id="com.samsung.dynamicanalyzer.ui.views.StatisticsView"\r
-               minimized="false"\r
-               relationship="stack"\r
-               relative="com.samsung.dynamicanalyzer.ui.views.ResourceLifecycleView">\r
+               relative="org.eclipse.ui.editorss">\r
          </view>\r
          <view\r
                closeable="false"\r
                id="com.samsung.dynamicanalyzer.ui.views.LogView"\r
                minimized="false"\r
                relationship="stack"\r
-               relative="com.samsung.dynamicanalyzer.ui.views.ResourceLifecycleView">\r
+               relative="com.samsung.dynamicanalyzer.ui.views.AnalysisView">\r
          </view>\r
       </perspectiveExtension>\r
    </extension>\r
       </category>\r
       <view\r
             category="com.samsung.dynamicanalyzer.ui.views"\r
-            class="com.samsung.dynamicanalyzer.ui.views.ApplicationInfoView"\r
-            id="com.samsung.dynamicanalyzer.ui.views.ApplicationInfoView"\r
-            name="%ApplicationInfo"\r
-            restorable="true">\r
-      </view>\r
-      <view\r
-            category="com.samsung.dynamicanalyzer.ui.views"\r
             class="com.samsung.dynamicanalyzer.ui.views.SnapshotView"\r
             id="com.samsung.dynamicanalyzer.ui.views.SnapshotView"\r
             name="%Snapshot"\r
       </view>\r
       <view\r
             category="com.samsung.dynamicanalyzer.ui.views"\r
-            class="com.samsung.dynamicanalyzer.ui.views.TimelineView"\r
-            id="com.samsung.dynamicanalyzer.ui.views.TimelineView"\r
-            name="%Timeline"\r
+            class="com.samsung.dynamicanalyzer.ui.views.SummaryView"\r
+            id="com.samsung.dynamicanalyzer.ui.views.SummaryView"\r
+            name="%Summary"\r
             restorable="true">\r
       </view>\r
       <view\r
       </view>\r
       <view\r
             category="com.samsung.dynamicanalyzer.ui.views"\r
-            class="com.samsung.dynamicanalyzer.ui.views.ResourceLifecycleView"\r
-            id="com.samsung.dynamicanalyzer.ui.views.ResourceLifecycleView"\r
-            name="%ResourceLifecycle"\r
-            restorable="true">\r
-      </view>\r
-      <view\r
-            category="com.samsung.dynamicanalyzer.ui.views"\r
-            class="com.samsung.dynamicanalyzer.ui.views.MemoryLeakView"\r
-            id="com.samsung.dynamicanalyzer.ui.views.MemoryLeakView"\r
-            name="%MemoryLeak"\r
-            restorable="true">\r
-      </view>\r
-      <view\r
-            category="com.samsung.dynamicanalyzer.ui.views"\r
-            class="com.samsung.dynamicanalyzer.ui.views.FailedAPIView"\r
-            id="com.samsung.dynamicanalyzer.ui.views.FailedAPIView"\r
-            name="%FailedAPI"\r
-            restorable="true">\r
-      </view>\r
-      <view\r
-            category="com.samsung.dynamicanalyzer.ui.views"\r
-            class="com.samsung.dynamicanalyzer.ui.views.UserFunctionActivityView"\r
-            id="com.samsung.dynamicanalyzer.ui.views.UserFunctionActivityView"\r
-            name="%UserFunctionActivity"\r
+            class="com.samsung.dynamicanalyzer.ui.views.TimelineView"\r
+            id="com.samsung.dynamicanalyzer.ui.views.TimelineView"\r
+            name="%Timeline"\r
             restorable="true">\r
       </view>\r
       <view\r
             category="com.samsung.dynamicanalyzer.ui.views"\r
-            class="com.samsung.dynamicanalyzer.ui.views.StatisticsView"\r
-            id="com.samsung.dynamicanalyzer.ui.views.StatisticsView"\r
-            name="%Statistics"\r
+            class="com.samsung.dynamicanalyzer.ui.views.AnalysisView"\r
+            id="com.samsung.dynamicanalyzer.ui.views.AnalysisView"\r
+            name="%Analysis"\r
             restorable="true">\r
       </view>\r
       <view\r
             name="%Log"\r
             restorable="true">\r
       </view>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.menus">\r
-      <menuContribution\r
-            allPopups="false"\r
-            locationURI="toolbar:org.eclipse.ui.main.toolbar">\r
-         <toolbar\r
-               id="com.samsung.dynamicanalyzer.menus.toolbar.startStopTrace">\r
-            <command\r
-                  commandId="com.samsung.dynamicanalyzer.commands.startStopTrace"\r
-                  id="com.samsung.dynamicanalyzer.commands.startStopTrace"\r
-                  label="%Start"\r
-                  style="push"\r
-                  tooltip="%Start">\r
-            </command>\r
-         </toolbar>\r
-      </menuContribution>\r
-      <menuContribution\r
-            allPopups="false"\r
-            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=com.samsung.dynamicanalyzer.menus.toolbar.startStopTrace">\r
-         <toolbar\r
-               id="com.samsung.dynamicanalyzer.menus.toolbar.saveOpenTrace">\r
-            <command\r
-                  commandId="com.samsung.dynamicanalyzer.commands.saveAsTrace"\r
-                  id="com.samsung.dynamicanalyzer.commands.saveAsTrace"\r
-                  label="%SaveAsTrace"\r
-                  style="push"\r
-                  tooltip="%SaveAsTrace">\r
-            </command>\r
-            <command\r
-                  commandId="com.samsung.dynamicanalyzer.commands.openTrace"\r
-                  id="com.samsung.dynamicanalyzer.commands.openTrace"\r
-                  label="%OpenTrace"\r
-                  style="push"\r
-                  tooltip="%OpenTrace">\r
-            </command>\r
-         </toolbar>\r
-      </menuContribution>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.handlers">\r
-      <handler\r
-            class="com.samsung.dynamicanalyzer.handlers.StartStopTraceHandler"\r
-            commandId="com.samsung.dynamicanalyzer.commands.startStopTrace">\r
-      </handler>\r
-      <handler\r
-            class="com.samsung.dynamicanalyzer.handlers.SaveAsTraceHandler"\r
-            commandId="com.samsung.dynamicanalyzer.commands.saveAsTrace">\r
-      </handler>\r
-      <handler\r
-            class="com.samsung.dynamicanalyzer.handlers.OpenTraceHandler"\r
-            commandId="com.samsung.dynamicanalyzer.commands.openTrace">\r
-      </handler>\r
    </extension>
 </plugin>\r
@@ -3,9 +3,9 @@ package com.samsung.dynamicanalyzer.ui.views;
 import org.eclipse.swt.widgets.Composite;\r
 import org.eclipse.ui.part.ViewPart;\r
 \r
-public class FailedAPIView extends ViewPart {\r
+public class AnalysisView extends ViewPart {\r
 \r
-       public FailedAPIView() {\r
+       public AnalysisView() {\r
        }\r
 \r
        @Override\r
diff --git a/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/MemoryLeakView.java b/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/MemoryLeakView.java
deleted file mode 100644 (file)
index bf1aab6..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.samsung.dynamicanalyzer.ui.views;\r
-\r
-import org.eclipse.swt.widgets.Composite;\r
-import org.eclipse.ui.part.ViewPart;\r
-\r
-public class MemoryLeakView extends ViewPart {\r
-\r
-       public MemoryLeakView() {\r
-       }\r
-\r
-       @Override\r
-       public void createPartControl(Composite parent) {\r
-       }\r
-\r
-       @Override\r
-       public void setFocus() {\r
-       }\r
-\r
-}\r
diff --git a/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/ResourceLifecycleView.java b/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/ResourceLifecycleView.java
deleted file mode 100644 (file)
index efe7ccb..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.samsung.dynamicanalyzer.ui.views;\r
-\r
-import org.eclipse.swt.widgets.Composite;\r
-import org.eclipse.ui.part.ViewPart;\r
-\r
-public class ResourceLifecycleView extends ViewPart {\r
-\r
-       public ResourceLifecycleView() {\r
-       }\r
-\r
-       @Override\r
-       public void createPartControl(Composite parent) {\r
-       }\r
-\r
-       @Override\r
-       public void setFocus() {\r
-       }\r
-\r
-}\r
diff --git a/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/StatisticsView.java b/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/StatisticsView.java
deleted file mode 100644 (file)
index 5ddb50c..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.samsung.dynamicanalyzer.ui.views;\r
-\r
-import org.eclipse.swt.widgets.Composite;\r
-import org.eclipse.ui.part.ViewPart;\r
-\r
-public class StatisticsView extends ViewPart {\r
-\r
-       public StatisticsView() {\r
-       }\r
-\r
-       @Override\r
-       public void createPartControl(Composite parent) {\r
-       }\r
-\r
-       @Override\r
-       public void setFocus() {\r
-       }\r
-\r
-}\r
@@ -3,7 +3,7 @@ package com.samsung.dynamicanalyzer.ui.views;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.part.ViewPart;
 
-public class ApplicationInfoView extends ViewPart {
+public class SummaryView extends ViewPart {
 
        @Override
        public void createPartControl(final Composite parent) {
diff --git a/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/UserFunctionActivityView.java b/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/ui/views/UserFunctionActivityView.java
deleted file mode 100644 (file)
index 10eda8f..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.samsung.dynamicanalyzer.ui.views;\r
-\r
-import org.eclipse.swt.widgets.Composite;\r
-import org.eclipse.ui.part.ViewPart;\r
-\r
-public class UserFunctionActivityView extends ViewPart {\r
-\r
-       public UserFunctionActivityView() {\r
-       }\r
-\r
-       @Override\r
-       public void createPartControl(Composite parent) {\r
-       }\r
-\r
-       @Override\r
-       public void setFocus() {\r
-       }\r
-\r
-}\r