[Title] CoolbarArea fix and TimerClock fixed
authorjy.exe.lee <jy.exe.lee@samsung.com>
Mon, 16 Jul 2012 06:33:34 +0000 (15:33 +0900)
committerjy.exe.lee <jy.exe.lee@samsung.com>
Mon, 16 Jul 2012 06:33:34 +0000 (15:33 +0900)
[Type] bug fix
[Module] Dynamic Analyzer
[Priority] normal
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

151 files changed:
org.tizen.dynamicanalyzer.widgets/Images/dialog_button_push.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/dialog_button_push.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/dropdown_down.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/dropdown_down.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/dropdown_up.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/dropdown_up.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/noImage.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/noImage.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/snapshot_arrow_left_disable.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/snapshot_arrow_left_disable.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/snapshot_arrow_left_hover.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/snapshot_arrow_left_hover.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/snapshot_arrow_left_nor.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/snapshot_arrow_left_nor.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/snapshot_arrow_left_push.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/snapshot_arrow_left_push.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/snapshot_arrow_right_disable.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/snapshot_arrow_right_disable.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/snapshot_arrow_right_hover.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/snapshot_arrow_right_hover.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/snapshot_arrow_right_nor.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/snapshot_arrow_right_nor.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/snapshot_arrow_right_push.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/snapshot_arrow_right_push.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_about_disable.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/toolbar_about_disable.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_about_hover.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/toolbar_about_hover.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_about_nor.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/toolbar_about_nor.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_about_push.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/toolbar_about_push.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_source_view_disable.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/toolbar_source_view_disable.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_source_view_hover.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/toolbar_source_view_hover.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_source_view_nor.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/toolbar_source_view_nor.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_source_view_push.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/toolbar_source_view_push.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_source_view_tog.png [moved from org.tizen.dynamicanalyzer.widgets/testImages/toolbar_source_view_tog.png with 100% similarity]
org.tizen.dynamicanalyzer.widgets/Images/toolbar_time_bg.png [new file with mode: 0644]
org.tizen.dynamicanalyzer.widgets/META-INF/MANIFEST.MF
org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/combo/DACustomCombo.java
org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/helper/FontResources.java
org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/helper/ImageResources.java
org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/timer/TimerClock.java [new file with mode: 0644]
org.tizen.dynamicanalyzer.widgets/src/test/TestClass.java
org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/ApplicationWorkbenchWindowAdvisor.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/AnalyzerManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/views/CoolbarArea.java
org.tizen.dynamicanalyzer/theme/black/img/toolbar_time_bg.png
org.tizen.dynamicanalyzer/theme/white/img/add_chart_hover.png
org.tizen.dynamicanalyzer/theme/white/img/add_chart_nor.png
org.tizen.dynamicanalyzer/theme/white/img/add_chart_push.png
org.tizen.dynamicanalyzer/theme/white/img/color_a01.png
org.tizen.dynamicanalyzer/theme/white/img/color_a02.png
org.tizen.dynamicanalyzer/theme/white/img/color_a03.png
org.tizen.dynamicanalyzer/theme/white/img/color_a04.png
org.tizen.dynamicanalyzer/theme/white/img/color_a05.png
org.tizen.dynamicanalyzer/theme/white/img/color_a06.png
org.tizen.dynamicanalyzer/theme/white/img/color_a07.png
org.tizen.dynamicanalyzer/theme/white/img/color_a08.png
org.tizen.dynamicanalyzer/theme/white/img/color_a09.png
org.tizen.dynamicanalyzer/theme/white/img/color_a10.png
org.tizen.dynamicanalyzer/theme/white/img/color_l01.png
org.tizen.dynamicanalyzer/theme/white/img/color_l03.png
org.tizen.dynamicanalyzer/theme/white/img/color_l04.png
org.tizen.dynamicanalyzer/theme/white/img/color_l05.png
org.tizen.dynamicanalyzer/theme/white/img/color_l06.png
org.tizen.dynamicanalyzer/theme/white/img/color_l07.png
org.tizen.dynamicanalyzer/theme/white/img/color_l08.png
org.tizen.dynamicanalyzer/theme/white/img/color_l09.png
org.tizen.dynamicanalyzer/theme/white/img/color_l10.png
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_UI_events_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_UI_events_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_audio_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_audio_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_battery_usage_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_battery_usage_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_bluetooth_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_bluetooth_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_brightness_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_brightness_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_camera_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_camera_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_core_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_core_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_frequency_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_frequency_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_devices_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_devices_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_electric_current_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_electric_current_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_fd_usage_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_fd_usage_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_gps_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_gps_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation (2)_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation (2)_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_appusage_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_appusage_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_process_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_process_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_system_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_system_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_01_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_01_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_snapshot_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_snapshot_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_sound_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_sound_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_vibration_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_vibration_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_wifi_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_wifi_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_off.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/edit_chart_on.png [new file with mode: 0644]
org.tizen.dynamicanalyzer/theme/white/img/time_line_icon_memory_allocation.png
org.tizen.dynamicanalyzer/theme/white/img/time_line_size_min_hover.png
org.tizen.dynamicanalyzer/theme/white/img/time_line_size_min_normal.png
org.tizen.dynamicanalyzer/theme/white/img/time_line_size_min_push.png
org.tizen.dynamicanalyzer/theme/white/img/time_line_size_restore_hover.png
org.tizen.dynamicanalyzer/theme/white/img/time_line_size_restore_normal.png
org.tizen.dynamicanalyzer/theme/white/img/time_line_size_restore_push.png
org.tizen.dynamicanalyzer/theme/white/img/timeline_bg.png
org.tizen.dynamicanalyzer/theme/white/img/timeline_bg_color.png
org.tizen.dynamicanalyzer/theme/white/img/timeline_control_bg.png
org.tizen.dynamicanalyzer/theme/white/img/timeline_left_bg_normal.png
org.tizen.dynamicanalyzer/theme/white/img/timeline_left_bg_selected.png
org.tizen.dynamicanalyzer/theme/white/img/timeline_right_bg_normal.png
org.tizen.dynamicanalyzer/theme/white/img/timeline_right_bg_selected.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_disable.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_hover.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_nor.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_push.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_disable.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_hover.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_nor.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_push.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_disable.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_hover.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_nor.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_push.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_disable.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_hover.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_nor.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_push.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_disable.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_hover.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_nor.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_push.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_disable.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_hover.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_nor.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_push.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_disable.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_hover.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_nor.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_push.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_disable.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_hover.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_nor.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_push.png
org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_tog.png

diff --git a/org.tizen.dynamicanalyzer.widgets/Images/toolbar_time_bg.png b/org.tizen.dynamicanalyzer.widgets/Images/toolbar_time_bg.png
new file mode 100644 (file)
index 0000000..1fa6e8e
Binary files /dev/null and b/org.tizen.dynamicanalyzer.widgets/Images/toolbar_time_bg.png differ
index 3c75c4b..1b28e0f 100644 (file)
@@ -14,4 +14,5 @@ Export-Package: org.tizen.dynamicanalyzer.widgets,
  org.tizen.dynamicanalyzer.widgets.combo,
  org.tizen.dynamicanalyzer.widgets.graph.bar,
  org.tizen.dynamicanalyzer.widgets.graph.circular,
- org.tizen.dynamicanalyzer.widgets.helper
+ org.tizen.dynamicanalyzer.widgets.helper,
+ org.tizen.dynamicanalyzer.widgets.timer
index 198ba98..81659d7 100644 (file)
@@ -190,10 +190,15 @@ public class DACustomCombo extends Canvas {
                int size = items.size();
                GC gc = new GC(parent.getDisplay(), SWT.NONE);
                for (int i = 0; i < size; i++) {
-                       Point p = gc.textExtent(items.get(i), SWT.DRAW_MNEMONIC);
-                       if (p.x > max) {
-                               max = p.x;
+                       try {
+                               Point p = gc.textExtent(items.get(i), SWT.DRAW_MNEMONIC);
+                               if (p.x > max) {
+                                       max = p.x;
+                               }
+                       } catch (Exception e) {
+                               System.out.println();
                        }
+
                }
                max += 10;
                gc.dispose();
index 0af2d10..826a1a7 100644 (file)
@@ -76,6 +76,7 @@ public class FontResources {
        public static final Font CATEGORY = getFont("category", resizeSystemFont(8));//$NON-NLS-1$\r
 \r
        public static final Font TIMER = getFont("timer", resizeSystemFont(12));//$NON-NLS-1$\r
+       \r
        public static final Font TIMER_MSEC = getFont(\r
                        "timer_msec", resizeSystemFont(10));//$NON-NLS-1$\r
 \r
index f84d786..b7da783 100644 (file)
@@ -1,12 +1,12 @@
 package org.tizen.dynamicanalyzer.widgets.helper;
 
 import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
 
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.jface.resource.ImageRegistry;
 import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.tizen.dynamicanalyzer.widgets.Activator;
 
 public class ImageResources {
        private static ImageRegistry imageRegistry = new ImageRegistry();
@@ -38,6 +38,8 @@ public class ImageResources {
        public static final Image SNAPSHOT_RIGHT_HOVER = getPngImage("snapshot_arrow_right_hover"); //$NON-NLS-1$
        public static final Image SNAPSHOT_RIGHT_DISABLE = getPngImage("snapshot_arrow_right_disable"); //$NON-NLS-1$
        
+       public static final Image TIMER = getPngImage("toolbar_time_bg"); //$NON-NLS-1$
+       
        public static final Image NO_IMAGE = getPngImage("noImage"); //$NON-NLS-1$
 
        private static Image getImage(String folderName, String imageName,
@@ -46,20 +48,20 @@ public class ImageResources {
                                || imageRegistry.get(imageName).isDisposed()) {
                        
                        // next 3line using in plugin
-                        ImageDescriptor desc =
-                        AbstractUIPlugin.imageDescriptorFromPlugin(
-                        Activator.PLUGIN_ID, folderName + imageName + extension);
+//                      ImageDescriptor desc =
+//                      AbstractUIPlugin.imageDescriptorFromPlugin(
+//                      Activator.PLUGIN_ID, folderName + imageName + extension);
                         
                         /*** enable when test execution! **/
-//                     String strUrl = "file:" + folderName + imageName + extension;
-//                     URL url = null;
-//                     try {
-//                             url = new URL(strUrl);
-//                     } catch (MalformedURLException e) {
-//                             // TODO Auto-generated catch block
-//                             e.printStackTrace();
-//                     }
-//                     ImageDescriptor desc = ImageDescriptor.createFromURL(url);
+                       String strUrl = "file:" + folderName + imageName + extension;
+                       URL url = null;
+                       try {
+                               url = new URL(strUrl);
+                       } catch (MalformedURLException e) {
+                               // TODO Auto-generated catch block
+                               e.printStackTrace();
+                       }
+                       ImageDescriptor desc = ImageDescriptor.createFromURL(url);
                        imageRegistry.put(imageName, desc);
                }
 
@@ -67,7 +69,7 @@ public class ImageResources {
        }
 
        private static Image getImage(String imageName, String extension) {
-               return getImage("testImages" + File.separator, imageName, extension);
+               return getImage("Images" + File.separator, imageName, extension);
        }
 
        private static Image getPngImage(String imageName) {
diff --git a/org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/timer/TimerClock.java b/org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/timer/TimerClock.java
new file mode 100644 (file)
index 0000000..1c10774
--- /dev/null
@@ -0,0 +1,212 @@
+package org.tizen.dynamicanalyzer.widgets.timer;
+
+import java.util.Date;
+import java.util.Timer;
+import java.util.TimerTask;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.PaintEvent;
+import org.eclipse.swt.events.PaintListener;
+import org.eclipse.swt.graphics.Color;
+import org.eclipse.swt.graphics.Font;
+import org.eclipse.swt.graphics.GC;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.graphics.Point;
+import org.eclipse.swt.graphics.Rectangle;
+import org.eclipse.swt.widgets.Canvas;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Display;
+import org.tizen.dynamicanalyzer.widgets.helper.ColorResources;
+
+public class TimerClock extends Canvas {
+
+       private class TimeString {
+               public String hour;
+               public String hour2;
+               public String min;
+               public String min2;
+               public String sec;
+               public String sec2;
+       }
+
+       private static final int HOUR_TIME_X = 29;
+       private static final int COLON_X = 52;
+       private static final int MIN_TIME_X = 59;
+       private static final int COLON_X2 = 82;
+       private static final int SEC_TIME_X = 89;
+       private static final int TIME_WIDTH = 11;
+       private static final int HOUR = 3600000;
+       private static final int MIN = 60000;
+       private static final int SEC = 1000;
+       private static final int TWO_DIGIT = 10;
+       private static final int TIMER_PERIOD = 10;
+       private static final String ZERO = "0";
+
+       private Timer timer;
+       private long startTime;
+       private long time;
+
+       private Image bgImage = null;
+       private Font clockFont = null;
+       private Color fontColor = null;
+
+       private Canvas me = null;
+
+       public TimerClock(Composite parent, int style) {
+               super(parent, style);
+               me = this;
+               me.addPaintListener(paintListener);
+               me.setBackground(ColorResources.RED);
+       }
+
+       private PaintListener paintListener = new PaintListener() {
+
+               @Override
+               public void paintControl(PaintEvent e) {
+                       GC gc = e.gc;
+                       Rectangle myRect = me.getClientArea();
+
+                       if (bgImage != null) {
+                               Rectangle imgRect = bgImage.getBounds();
+                               me.setSize(imgRect.width, imgRect.height);
+                               myRect = me.getClientArea();
+                               gc.drawImage(bgImage, myRect.x, myRect.y);
+                       } else {
+                               gc.setBackground(ColorResources.BLUE);
+                               gc.fillRectangle(myRect);
+                       }
+
+                       TimeString timeString = getTimeString(time);
+                       if (null != clockFont) {
+                               gc.setFont(clockFont);
+                       }
+                       if (null != fontColor) {
+                               gc.setForeground(fontColor);
+                       } else {
+                               gc.setForeground(ColorResources.WHITE);
+                       }
+                       Point p = gc.textExtent(timeString.hour, SWT.DRAW_MNEMONIC);
+
+                       int y = (myRect.height - p.y) / 2;
+                       // Draws hour text.
+                       gc.drawText(timeString.hour, HOUR_TIME_X, y, true);
+                       gc.drawText(timeString.hour2, HOUR_TIME_X + TIME_WIDTH, y, true);
+
+                       gc.drawText(":", COLON_X, y, true);
+
+                       // Draws minute text.
+                       gc.drawText(timeString.min, MIN_TIME_X, y, true);
+                       gc.drawText(timeString.min2, MIN_TIME_X + TIME_WIDTH, y, true);
+
+                       gc.drawText(":", COLON_X2, y, true);
+
+                       // Draws second text.
+                       gc.drawText(timeString.sec, SEC_TIME_X, y, true);
+                       gc.drawText(timeString.sec2, SEC_TIME_X + TIME_WIDTH, y, true);
+               }
+       };
+
+       private TimeString getTimeString(long time) {
+               long hour = time / HOUR;
+               long min = (time - (hour * HOUR)) / MIN;
+               long sec = (time - (hour * HOUR) - (min * MIN)) / SEC;
+
+               // Gets hour string.
+               String hourStr = "";
+               String hourStr2 = "";
+               if (TWO_DIGIT > hour) {
+                       hourStr = ZERO;
+                       hourStr2 = Long.toString(hour);
+               } else {
+                       hourStr = Long.toString(hour / TWO_DIGIT);
+                       hourStr2 = Long.toString(hour % TWO_DIGIT);
+               }
+
+               // Gets minute string.
+               String minStr = "";
+               String minStr2 = "";
+               if (TWO_DIGIT > min) {
+                       minStr = ZERO;
+                       minStr2 = Long.toString(min);
+               } else {
+                       minStr = Long.toString(min / TWO_DIGIT);
+                       minStr2 = Long.toString(min % TWO_DIGIT);
+               }
+
+               // Gets second string.
+               String secStr = "";
+               String secStr2 = "";
+               if (TWO_DIGIT > sec) {
+                       secStr = ZERO;
+                       secStr2 = Long.toString(sec);
+               } else {
+                       secStr = Long.toString(sec / TWO_DIGIT);
+                       secStr2 = Long.toString(sec % TWO_DIGIT);
+               }
+
+               // Gets millisecond string.
+               TimeString timeString = new TimeString();
+               timeString.hour = hourStr.toString();
+               timeString.hour2 = hourStr2.toString();
+               timeString.min = minStr.toString();
+               timeString.min2 = minStr2.toString();
+               timeString.sec = secStr.toString();
+               timeString.sec2 = secStr2.toString();
+
+               return timeString;
+       }
+
+       public void start() {
+               if (null != timer) {
+                       stop();
+               }
+               startTime = System.currentTimeMillis();
+               timer = new Timer();
+               timer.schedule(new TimerTask() {
+                       @Override
+                       public void run() {
+                               Display.getDefault().syncExec(new Runnable() {
+                                       @Override
+                                       public void run() {
+                                               time = System.currentTimeMillis() - startTime;
+                                               redraw();
+                                       }
+                               });
+                       }
+               }, new Date(), TIMER_PERIOD);
+       }
+
+       public void stop() {
+               if (null != timer) {
+                       timer.cancel();
+                       timer = null;
+               }
+       }
+
+       public void setTime(long micTime) {
+               time = micTime / SEC;
+               redraw();
+       }
+
+       public long getTimeInMicroseconds() {
+               // Returns time in microseconds
+               return time * SEC;
+       }
+
+       public void setBgImage(Image bg) {
+               this.bgImage = bg;
+       }
+
+       public void setFont(Font font) {
+               this.clockFont = font;
+       }
+
+       public void setFontColor(Color color) {
+               fontColor = color;
+       }
+
+       public Point getTimerSize() {
+               Rectangle r = me.getClientArea();
+               return new Point(r.width, r.height);
+       }
+}
index ebe9725..000f8e2 100644 (file)
@@ -20,6 +20,7 @@ import org.tizen.dynamicanalyzer.widgets.graph.bar.SingleBar;
 import org.tizen.dynamicanalyzer.widgets.graph.circular.CircularGraph;
 import org.tizen.dynamicanalyzer.widgets.helper.ColorResources;
 import org.tizen.dynamicanalyzer.widgets.helper.ImageResources;
+import org.tizen.dynamicanalyzer.widgets.timer.TimerClock;
 
 public class TestClass {
        public static void main(String[] args) {
@@ -134,6 +135,17 @@ public class TestClass {
                fbar.setTextColor(ColorResources.RED);
                fbar.setBgColor(ColorResources.WHITE);
                
+               
+               TimerClock clock = new TimerClock(shell, SWT.NONE);
+               data = new FormData();
+               data.top = new FormAttachment(fbar, 10);
+               data.left = new FormAttachment(10, 0);
+               data.width = 100;
+               data.height = 100;
+               clock.setLayoutData(data);
+               
+               clock.start();
+               
                DACustomComboSelectionListener comboSelectionListener = new DACustomComboSelectionListener() {
                        @Override
                        public void selectionEvent(DACustomCombo combo) {
@@ -147,6 +159,7 @@ public class TestClass {
                        if (!display.readAndDispatch())
                                display.sleep();
                }
+               clock.stop();
                display.dispose();
        }
 }
index f1e1ffc..1319c09 100644 (file)
@@ -36,7 +36,7 @@ public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
        @Override
        public void createWindowContents(Shell shell) {
                CoolbarArea.createInstance(getWindowConfigurer(), shell);
-               CoolbarArea.getInstance().setShellSize(width, height);
+//             CoolbarArea.getInstance().setShellSize(width, height);
        }
 
        @Override
index d51677c..9a577e4 100644 (file)
@@ -42,6 +42,8 @@ import org.tizen.dynamicanalyzer.model.LeakCheckList;
 import org.tizen.dynamicanalyzer.model.LogCenter;
 import org.tizen.dynamicanalyzer.model.Project;
 import org.tizen.dynamicanalyzer.theme.DAThemeBlack;
+import org.tizen.dynamicanalyzer.theme.DAThemeWhite;
+import org.tizen.dynamicanalyzer.theme.DAThemeWhite;
 import org.tizen.dynamicanalyzer.threads.InsertLogThread;
 import org.tizen.dynamicanalyzer.threads.OpenTraceInputThread;
 import org.tizen.dynamicanalyzer.threads.RecordStartStopThread;
@@ -105,7 +107,7 @@ public class AnalyzerManager {
        public static DATheme getTheme() {
                if (null == theme) {
                        theme = DAThemeBlack.getInstance();
-                       // theme = DAThemeWhite.getInstance();
+//                      theme = DAThemeWhite.getInstance();
                }
                return theme;
        }
index 07dfe3b..8af8316 100755 (executable)
@@ -6,14 +6,14 @@ import java.util.List;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.ShellEvent;
 import org.eclipse.swt.events.ShellListener;
-import org.eclipse.swt.graphics.Color;
+//import org.eclipse.swt.graphics.Color;
 import org.eclipse.swt.graphics.Cursor;
-import org.eclipse.swt.graphics.Font;
+//import org.eclipse.swt.graphics.Font;
 import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.Pattern;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.swt.graphics.Rectangle;
-import org.eclipse.swt.graphics.Region;
+//import org.eclipse.swt.graphics.Pattern;
+//import org.eclipse.swt.graphics.Point;
+//import org.eclipse.swt.graphics.Rectangle;
+//import org.eclipse.swt.graphics.Region;
 import org.eclipse.swt.layout.FillLayout;
 import org.eclipse.swt.layout.FormAttachment;
 import org.eclipse.swt.layout.FormData;
@@ -21,10 +21,10 @@ import org.eclipse.swt.layout.FormLayout;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Control;
 import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Event;
+//import org.eclipse.swt.widgets.Event;
 import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Monitor;
+//import org.eclipse.swt.widgets.Listener;
+//import org.eclipse.swt.widgets.Monitor;
 import org.eclipse.swt.widgets.Shell;
 import org.eclipse.ui.PlatformUI;
 import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
@@ -50,13 +50,13 @@ import org.tizen.dynamicanalyzer.ui.renderers.TitleComboRenderer;
 import org.tizen.dynamicanalyzer.ui.widgets.AboutDialog;
 import org.tizen.dynamicanalyzer.ui.widgets.ConfigurationDialog;
 import org.tizen.dynamicanalyzer.ui.widgets.OpenTraceDialog;
-import org.tizen.dynamicanalyzer.ui.widgets.TimerClock;
 import org.tizen.dynamicanalyzer.utils.AnalyzerUtil;
 import org.tizen.dynamicanalyzer.widgets.button.DACustomButton;
 import org.tizen.dynamicanalyzer.widgets.button.DACustomButtonClickEventListener;
 import org.tizen.dynamicanalyzer.widgets.button.toggle.DACustomToggleButton;
 import org.tizen.dynamicanalyzer.widgets.combo.DACustomCombo;
 import org.tizen.dynamicanalyzer.widgets.combo.DACustomComboSelectionListener;
+import org.tizen.dynamicanalyzer.widgets.timer.TimerClock;
 
 public class CoolbarArea {
 
@@ -101,11 +101,11 @@ public class CoolbarArea {
        private Composite baseComposite;
 
        // Title bar
-       private Composite titlebarComposite;
-       private Label titleLabel;
-       private DACustomButton minButton;
-       private DACustomButton maxButton;
-       private DACustomButton closeButton;
+       // private Composite titlebarComposite;
+       // private Label titleLabel;
+       // private DACustomButton minButton;
+       // private DACustomButton maxButton;
+       // private DACustomButton closeButton;
 
        // Toolbar
        private Composite toolbarComposite;
@@ -114,7 +114,7 @@ public class CoolbarArea {
 
        private Composite controlComposite;
        private DACustomButton startButton;
-       private Composite timerComposite;
+       // private Composite timerComposite;
        private TimerClock timerClock;
        private DACustomButton saveTraceButton;
        private DACustomButton openTraceButton;
@@ -131,21 +131,21 @@ public class CoolbarArea {
        private static final int TAB_THREAD = 3; // FIXME
 
        // Titlebar image
-       private final Image minImage = ImageResources.MIN;
-       private final Image minPushImage = ImageResources.MIN_PUSH;
-       private final Image minHoverImage = ImageResources.MIN_HOVER;
-       private final Image maxImage = ImageResources.MAX;
-       private final Image maxPushImage = ImageResources.MAX_PUSH;
-       private final Image maxHoverImage = ImageResources.MAX_HOVER;
-       private final Image restoreImage = ImageResources.RESTORE;
-       private final Image restorePushImage = ImageResources.RESTORE_PUSH;
-       private final Image restoreHoverImage = ImageResources.RESTORE_HOVER;
-       private final Image closeImage = ImageResources.CLOSE;
-       private final Image closePushImage = ImageResources.CLOSE_PUSH;
-       private final Image closeHoverImage = ImageResources.CLOSE_HOVER;
+       // private final Image minImage = ImageResources.MIN;
+       // private final Image minPushImage = ImageResources.MIN_PUSH;
+       // private final Image minHoverImage = ImageResources.MIN_HOVER;
+       // private final Image maxImage = ImageResources.MAX;
+       // private final Image maxPushImage = ImageResources.MAX_PUSH;
+       // private final Image maxHoverImage = ImageResources.MAX_HOVER;
+       // private final Image restoreImage = ImageResources.RESTORE;
+       // private final Image restorePushImage = ImageResources.RESTORE_PUSH;
+       // private final Image restoreHoverImage = ImageResources.RESTORE_HOVER;
+       // private final Image closeImage = ImageResources.CLOSE;
+       // private final Image closePushImage = ImageResources.CLOSE_PUSH;
+       // private final Image closeHoverImage = ImageResources.CLOSE_HOVER;
 
        // Toolbar image
-       private final Image iconImage = ImageResources.ICON;
+       // private final Image iconImage = ImageResources.ICON;
        private final Image bracketImage = ImageResources.BRACKET;
        private final Image startImage = ImageResources.START;
        private final Image startPushImage = ImageResources.START_PUSH;
@@ -181,22 +181,33 @@ public class CoolbarArea {
        private final Image viewSourceDisableImage = ImageResources.VIEW_SOURCE_DISABLE;
 
        // Trim image
-       private final Image windowTopFrameImage = ImageResources.WINDOW_TOP;
-//     private final Image topImage2 = ImageResources.WINDOW_TOP2;
-       private final Image windowLeftFrameImage = ImageResources.WINDOW_LEFT;
-       private final Image topLeftNormalImage = ImageResources.WINDOW_TOP_LEFT;
-       private final Image topLeftNormalImage2 = ImageResources.WINDOW_TOP_LEFT2;
-       private final Image topLeftMaxImage = ImageResources.WINDOW_TOP_LEFT_MAX;
-       private final Image topRightNormalImage = ImageResources.WINDOW_TOP_RIGHT;
-       private final Image topRightNormalImage2 = ImageResources.WINDOW_TOP_RIGHT2;
-       private final Image topRightMaxImage = ImageResources.WINDOW_TOP_RIGHT_MAX;
-       private final Image bottomLeftNormalImage = ImageResources.WINDOW_BOTTOM_LEFT;
-       private final Image bottomLeftMaxImage = ImageResources.WINDOW_BOTTOM_LEFT_MAX;
-       private final Image bottomRightNormalImage = ImageResources.WINDOW_BOTTOM_RIGHT;
-       private final Image bottomRightMaxImage = ImageResources.WINDOW_BOTTOM_RIGHT_MAX;
-       private final Image windowRightFrameGrayPart = ImageResources.WINDOW_RIGHT_GRAY;
-       private final Image windowRightFrameDartGrayPart = ImageResources.WINDOW_RIGHT_DARKGARY;
-       private final Image windowRightFrameBlackPart = ImageResources.WINDOW_RIGHT_BLACK;
+       // private final Image windowTopFrameImage = ImageResources.WINDOW_TOP;
+       // private final Image topImage2 = ImageResources.WINDOW_TOP2;
+       // private final Image windowLeftFrameImage = ImageResources.WINDOW_LEFT;
+       // private final Image topLeftNormalImage = ImageResources.WINDOW_TOP_LEFT;
+       // private final Image topLeftNormalImage2 =
+       // ImageResources.WINDOW_TOP_LEFT2;
+       // private final Image topLeftMaxImage = ImageResources.WINDOW_TOP_LEFT_MAX;
+       // private final Image topRightNormalImage =
+       // ImageResources.WINDOW_TOP_RIGHT;
+       // private final Image topRightNormalImage2 =
+       // ImageResources.WINDOW_TOP_RIGHT2;
+       // private final Image topRightMaxImage =
+       // ImageResources.WINDOW_TOP_RIGHT_MAX;
+       // private final Image bottomLeftNormalImage =
+       // ImageResources.WINDOW_BOTTOM_LEFT;
+       // private final Image bottomLeftMaxImage =
+       // ImageResources.WINDOW_BOTTOM_LEFT_MAX;
+       // private final Image bottomRightNormalImage =
+       // ImageResources.WINDOW_BOTTOM_RIGHT;
+       // private final Image bottomRightMaxImage =
+       // ImageResources.WINDOW_BOTTOM_RIGHT_MAX;
+       // private final Image windowRightFrameGrayPart =
+       // ImageResources.WINDOW_RIGHT_GRAY;
+       // private final Image windowRightFrameDartGrayPart =
+       // ImageResources.WINDOW_RIGHT_DARKGARY;
+       // private final Image windowRightFrameBlackPart =
+       // ImageResources.WINDOW_RIGHT_BLACK;
 
        // Tab Image
        private final Image tabNormalImage = ImageResources.TAB;
@@ -204,37 +215,38 @@ public class CoolbarArea {
        private final Image tabHoverImage = ImageResources.TAB_HOVER;
        private final Image tabDisableImage = ImageResources.TAB_DISABLE;
 
-       private Image topLeftImage = topLeftNormalImage;
-       private Image topRightImage = topRightNormalImage;
-       private Image bottomLeftImage = bottomLeftNormalImage;
-       private Image bottomRightImage = bottomRightNormalImage;
+       // private Image topLeftImage = topLeftNormalImage;
+       // private Image topRightImage = topRightNormalImage;
+       // private Image bottomLeftImage = bottomLeftNormalImage;
+       // private Image bottomRightImage = bottomRightNormalImage;
 
        // Color
-       private final Color titlebarColor = ColorResources.TITLEBAR_BG_COLOR;
-       private final Color titlebarTextColor = ColorResources.TITLEBAR_TEXT_COLOR;
-
-       private final Font titlebarTextFont = FontResources.TITLEBAR;
+       // private final Color titlebarColor = ColorResources.TITLEBAR_BG_COLOR;
+       // private final Color titlebarTextColor =
+       // ColorResources.TITLEBAR_TEXT_COLOR;
+       //
+       // private final Font titlebarTextFont = FontResources.TITLEBAR;
 
        private Cursor cursor;
-       private static final int DEFAULT_WIDTH = 1024;
-       private static final int DEFAULT_HEIGHT = 768;
-       private int windowWidth = DEFAULT_WIDTH;
-       private int windowHeight = DEFAULT_HEIGHT;
-       private boolean isMaximized = false;
-       private Point oldSizeOfWindow;
-       private Point oldLocationOfWindow;
-
-       private static final int START = 0;
-       private static final int END = 100;
-       private static final int OFFSET_ZERO = 0;
-       private static final int OFFSET_ONE = 1;
-       private static final int OFFSET_TWO = 2;
-       private static final int OFFSET_THREE = 3;
-       private static final int OFFSET_FOUR = 4;
-       private static final int OFFSET_FIVE = 5;
-       private static final int OFFSET_TEN = 10;
-
-       private static final int TIMER_WIDTH = 125;
+       // private static final int DEFAULT_WIDTH = 1024;
+       // private static final int DEFAULT_HEIGHT = 768;
+       // private int windowWidth = DEFAULT_WIDTH;
+       // private int windowHeight = DEFAULT_HEIGHT;
+       // private boolean isMaximized = false;
+       // private Point oldSizeOfWindow;
+       // private Point oldLocationOfWindow;
+
+       // private static final int START = 0;
+       // private static final int END = 100;
+       // private static final int OFFSET_ZERO = 0;
+       // private static final int OFFSET_ONE = 1;
+       // private static final int OFFSET_TWO = 2;
+       // private static final int OFFSET_THREE = 3;
+       // private static final int OFFSET_FOUR = 4;
+       // private static final int OFFSET_FIVE = 5;
+       // private static final int OFFSET_TEN = 10;
+
+       private static final int TIMER_WIDTH = 148;
 
        private static final int PAGE_BUTTON_WIDTH = 128;
        private static final int PAGE_BUTTON_HEIGHT = 23;
@@ -276,67 +288,69 @@ public class CoolbarArea {
                }
 
        };
-       private Listener titlebarListener = new Listener() {
-               Point downPt = null;
-               Point downLocation = null;
-
-               @Override
-               public void handleEvent(Event e) {
-                       // Sets start location.
-                       if (SWT.MouseDown == e.type && 1 == e.button) {
-                               Display display = Display.getCurrent();
-                               if (null == display)
-                                       display = Display.getDefault();
-                               downPt = display.getCursorLocation();
-                               downLocation = shell.getLocation();
-                       }
 
-                       // Handles move of window.
-                       if (SWT.MouseMove == e.type && 0 != (e.stateMask & SWT.BUTTON1)) {
-                               Display display = Display.getCurrent();
-                               if (null == display)
-                                       display = Display.getDefault();
-                               Point p = display.getCursorLocation();
-                               shell.setLocation(downLocation.x - (downPt.x - p.x),
-                                               downLocation.y - (downPt.y - p.y));
-                       }
-
-                       // Handles maximization of window.
-                       if (SWT.MouseDoubleClick == e.type && 1 == e.button) {
-                               handleMaximization();
-                       }
-               }
-       };
-
-       public int setCursorStyle(int oldCursorStyle, int width, int height, int x,
-                       int y) {
-               int ret = oldCursorStyle;
+       // private Listener titlebarListener = new Listener() {
+       // Point downPt = null;
+       // Point downLocation = null;
+       //
+       // @Override
+       // public void handleEvent(Event e) {
+       // // Sets start location.
+       // if (SWT.MouseDown == e.type && 1 == e.button) {
+       // Display display = Display.getCurrent();
+       // if (null == display)
+       // display = Display.getDefault();
+       // downPt = display.getCursorLocation();
+       // downLocation = shell.getLocation();
+       // }
+       //
+       // // Handles move of window.
+       // if (SWT.MouseMove == e.type && 0 != (e.stateMask & SWT.BUTTON1)) {
+       // Display display = Display.getCurrent();
+       // if (null == display)
+       // display = Display.getDefault();
+       // Point p = display.getCursorLocation();
+       // shell.setLocation(downLocation.x - (downPt.x - p.x),
+       // downLocation.y - (downPt.y - p.y));
+       // }
+       //
+       // // Handles maximization of window.
+       // if (SWT.MouseDoubleClick == e.type && 1 == e.button) {
+       // handleMaximization();
+       // }
+       // }
+       // };
 
-               if (x < OFFSET_TEN) {
-                       if (y < OFFSET_TEN)
-                               ret = SWT.CURSOR_SIZENW;
-                       else if (y > (height - OFFSET_TEN))
-                               ret = SWT.CURSOR_SIZESW;
-                       else
-                               ret = SWT.CURSOR_SIZEW;
-               } else if (x > (width - OFFSET_TEN)) {
-                       if (y < OFFSET_TEN)
-                               ret = SWT.CURSOR_SIZENE;
-                       else if (y > (height - OFFSET_TEN))
-                               ret = SWT.CURSOR_SIZESE;
-                       else
-                               ret = SWT.CURSOR_SIZEE;
-               } else {
-                       if (y < OFFSET_TEN)
-                               ret = SWT.CURSOR_SIZEN;
-                       else if (y > (height - OFFSET_TEN))
-                               ret = SWT.CURSOR_SIZES;
-                       else
-                               ;
-               }
+       // public int setCursorStyle(int oldCursorStyle, int width, int height, int
+       // x,
+       // int y) {
+       // int ret = oldCursorStyle;
+       //
+       // if (x < OFFSET_TEN) {
+       // if (y < OFFSET_TEN)
+       // ret = SWT.CURSOR_SIZENW;
+       // else if (y > (height - OFFSET_TEN))
+       // ret = SWT.CURSOR_SIZESW;
+       // else
+       // ret = SWT.CURSOR_SIZEW;
+       // } else if (x > (width - OFFSET_TEN)) {
+       // if (y < OFFSET_TEN)
+       // ret = SWT.CURSOR_SIZENE;
+       // else if (y > (height - OFFSET_TEN))
+       // ret = SWT.CURSOR_SIZESE;
+       // else
+       // ret = SWT.CURSOR_SIZEE;
+       // } else {
+       // if (y < OFFSET_TEN)
+       // ret = SWT.CURSOR_SIZEN;
+       // else if (y > (height - OFFSET_TEN))
+       // ret = SWT.CURSOR_SIZES;
+       // else
+       // ;
+       // }
 
-               return setCursor(oldCursorStyle, ret);
-       }
+       // return setCursor(oldCursorStyle, ret);
+       // }
 
        public int setCursor(int oldStyle, int newStyle) {
                if (oldStyle == newStyle)
@@ -348,251 +362,310 @@ public class CoolbarArea {
                return newStyle;
        }
 
-       private Display getDisplay() {
-               Display display = Display.getCurrent();
-               if (null == display)
-                       display = Display.getDefault();
-               return display;
-       }
-
-       public void resizeWindow(Rectangle downRect, Point oldPoint,
-                       Point newPoint, int cursorStyle) {
-               Rectangle newRect = new Rectangle(downRect.x, downRect.y,
-                               downRect.width, downRect.height);
-
-               if (oldPoint == null || newPoint == null)
-                       return;
-
-               switch (cursorStyle) {
-               case SWT.CURSOR_SIZEN:
-                       newRect.y -= (oldPoint.y - newPoint.y);
-                       newRect.height += (oldPoint.y - newPoint.y);
-                       break;
-               case SWT.CURSOR_SIZENW:
-                       newRect.x -= (oldPoint.x - newPoint.x);
-                       newRect.y -= (oldPoint.y - newPoint.y);
-                       newRect.width += (oldPoint.x - newPoint.x);
-                       newRect.height += (oldPoint.y - newPoint.y);
-                       break;
-               case SWT.CURSOR_SIZENE:
-                       newRect.y -= (oldPoint.y - newPoint.y);
-                       newRect.width -= (oldPoint.x - newPoint.x);
-                       newRect.height += (oldPoint.y - newPoint.y);
-                       break;
-               case SWT.CURSOR_SIZES:
-                       newRect.height -= (oldPoint.y - newPoint.y);
-                       break;
-               case SWT.CURSOR_SIZESW:
-                       newRect.x -= (oldPoint.x - newPoint.x);
-                       newRect.width += (oldPoint.x - newPoint.x);
-                       newRect.height -= (oldPoint.y - newPoint.y);
-                       break;
-               case SWT.CURSOR_SIZESE:
-                       newRect.width -= oldPoint.x - newPoint.x;
-                       newRect.height -= (oldPoint.y - newPoint.y);
-                       break;
-               case SWT.CURSOR_SIZEW:
-                       newRect.x -= (oldPoint.x - newPoint.x);
-                       newRect.width += (oldPoint.x - newPoint.x);
-                       break;
-               case SWT.CURSOR_SIZEE:
-                       newRect.width -= (oldPoint.x - newPoint.x);
-                       break;
-               default:
-                       return;
-               }
-
-               if (newRect.height < 400 || newRect.width < 600)
-                       return;
-               windowHeight = newRect.height;
-               windowWidth = newRect.width;
-               shell.setBounds(newRect);
-       }
-
-       private Listener trimListener = new Listener() {
-               int cursorStyle;
-               Point downPoint = null;
-               boolean isPatternInit = false;
-               Pattern topP = null;
-               Pattern leftP = null;
-               Pattern grayP = null;
-               Pattern darkGrayP = null;
-               Pattern blackP = null;
-               Rectangle downRect = null;
-               Display display = null;
-
-               boolean isMouseDown = false;
-
-               @Override
-               public void handleEvent(Event e) {
-                       int x = e.x;
-                       int y = e.y;
-
-                       // Sets start location.
-                       if (SWT.MouseDown == e.type && 1 == e.button) {
-                               isMouseDown = true;
-                               if (null == display) {
-                                       display = getDisplay();
-                               }
-                               downPoint = display.getCursorLocation();
-                               downRect = shell.getBounds();
-                       }
-
-                       // Sets mouse moving state.
-                       if (SWT.MouseUp == e.type) {
-                               if (null == display) {
-                                       display = getDisplay();
-                               }
-                               Point p = display.getCursorLocation();
-                               resizeWindow(downRect, downPoint, p, cursorStyle);
-                               isMouseDown = false;
-                       }
-
-                       if (SWT.MouseMove == e.type) {
-                               if (false == isMouseDown) {
-                                       cursorStyle = setCursorStyle(cursorStyle, windowWidth,
-                                                       windowHeight, x, y);
-                               } else {
-                                       if (null == display) {
-                                               display = getDisplay();
-                                       }
-                                       Point p = display.getCursorLocation();
-                                       resizeWindow(downRect, downPoint, p, cursorStyle);
-                               }
-                       }
-                       if (SWT.MouseEnter == e.type) {
-                       }
-                       if (SWT.MouseExit == e.type) {
-                               cursorStyle = setCursor(cursorStyle, SWT.CURSOR_ARROW);
-                       }
-
-                       if (SWT.MouseHover == e.type) {
-                               if (true == isMouseDown) {
-                                       if (null == display) {
-                                               display = getDisplay();
-                                       }
-                                       Point p = display.getCursorLocation();
-                                       resizeWindow(downRect, downPoint, p, cursorStyle);
-                               }
-                       }
-                       // Draws trim image.
-                       if (SWT.Paint == e.type) {
-                               // Draws top trim.
-                               if (false == isPatternInit) {
-                                       topP = new Pattern(shell.getDisplay(), windowTopFrameImage);
-
-                                       leftP = new Pattern(shell.getDisplay(),
-                                                       windowLeftFrameImage);
-
-                                       grayP = new Pattern(shell.getDisplay(),
-                                                       windowRightFrameGrayPart);
-
-                                       darkGrayP = new Pattern(shell.getDisplay(),
-                                                       windowRightFrameDartGrayPart);
+       // private Display getDisplay() {
+       // Display display = Display.getCurrent();
+       // if (null == display)
+       // display = Display.getDefault();
+       // return display;
+       // }
 
-                                       blackP = new Pattern(shell.getDisplay(),
-                                                       windowRightFrameBlackPart);
+       // public void resizeWindow(Rectangle downRect, Point oldPoint,
+       // Point newPoint, int cursorStyle) {
+       // Rectangle newRect = new Rectangle(downRect.x, downRect.y,
+       // downRect.width, downRect.height);
+       //
+       // if (oldPoint == null || newPoint == null)
+       // return;
+       //
+       // switch (cursorStyle) {
+       // case SWT.CURSOR_SIZEN:
+       // newRect.y -= (oldPoint.y - newPoint.y);
+       // newRect.height += (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZENW:
+       // newRect.x -= (oldPoint.x - newPoint.x);
+       // newRect.y -= (oldPoint.y - newPoint.y);
+       // newRect.width += (oldPoint.x - newPoint.x);
+       // newRect.height += (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZENE:
+       // newRect.y -= (oldPoint.y - newPoint.y);
+       // newRect.width -= (oldPoint.x - newPoint.x);
+       // newRect.height += (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZES:
+       // newRect.height -= (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZESW:
+       // newRect.x -= (oldPoint.x - newPoint.x);
+       // newRect.width += (oldPoint.x - newPoint.x);
+       // newRect.height -= (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZESE:
+       // newRect.width -= oldPoint.x - newPoint.x;
+       // newRect.height -= (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZEW:
+       // newRect.x -= (oldPoint.x - newPoint.x);
+       // newRect.width += (oldPoint.x - newPoint.x);
+       // break;
+       // case SWT.CURSOR_SIZEE:
+       // newRect.width -= (oldPoint.x - newPoint.x);
+       // break;
+       // default:
+       // return;
+       // }
+       //
+       // if (newRect.height < 400 || newRect.width < 600)
+       // return;
+       // windowHeight = newRect.height;
+       // windowWidth = newRect.width;
+       // shell.setBounds(newRect);
+       // }
 
-                                       isPatternInit = true;
-                               }
-                               e.gc.setBackgroundPattern(topP);
-                               e.gc.fillRectangle(
-                                               DesignConstants.WINDOW_FRAME_LEFT_MARGIN,
-                                               0,
-                                               windowWidth
-                                                               - (DesignConstants.WINDOW_FRAME_LEFT_MARGIN + DesignConstants.WINDOW_FRAME_RIGHT_MARGIN),
-                                               DesignConstants.WINDOW_FRAME_TOP_MARGIN);
-
-                               // Draws left trim.
-                               e.gc.setBackgroundPattern(leftP);
-                               e.gc.fillRectangle(
-                                               0,
-                                               DesignConstants.WINDOW_FRAME_TOP_MARGIN
-                                                               + DesignConstants.TITLEBAR_HEIGHT,
-                                               DesignConstants.WINDOW_FRAME_LEFT_MARGIN,
-                                               windowHeight
-                                                               - (DesignConstants.WINDOW_FRAME_TOP_MARGIN
-                                                                               + DesignConstants.TITLEBAR_HEIGHT + DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
-                               // pattern.dispose();
-
-                               // Draws right trim.
-                               e.gc.setBackgroundPattern(grayP);
-                               e.gc.fillRectangle(
-                                               windowWidth - DesignConstants.WINDOW_FRAME_RIGHT_MARGIN,
-                                               DesignConstants.WINDOW_FRAME_TOP_MARGIN
-                                                               + DesignConstants.TITLEBAR_HEIGHT,
-                                               DesignConstants.WINDOW_FRAME_PART_SIZE,
-                                               windowHeight
-                                                               - (DesignConstants.TITLEBAR_HEIGHT
-                                                                               + DesignConstants.WINDOW_FRAME_TOP_MARGIN + DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
-
-                               e.gc.setBackgroundPattern(darkGrayP);
-                               e.gc.fillRectangle(
-                                               windowWidth - DesignConstants.WINDOW_FRAME_RIGHT_MARGIN
-                                                               + DesignConstants.WINDOW_FRAME_PART_SIZE,
-                                               DesignConstants.WINDOW_FRAME_TOP_MARGIN
-                                                               + DesignConstants.TITLEBAR_HEIGHT,
-                                               DesignConstants.WINDOW_FRAME_PART_SIZE * 2,
-                                               windowHeight
-                                                               - (DesignConstants.TITLEBAR_HEIGHT
-                                                                               + DesignConstants.WINDOW_FRAME_TOP_MARGIN + DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
-
-                               e.gc.setBackgroundPattern(grayP);
-                               e.gc.fillRectangle(
-                                               windowWidth - DesignConstants.WINDOW_FRAME_PART_SIZE
-                                                               * 2,
-                                               DesignConstants.WINDOW_FRAME_TOP_MARGIN
-                                                               + DesignConstants.TITLEBAR_HEIGHT,
-                                               DesignConstants.WINDOW_FRAME_PART_SIZE,
-                                               windowHeight
-                                                               - (DesignConstants.TITLEBAR_HEIGHT
-                                                                               + DesignConstants.WINDOW_FRAME_TOP_MARGIN + DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
-
-                               e.gc.setBackgroundPattern(blackP);
-                               e.gc.fillRectangle(
-                                               windowWidth - DesignConstants.WINDOW_FRAME_PART_SIZE,
-                                               DesignConstants.WINDOW_FRAME_TOP_MARGIN
-                                                               + DesignConstants.TITLEBAR_HEIGHT,
-                                               DesignConstants.WINDOW_FRAME_PART_SIZE,
-                                               windowHeight
-                                                               - (DesignConstants.TITLEBAR_HEIGHT
-                                                                               + DesignConstants.WINDOW_FRAME_TOP_MARGIN + DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
-
-                               // Draws bottom trim.
-                               e.gc.setBackgroundPattern(grayP);
-                               e.gc.fillRectangle(OFFSET_FIVE, windowHeight - OFFSET_FIVE,
-                                               windowWidth - OFFSET_TEN, OFFSET_ONE);
-
-                               e.gc.setBackgroundPattern(darkGrayP);
-                               e.gc.fillRectangle(OFFSET_FIVE, windowHeight - OFFSET_FOUR,
-                                               windowWidth - OFFSET_TEN, OFFSET_TWO);
-
-                               e.gc.setBackgroundPattern(grayP);
-                               e.gc.fillRectangle(OFFSET_FIVE, windowHeight - OFFSET_TWO,
-                                               windowWidth - OFFSET_TEN, OFFSET_ONE);
-
-                               e.gc.setBackgroundPattern(blackP);
-                               e.gc.fillRectangle(OFFSET_FIVE, windowHeight - OFFSET_ONE,
-                                               windowWidth - OFFSET_TEN, OFFSET_ONE);
-
-                               // pattern.dispose();
-
-                               // Draws corner trim.
-                               e.gc.drawImage(topLeftImage, START, START);
-                               e.gc.drawImage(topLeftNormalImage2, START, OFFSET_FIVE);
-                               e.gc.drawImage(topRightImage, windowWidth - OFFSET_FIVE, START);
-                               e.gc.drawImage(topRightNormalImage2, windowWidth - OFFSET_FIVE,
-                                               OFFSET_FIVE);
-                               e.gc.drawImage(bottomLeftImage, START, windowHeight
-                                               - OFFSET_FIVE);
-                               e.gc.drawImage(bottomRightImage, windowWidth - OFFSET_FIVE,
-                                               windowHeight - OFFSET_FIVE);
-
-                               // Sets region.
-                               setShellRegion();
-                       }
-               }
-       };
+       // private Listener trimListener = new Listener() {
+       // int cursorStyle;
+       // Point downPoint = null;
+       // boolean isPatternInit = false;
+       // Pattern topP = null;
+       // Pattern leftP = null;
+       // Pattern grayP = null;
+       // Pattern darkGrayP = null;
+       // Pattern blackP = null;
+       // Rectangle downRect = null;
+       // Display display = null;
+       //
+       // boolean isMouseDown = false;
+       //
+       // @Override
+       // public void handleEvent(Event e) {
+       // int x = e.x;
+       // int y = e.y;
+       //
+       // // Sets start location.
+       // if (SWT.MouseDown == e.type && 1 == e.button) {
+       // isMouseDown = true;
+       // if (null == display) {public void resizeWindow(Rectangle downRect, Point
+       // oldPoint,
+       // Point newPoint, int cursorStyle) {
+       // Rectangle newRect = new Rectangle(downRect.x, downRect.y,
+       // downRect.width, downRect.height);
+       //
+       // if (oldPoint == null || newPoint == null)
+       // return;
+       //
+       // switch (cursorStyle) {
+       // case SWT.CURSOR_SIZEN:
+       // newRect.y -= (oldPoint.y - newPoint.y);
+       // newRect.height += (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZENW:
+       // newRect.x -= (oldPoint.x - newPoint.x);
+       // newRect.y -= (oldPoint.y - newPoint.y);
+       // newRect.width += (oldPoint.x - newPoint.x);
+       // newRect.height += (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZENE:
+       // newRect.y -= (oldPoint.y - newPoint.y);
+       // newRect.width -= (oldPoint.x - newPoint.x);
+       // newRect.height += (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZES:
+       // newRect.height -= (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZESW:
+       // newRect.x -= (oldPoint.x - newPoint.x);
+       // newRect.width += (oldPoint.x - newPoint.x);
+       // newRect.height -= (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZESE:
+       // newRect.width -= oldPoint.x - newPoint.x;
+       // newRect.height -= (oldPoint.y - newPoint.y);
+       // break;
+       // case SWT.CURSOR_SIZEW:
+       // newRect.x -= (oldPoint.x - newPoint.x);
+       // newRect.width += (oldPoint.x - newPoint.x);
+       // break;
+       // case SWT.CURSOR_SIZEE:
+       // newRect.width -= (oldPoint.x - newPoint.x);
+       // break;
+       // default:
+       // return;
+       // }
+       //
+       // if (newRect.height < 400 || newRect.width < 600)
+       // return;
+       // windowHeight = newRect.height;
+       // windowWidth = newRect.width;
+       // shell.setBounds(newRect);
+       // }
+       // display = getDisplay();
+       // }
+       // downPoint = display.getCursorLocation();
+       // downRect = shell.getBounds();
+       // }
+       //
+       // // Sets mouse moving state.
+       // if (SWT.MouseUp == e.type) {
+       // if (null == display) {
+       // display = getDisplay();
+       // }
+       // Point p = display.getCursorLocation();
+       // resizeWindow(downRect, downPoint, p, cursorStyle);
+       // isMouseDown = false;
+       // }
+       //
+       // if (SWT.MouseMove == e.type) {
+       // if (false == isMouseDown) {
+       // cursorStyle = setCursorStyle(cursorStyle, windowWidth,
+       // windowHeight, x, y);
+       // } else {
+       // if (null == display) {
+       // display = getDisplay();
+       // }
+       // Point p = display.getCursorLocation();
+       // resizeWindow(downRect, downPoint, p, cursorStyle);
+       // }
+       // }
+       // if (SWT.MouseEnter == e.type) {
+       // }
+       // if (SWT.MouseExit == e.type) {
+       // cursorStyle = setCursor(cursorStyle, SWT.CURSOR_ARROW);
+       // }
+       //
+       // if (SWT.MouseHover == e.type) {
+       // if (true == isMouseDown) {
+       // if (null == display) {
+       // display = getDisplay();
+       // }
+       // Point p = display.getCursorLocation();
+       // resizeWindow(downRect, downPoint, p, cursorStyle);
+       // }
+       // }
+       // // Draws trim image.
+       // if (SWT.Paint == e.type) {
+       // // Draws top trim.
+       // if (false == isPatternInit) {
+       // topP = new Pattern(shell.getDisplay(), windowTopFrameImage);
+       //
+       // leftP = new Pattern(shell.getDisplay(),
+       // windowLeftFrameImage);
+       //
+       // grayP = new Pattern(shell.getDisplay(),
+       // windowRightFrameGrayPart);
+       //
+       // darkGrayP = new Pattern(shell.getDisplay(),
+       // windowRightFrameDartGrayPart);
+       //
+       // blackP = new Pattern(shell.getDisplay(),
+       // windowRightFrameBlackPart);
+       //
+       // isPatternInit = true;
+       // }
+       // e.gc.setBackgroundPattern(topP);
+       // e.gc.fillRectangle(
+       // DesignConstants.WINDOW_FRAME_LEFT_MARGIN,
+       // 0,
+       // windowWidth
+       // - (DesignConstants.WINDOW_FRAME_LEFT_MARGIN +
+       // DesignConstants.WINDOW_FRAME_RIGHT_MARGIN),
+       // DesignConstants.WINDOW_FRAME_TOP_MARGIN);
+       //
+       // // Draws left trim.
+       // e.gc.setBackgroundPattern(leftP);
+       // e.gc.fillRectangle(
+       // 0,
+       // DesignConstants.WINDOW_FRAME_TOP_MARGIN
+       // + DesignConstants.TITLEBAR_HEIGHT,
+       // DesignConstants.WINDOW_FRAME_LEFT_MARGIN,
+       // windowHeight
+       // - (DesignConstants.WINDOW_FRAME_TOP_MARGIN
+       // + DesignConstants.TITLEBAR_HEIGHT +
+       // DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
+       // // pattern.dispose();
+       //
+       // // Draws right trim.
+       // e.gc.setBackgroundPattern(grayP);
+       // e.gc.fillRectangle(
+       // windowWidth - DesignConstants.WINDOW_FRAME_RIGHT_MARGIN,
+       // DesignConstants.WINDOW_FRAME_TOP_MARGIN
+       // + DesignConstants.TITLEBAR_HEIGHT,
+       // DesignConstants.WINDOW_FRAME_PART_SIZE,
+       // windowHeight
+       // - (DesignConstants.TITLEBAR_HEIGHT
+       // + DesignConstants.WINDOW_FRAME_TOP_MARGIN +
+       // DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
+       //
+       // e.gc.setBackgroundPattern(darkGrayP);
+       // e.gc.fillRectangle(
+       // windowWidth - DesignConstants.WINDOW_FRAME_RIGHT_MARGIN
+       // + DesignConstants.WINDOW_FRAME_PART_SIZE,
+       // DesignConstants.WINDOW_FRAME_TOP_MARGIN
+       // + DesignConstants.TITLEBAR_HEIGHT,
+       // DesignConstants.WINDOW_FRAME_PART_SIZE * 2,
+       // windowHeight
+       // - (DesignConstants.TITLEBAR_HEIGHT
+       // + DesignConstants.WINDOW_FRAME_TOP_MARGIN +
+       // DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
+       //
+       // e.gc.setBackgroundPattern(grayP);
+       // e.gc.fillRectangle(
+       // windowWidth - DesignConstants.WINDOW_FRAME_PART_SIZE
+       // * 2,
+       // DesignConstants.WINDOW_FRAME_TOP_MARGIN
+       // + DesignConstants.TITLEBAR_HEIGHT,
+       // DesignConstants.WINDOW_FRAME_PART_SIZE,
+       // windowHeight
+       // - (DesignConstants.TITLEBAR_HEIGHT
+       // + DesignConstants.WINDOW_FRAME_TOP_MARGIN +
+       // DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
+       //
+       // e.gc.setBackgroundPattern(blackP);
+       // e.gc.fillRectangle(
+       // windowWidth - DesignConstants.WINDOW_FRAME_PART_SIZE,
+       // DesignConstants.WINDOW_FRAME_TOP_MARGIN
+       // + DesignConstants.TITLEBAR_HEIGHT,
+       // DesignConstants.WINDOW_FRAME_PART_SIZE,
+       // windowHeight
+       // - (DesignConstants.TITLEBAR_HEIGHT
+       // + DesignConstants.WINDOW_FRAME_TOP_MARGIN +
+       // DesignConstants.WINDOW_FRAME_BOTTOM_MARGIN));
+       //
+       // // Draws bottom trim.
+       // e.gc.setBackgroundPattern(grayP);
+       // e.gc.fillRectangle(OFFSET_FIVE, windowHeight - OFFSET_FIVE,
+       // windowWidth - OFFSET_TEN, OFFSET_ONE);
+       //
+       // e.gc.setBackgroundPattern(darkGrayP);
+       // e.gc.fillRectangle(OFFSET_FIVE, windowHeight - OFFSET_FOUR,
+       // windowWidth - OFFSET_TEN, OFFSET_TWO);
+       //
+       // e.gc.setBackgroundPattern(grayP);
+       // e.gc.fillRectangle(OFFSET_FIVE, windowHeight - OFFSET_TWO,
+       // windowWidth - OFFSET_TEN, OFFSET_ONE);
+       //
+       // e.gc.setBackgroundPattern(blackP);
+       // e.gc.fillRectangle(OFFSET_FIVE, windowHeight - OFFSET_ONE,
+       // windowWidth - OFFSET_TEN, OFFSET_ONE);
+       //
+       // // pattern.dispose();
+       //
+       // // Draws corner trim.
+       // e.gc.drawImage(topLeftImage, START, START);
+       // e.gc.drawImage(topLeftNormalImage2, START, OFFSET_FIVE);
+       // e.gc.drawImage(topRightImage, windowWidth - OFFSET_FIVE, START);
+       // e.gc.drawImage(topRightNormalImage2, windowWidth - OFFSET_FIVE,
+       // OFFSET_FIVE);
+       // e.gc.drawImage(bottomLeftImage, START, windowHeight
+       // - OFFSET_FIVE);
+       // e.gc.drawImage(bottomRightImage, windowWidth - OFFSET_FIVE,
+       // windowHeight - OFFSET_FIVE);
+       //
+       // // Sets region.
+       // setShellRegion();
+       // }
+       // }
+       // };
 
        private CoolbarArea(IWorkbenchWindowConfigurer configurer, Shell sh) {
                shell = sh;
@@ -631,7 +704,7 @@ public class CoolbarArea {
                // createTitlebar(titlebarComposite);
 
                final FormLayout formLayout = new FormLayout();
-               formLayout.marginWidth = OFFSET_ZERO;
+               formLayout.marginWidth = 0;
 
                // Creates toolbar.
                toolbarComposite = new Composite(baseComposite, SWT.NONE);
@@ -664,17 +737,17 @@ public class CoolbarArea {
                toolbarComposite.setLayoutData(data);
 
                data = new FormData();
-               data.top = new FormAttachment(toolbarComposite, OFFSET_ZERO, SWT.BOTTOM);
-               data.left = new FormAttachment(START, 0);
-               data.right = new FormAttachment(END, 0);
+               data.top = new FormAttachment(toolbarComposite, 0, SWT.BOTTOM);
+               data.left = new FormAttachment(0, 0);
+               data.right = new FormAttachment(100, 0);
                // data.bottom = new FormAttachment(toolbarComposite, 25, SWT.BOTTOM);
                lineComposite.setLayoutData(data);
 
                data = new FormData();
-               data.top = new FormAttachment(lineComposite, OFFSET_ZERO, SWT.BOTTOM);
-               data.left = new FormAttachment(START, 0);
-               data.right = new FormAttachment(END, 0);
-               data.bottom = new FormAttachment(END, 0);
+               data.top = new FormAttachment(lineComposite, 0, SWT.BOTTOM);
+               data.left = new FormAttachment(0, 0);
+               data.right = new FormAttachment(100, 0);
+               data.bottom = new FormAttachment(100, 0);
                page.setLayoutData(data);
 
                configurer.getWindow().getShell().layout(true);
@@ -687,32 +760,32 @@ public class CoolbarArea {
                // addTitlebarAndShellListeners();
        }
 
-       private void addTitlebarListeners() {
-               minButton.addClickListener(new DACustomButtonClickEventListener() {
-
-                       @Override
-                       public void handleClickEvent(DACustomButton button) {
-                               shell.setMinimized(true);
-                       }
-               });
-
-               maxButton.addClickListener(new DACustomButtonClickEventListener() {
-
-                       @Override
-                       public void handleClickEvent(DACustomButton button) {
-                               handleMaximization();
-                       }
-
-               });
+       // private void addTitlebarListeners() {
+       // minButton.addClickListener(new DACustomButtonClickEventListener() {
+       //
+       // @Override
+       // public void handleClickEvent(DACustomButton button) {
+       // shell.setMinimized(true);
+       // }
+       // });
 
-               closeButton.addClickListener(new DACustomButtonClickEventListener() {
+       // maxButton.addClickListener(new DACustomButtonClickEventListener() {
+       //
+       // @Override
+       // public void handleClickEvent(DACustomButton button) {
+       // handleMaximization();
+       // }
+       //
+       // });
 
-                       @Override
-                       public void handleClickEvent(DACustomButton button) {
-                               PlatformUI.getWorkbench().close();
-                       }
-               });
-       }
+       // closeButton.addClickListener(new DACustomButtonClickEventListener() {
+       //
+       // @Override
+       // public void handleClickEvent(DACustomButton button) {
+       // PlatformUI.getWorkbench().close();
+       // }
+       // });
+       // }
 
        public void setRepalyButtonEnable(boolean enabled) {
                Project p = AnalyzerManager.getProject();
@@ -907,26 +980,26 @@ public class CoolbarArea {
 
        }
 
-       private void addTitlebarAndShellListeners() {
-               titlebarComposite.addListener(SWT.MouseDoubleClick, titlebarListener);
-               titleLabel.addListener(SWT.MouseDoubleClick, titlebarListener);
-               shell.addListener(SWT.Paint, trimListener);
-               addTitlebarAndShellMouseListeners();
-       }
-
-       private void addTitlebarAndShellMouseListeners() {
-               titlebarComposite.addListener(SWT.MouseDown, titlebarListener);
-               titlebarComposite.addListener(SWT.MouseMove, titlebarListener);
-               titleLabel.addListener(SWT.MouseDown, titlebarListener);
-               titleLabel.addListener(SWT.MouseMove, titlebarListener);
-               shell.addListener(SWT.MouseDown, trimListener);
-               shell.addListener(SWT.MouseMove, trimListener);
-               shell.addListener(SWT.MouseUp, trimListener);
-               shell.addListener(SWT.MouseHover, trimListener);
-               shell.addListener(SWT.MouseEnter, trimListener);
-               shell.addListener(SWT.MouseExit, trimListener);
+       // private void addTitlebarAndShellListeners() {
+       // titlebarComposite.addListener(SWT.MouseDoubleClick, titlebarListener);
+       // titleLabel.addListener(SWT.MouseDoubleClick, titlebarListener);
+       // shell.addListener(SWT.Paint, trimListener);
+       // addTitlebarAndShellMouseListeners();
+       // }
 
-       }
+       // private void addTitlebarAndShellMouseListeners() {
+       // titlebarComposite.addListener(SWT.MouseDown, titlebarListener);
+       // titlebarComposite.addListener(SWT.MouseMove, titlebarListener);
+       // titleLabel.addListener(SWT.MouseDown, titlebarListener);
+       // titleLabel.addListener(SWT.MouseMove, titlebarListener);
+       // shell.addListener(SWT.MouseDown, trimListener);
+       // shell.addListener(SWT.MouseMove, trimListener);
+       // shell.addListener(SWT.MouseUp, trimListener);
+       // shell.addListener(SWT.MouseHover, trimListener);
+       // shell.addListener(SWT.MouseEnter, trimListener);
+       // shell.addListener(SWT.MouseExit, trimListener);
+       //
+       // }
 
        // TODO Remove or modify.
        // private void createCategoryMenu() {
@@ -967,79 +1040,79 @@ public class CoolbarArea {
        // });
        // }
 
-       private void createTitlebar(Composite parent) {
-               // Creates icon label.
-               Label iconLabel = new Label(parent, SWT.NONE);
-               iconLabel.setImage(iconImage);
-
-               // Set layout
-               FormData data = new FormData();
-               data.top = new FormAttachment(START, OFFSET_TWO);
-               data.left = new FormAttachment(START, OFFSET_FIVE);
-               iconLabel.setLayoutData(data);
-
-               // Creates title label.
-               titleLabel = new Label(parent, SWT.TRANSPARENT);
-               titleLabel.setBackground(titlebarColor);
-               titleLabel.setForeground(titlebarTextColor);
-               titleLabel.setFont(titlebarTextFont);
-               titleLabel.setText(AnalyzerLabels.DYNAMIC_ANALYZER);
-               // set layout
-               data = new FormData();
-               data.top = new FormAttachment(START, OFFSET_THREE);
-               data.left = new FormAttachment(iconLabel, OFFSET_FOUR);
-               titleLabel.setLayoutData(data);
-
-               // Creates button composite
-               // which contains category combo, min, max and exit buttons.
-               Composite buttonComposite = new Composite(parent, SWT.NONE);
-               buttonComposite.setLayout(new FormLayout());
-               buttonComposite.setBackground(titlebarColor);
-
-               // Creates minimization button.
-               minButton = new DACustomButton(buttonComposite, minImage, minPushImage,
-                               minHoverImage, null);
-               minButton.setToolTipText(AnalyzerLabels.MIN);
-
-               // Creates maximization button.
-               maxButton = new DACustomButton(buttonComposite, maxImage, maxPushImage,
-                               maxHoverImage, null);
-               maxButton.setToolTipText(AnalyzerLabels.MAX);
-
-               // Creates exit button.
-               closeButton = new DACustomButton(buttonComposite, closeImage,
-                               closePushImage, closeHoverImage, null);
-               closeButton.setToolTipText(AnalyzerLabels.CLOSE);
-
-               data = new FormData();
-               data.top = new FormAttachment(START, OFFSET_ZERO);
-               data.right = new FormAttachment(END, OFFSET_ZERO);
-               data.bottom = new FormAttachment(END, -OFFSET_FIVE);
-               buttonComposite.setLayoutData(data);
-
-               data = new FormData();
-               data.top = new FormAttachment(START, OFFSET_TWO);
-               data.height = 18;
-               data.width = 28;
-               minButton.setLayoutData(data);
-
-               data = new FormData();
-               data.top = new FormAttachment(START, OFFSET_TWO);
-               data.left = new FormAttachment(minButton, OFFSET_ZERO, SWT.RIGHT);
-               data.height = 18;
-               data.width = 27;
-               maxButton.setLayoutData(data);
-
-               data = new FormData();
-               data.top = new FormAttachment(START, OFFSET_TWO);
-               data.left = new FormAttachment(maxButton, OFFSET_ZERO, SWT.RIGHT);
-               data.height = 18;
-               data.width = 46;
-               closeButton.setLayoutData(data);
-
-               // Adds title bar listeners.
-               addTitlebarListeners();
-       }
+       // private void createTitlebar(Composite parent) {
+       // // Creates icon label.
+       // Label iconLabel = new Label(parent, SWT.NONE);
+       // iconLabel.setImage(iconImage);
+       //
+       // // Set layout
+       // FormData data = new FormData();
+       // data.top = new FormAttachment(0, 2);
+       // data.left = new FormAttachment(0, 5);
+       // iconLabel.setLayoutData(data);
+       //
+       // // Creates title label.
+       // titleLabel = new Label(parent, SWT.TRANSPARENT);
+       // titleLabel.setBackground(titlebarColor);
+       // titleLabel.setForeground(titlebarTextColor);
+       // titleLabel.setFont(titlebarTextFont);
+       // titleLabel.setText(AnalyzerLabels.DYNAMIC_ANALYZER);
+       // // set layout
+       // data = new FormData();
+       // data.top = new FormAttachment(0, 3);
+       // data.left = new FormAttachment(iconLabel, 4);
+       // titleLabel.setLayoutData(data);
+       //
+       // // Creates button composite
+       // // which contains category combo, min, max and exit buttons.
+       // Composite buttonComposite = new Composite(parent, SWT.NONE);
+       // buttonComposite.setLayout(new FormLayout());
+       // buttonComposite.setBackground(titlebarColor);
+       //
+       // // Creates minimization button.
+       // minButton = new DACustomButton(buttonComposite, minImage, minPushImage,
+       // minHoverImage, null);
+       // minButton.setToolTipText(AnalyzerLabels.MIN);
+       //
+       // // Creates maximization button.
+       // maxButton = new DACustomButton(buttonComposite, maxImage, maxPushImage,
+       // maxHoverImage, null);
+       // maxButton.setToolTipText(AnalyzerLabels.MAX);
+       //
+       // // Creates exit button.
+       // closeButton = new DACustomButton(buttonComposite, closeImage,
+       // closePushImage, closeHoverImage, null);
+       // closeButton.setToolTipText(AnalyzerLabels.CLOSE);
+       //
+       // data = new FormData();
+       // data.top = new FormAttachment(0, 0);
+       // data.right = new FormAttachment(100, 0);
+       // data.bottom = new FormAttachment(100, -5);
+       // buttonComposite.setLayoutData(data);
+       //
+       // data = new FormData();
+       // data.top = new FormAttachment(0, 2);
+       // data.height = 18;
+       // data.width = 28;
+       // minButton.setLayoutData(data);
+       //
+       // data = new FormData();
+       // data.top = new FormAttachment(0, 2);
+       // data.left = new FormAttachment(minButton, 0, SWT.RIGHT);
+       // data.height = 18;
+       // data.width = 27;
+       // maxButton.setLayoutData(data);
+       //
+       // data = new FormData();
+       // data.top = new FormAttachment(0, 2);
+       // data.left = new FormAttachment(maxButton, 0, SWT.RIGHT);
+       // data.height = 18;
+       // data.width = 46;
+       // closeButton.setLayoutData(data);
+       //
+       // // Adds title bar listeners.
+       // addTitlebarListeners();
+       // }
 
        private void createToolbar(Composite parent) {
 
@@ -1055,8 +1128,11 @@ public class CoolbarArea {
                startButton.setToolTipText(AnalyzerLabels.START_TRACE);
 
                // Creates TimerClock widget.
-               timerComposite = new Composite(controlComposite, SWT.NONE);
-               timerClock = new TimerClock(timerComposite);
+               // timerComposite = new Composite(controlComposite, SWT.NONE);
+               // timerClock = new TimerClock(timerComposite);
+               timerClock = new TimerClock(controlComposite, SWT.NONE);
+               timerClock.setBgImage(ImageResources.TIMER);
+               timerClock.setFont(FontResources.TIMER);
 
                // // Creates save trace button.
                saveTraceButton = new DACustomButton(controlComposite, saveImage,
@@ -1101,8 +1177,9 @@ public class CoolbarArea {
                FormData data = new FormData();
                data.top = new FormAttachment(0, 4);
                data.left = new FormAttachment(0, 345);
-               data.height = 34;
+               data.height = 30;
                controlComposite.setLayoutData(data);
+               controlComposite.setBackground(ColorResources.RED);
 
                data = new FormData();
                data.top = new FormAttachment(controlComposite, 0);
@@ -1112,55 +1189,55 @@ public class CoolbarArea {
                startButton.setLayoutData(data);
 
                data = new FormData();
-               data.top = new FormAttachment(0, 1);
-               data.left = new FormAttachment(startButton, OFFSET_ZERO);
+               data.top = new FormAttachment(0, 0);
+               data.left = new FormAttachment(startButton, 0);
                data.width = TIMER_WIDTH;
-               data.height = 28;
-               timerComposite.setLayoutData(data);
+               data.height = 30;
+               timerClock.setLayoutData(data);
 
                data = new FormData();
-               data.top = new FormAttachment(START, 0);
-               data.left = new FormAttachment(timerComposite, OFFSET_ZERO, SWT.RIGHT);
-               data.width = 32;
+               data.top = new FormAttachment(0, 0);
+               data.left = new FormAttachment(timerClock, 0, SWT.RIGHT);
+               data.width = 31;
                data.height = 30;
                saveTraceButton.setLayoutData(data);
 
                data = new FormData();
-               data.top = new FormAttachment(START, 0);
-               data.left = new FormAttachment(saveTraceButton, OFFSET_ZERO, SWT.RIGHT);
-               data.width = 32;
+               data.top = new FormAttachment(0, 0);
+               data.left = new FormAttachment(saveTraceButton, 0, SWT.RIGHT);
+               data.width = 31;
                data.height = 30;
                openTraceButton.setLayoutData(data);
 
                data = new FormData();
-               data.top = new FormAttachment(START, 0);
-               data.left = new FormAttachment(openTraceButton, OFFSET_ZERO, SWT.RIGHT);
-               data.width = 32;
+               data.top = new FormAttachment(0, 0);
+               data.left = new FormAttachment(openTraceButton, 0, SWT.RIGHT);
+               data.width = 31;
                data.height = 30;
                replayButton.setLayoutData(data);
 
                data = new FormData();
                data.top = new FormAttachment(0, 2);
-               data.left = new FormAttachment(controlComposite, OFFSET_FIVE);
-               data.right = new FormAttachment(END, -OFFSET_FIVE);
+               data.left = new FormAttachment(controlComposite, 5);
+               data.right = new FormAttachment(100, -5);
                sourceViewComposite.setLayoutData(data);
 
                data = new FormData();
-               data.top = new FormAttachment(START, 2);
-               data.right = new FormAttachment(END, 0);
+               data.top = new FormAttachment(0, 2);
+               data.right = new FormAttachment(100, 0);
                data.width = 0;
                data.height = 0;
                settingsButton.setLayoutData(data);
 
                data = new FormData();
-               data.top = new FormAttachment(START, 2);
+               data.top = new FormAttachment(0, 2);
                data.right = new FormAttachment(settingsButton, 0);
                data.width = 32;
                data.height = 30;
                aboutButton.setLayoutData(data);
 
                data = new FormData();
-               data.top = new FormAttachment(START, 2);
+               data.top = new FormAttachment(0, 2);
                data.right = new FormAttachment(aboutButton, -10);
                data.width = 32;
                data.height = 30;
@@ -1364,116 +1441,116 @@ public class CoolbarArea {
                timerClock.setTime(time);
        }
 
-       private Monitor findMaximizeTargetMonitor() {
-               int ret = -1;
-               int area = 0;
-
-               Rectangle shellRect = shell.getBounds();
-               Rectangle monitorRect = null;
-               Rectangle intersectRect = null;
-
-               Monitor[] monitors = PlatformUI.getWorkbench().getDisplay()
-                               .getMonitors();
-
-               for (int i = 0; i < monitors.length; i++) {
-                       monitorRect = monitors[i].getBounds();
-                       intersectRect = monitorRect.intersection(shellRect);
-                       int interArea = intersectRect.width * intersectRect.height;
-                       if (area < interArea) {
-                               area = interArea;
-                               ret = i;
-                       }
-               }
-
-               if (-1 != ret)
-                       return monitors[ret];
-               else
-                       return null;
-       }
-
-       private void handleMaximization() {
-               if (isMaximized) {
-                       isMaximized = false;
-                       windowWidth = oldSizeOfWindow.x;
-                       windowHeight = oldSizeOfWindow.y;
-                       // shell.setBounds(100,100,windowWidth,windowHeight);
-                       shell.setLocation(oldLocationOfWindow);
-                       shell.setSize(oldSizeOfWindow);
-
-                       // Sets trim corner image.
-                       topLeftImage = topLeftNormalImage;
-                       topRightImage = topRightNormalImage;
-                       bottomLeftImage = bottomLeftNormalImage;
-                       bottomRightImage = bottomRightNormalImage;
-
-                       setMaxButtonState(isMaximized);
-
-                       maxButton.setToolTipText(AnalyzerLabels.MAX);
-
-                       // Adds mouse listeners.
-                       addTitlebarAndShellMouseListeners();
-               } else {
-                       isMaximized = true;
-                       oldSizeOfWindow = shell.getSize();
-                       oldLocationOfWindow = shell.getLocation();
-
-                       Monitor mon = findMaximizeTargetMonitor();
-                       Rectangle clientRectangle = mon.getBounds();
-                       Rectangle rectangle = mon.getClientArea();
-                       if (rectangle.width < clientRectangle.width) {
-                               windowWidth = rectangle.width - clientRectangle.x;
-                               windowHeight = rectangle.height - clientRectangle.y;
-                               shell.setSize(windowWidth, windowHeight);
-                               shell.setLocation(rectangle.x + clientRectangle.x, rectangle.y
-                                               + clientRectangle.y);
-                       } else {
-                               windowWidth = clientRectangle.width;
-                               windowHeight = clientRectangle.height;
-                               shell.setSize(windowWidth, windowHeight);
-                               shell.setLocation(clientRectangle.x, clientRectangle.y);
-                       }
+       // private Monitor findMaximizeTargetMonitor() {
+       // int ret = -1;
+       // int area = 0;
+       //
+       // Rectangle shellRect = shell.getBounds();
+       // Rectangle monitorRect = null;
+       // Rectangle intersectRect = null;
+       //
+       // Monitor[] monitors = PlatformUI.getWorkbench().getDisplay()
+       // .getMonitors();
+       //
+       // for (int i = 0; i < monitors.length; i++) {
+       // monitorRect = monitors[i].getBounds();
+       // intersectRect = monitorRect.intersection(shellRect);
+       // int interArea = intersectRect.width * intersectRect.height;
+       // if (area < interArea) {
+       // area = interArea;
+       // ret = i;
+       // }
+       // }
+       //
+       // if (-1 != ret)
+       // return monitors[ret];
+       // else
+       // return null;
+       // }
 
-                       // Sets max width and height.
-                       // int midX = shell.getLocation().x + (oldSizeOfWindow.x / 2);
-                       // Monitor[] monitors = PlatformUI.getWorkbench().getDisplay()
-                       // .getMonitors();
-                       // int monitorsLength = monitors.length;
-                       //
-                       //
-                       // Rectangle clientRectangle = null;
-                       // Rectangle rectangle = null;
-                       // for (int i = 0; i < monitorsLength; i++) {
-                       // rectangle = monitors[i].getBounds();
-                       // clientRectangle = monitors[i].getClientArea();
-                       // // for ubuntu getClientArea bug FIXME
-                       // if(rectangle.width < clientRectangle.width){
-                       // if (rectangle.x < midX && rectangle.x + rectangle.width > midX) {
-                       // break;
-                       // }
-                       // }
-                       // if (rectangle.x < midX && rectangle.x + rectangle.width > midX) {
-                       // break;
-                       // }
-                       // }
-                       // windowWidth = rectangle.width;
-                       // windowHeight = rectangle.height;
-                       // shell.setSize(windowWidth, windowHeight);
-                       // shell.setLocation(rectangle.x, rectangle.y);
-
-                       // Sets trim corner image.
-                       topLeftImage = topLeftMaxImage;
-                       topRightImage = topRightMaxImage;
-                       bottomLeftImage = bottomLeftMaxImage;
-                       bottomRightImage = bottomRightMaxImage;
-
-                       setMaxButtonState(isMaximized);
-
-                       maxButton.setToolTipText(AnalyzerLabels.RESTORE);
-
-                       // Removes mouse listeners.
-                       removeTitlebarAndShellMouseListeners();
-               }
-       }
+       // private void handleMaximization() {
+       // if (isMaximized) {
+       // isMaximized = false;
+       // windowWidth = oldSizeOfWindow.x;
+       // windowHeight = oldSizeOfWindow.y;
+       // // shell.setBounds(100,100,windowWidth,windowHeight);
+       // shell.setLocation(oldLocationOfWindow);
+       // shell.setSize(oldSizeOfWindow);
+       //
+       // // Sets trim corner image.
+       // topLeftImage = topLeftNormalImage;
+       // topRightImage = topRightNormalImage;
+       // bottomLeftImage = bottomLeftNormalImage;
+       // bottomRightImage = bottomRightNormalImage;
+       //
+       // setMaxButtonState(isMaximized);
+       //
+       // maxButton.setToolTipText(AnalyzerLabels.MAX);
+       //
+       // // Adds mouse listeners.
+       // // addTitlebarAndShellMouseListeners();
+       // } else {
+       // isMaximized = true;
+       // oldSizeOfWindow = shell.getSize();
+       // oldLocationOfWindow = shell.getLocation();
+       //
+       // Monitor mon = findMaximizeTargetMonitor();
+       // Rectangle clientRectangle = mon.getBounds();
+       // Rectangle rectangle = mon.getClientArea();
+       // if (rectangle.width < clientRectangle.width) {
+       // windowWidth = rectangle.width - clientRectangle.x;
+       // windowHeight = rectangle.height - clientRectangle.y;
+       // shell.setSize(windowWidth, windowHeight);
+       // shell.setLocation(rectangle.x + clientRectangle.x, rectangle.y
+       // + clientRectangle.y);
+       // } else {
+       // windowWidth = clientRectangle.width;
+       // windowHeight = clientRectangle.height;
+       // shell.setSize(windowWidth, windowHeight);
+       // shell.setLocation(clientRectangle.x, clientRectangle.y);
+       // }
+       //
+       // // Sets max width and height.
+       // // int midX = shell.getLocation().x + (oldSizeOfWindow.x / 2);
+       // // Monitor[] monitors = PlatformUI.getWorkbench().getDisplay()
+       // // .getMonitors();
+       // // int monitorsLength = monitors.length;
+       // //
+       // //
+       // // Rectangle clientRectangle = null;
+       // // Rectangle rectangle = null;
+       // // for (int i = 0; i < monitorsLength; i++) {
+       // // rectangle = monitors[i].getBounds();
+       // // clientRectangle = monitors[i].getClientArea();
+       // // // for ubuntu getClientArea bug FIXME
+       // // if(rectangle.width < clientRectangle.width){
+       // // if (rectangle.x < midX && rectangle.x + rectangle.width > midX) {
+       // // break;
+       // // }
+       // // }
+       // // if (rectangle.x < midX && rectangle.x + rectangle.width > midX) {
+       // // break;
+       // // }
+       // // }
+       // // windowWidth = rectangle.width;
+       // // windowHeight = rectangle.height;
+       // // shell.setSize(windowWidth, windowHeight);
+       // // shell.setLocation(rectangle.x, rectangle.y);
+       //
+       // // Sets trim corner image.
+       // topLeftImage = topLeftMaxImage;
+       // topRightImage = topRightMaxImage;
+       // bottomLeftImage = bottomLeftMaxImage;
+       // bottomRightImage = bottomRightMaxImage;
+       //
+       // setMaxButtonState(isMaximized);
+       //
+       // maxButton.setToolTipText(AnalyzerLabels.RESTORE);
+       //
+       // // Removes mouse listeners.
+       // // removeTitlebarAndShellMouseListeners();
+       // }
+       // }
 
        private void initAppCombo() {
                String device = deviceCombo.getText();
@@ -1515,25 +1592,25 @@ public class CoolbarArea {
                saveTraceButton.setEnabled(false);
        }
 
-       private void removeTitlebarAndShellListeners() {
-               titlebarComposite
-                               .removeListener(SWT.MouseDoubleClick, titlebarListener);
-               titleLabel.removeListener(SWT.MouseDoubleClick, titlebarListener);
-               shell.removeListener(SWT.Paint, trimListener);
-               removeTitlebarAndShellMouseListeners();
-       }
+       // private void removeTitlebarAndShellListeners() {
+       // titlebarComposite
+       // .removeListener(SWT.MouseDoubleClick, titlebarListener);
+       // titleLabel.removeListener(SWT.MouseDoubleClick, titlebarListener);
+       // shell.removeListener(SWT.Paint, trimListener);
+       // removeTitlebarAndShellMouseListeners();
+       // }
 
-       private void removeTitlebarAndShellMouseListeners() {
-               titlebarComposite.removeListener(SWT.MouseDown, titlebarListener);
-               titlebarComposite.removeListener(SWT.MouseMove, titlebarListener);
-               titleLabel.removeListener(SWT.MouseDown, titlebarListener);
-               titleLabel.removeListener(SWT.MouseMove, titlebarListener);
-               shell.removeListener(SWT.MouseDown, trimListener);
-               shell.removeListener(SWT.MouseMove, trimListener);
-               shell.removeListener(SWT.MouseUp, trimListener);
-               shell.removeListener(SWT.MouseHover, trimListener);
-               shell.removeListener(SWT.MouseExit, trimListener);
-       }
+       // private void removeTitlebarAndShellMouseListeners() {
+       // titlebarComposite.removeListener(SWT.MouseDown, titlebarListener);
+       // titlebarComposite.removeListener(SWT.MouseMove, titlebarListener);
+       // titleLabel.removeListener(SWT.MouseDown, titlebarListener);
+       // titleLabel.removeListener(SWT.MouseMove, titlebarListener);
+       // shell.removeListener(SWT.MouseDown, trimListener);
+       // shell.removeListener(SWT.MouseMove, trimListener);
+       // shell.removeListener(SWT.MouseUp, trimListener);
+       // shell.removeListener(SWT.MouseHover, trimListener);
+       // shell.removeListener(SWT.MouseExit, trimListener);
+       // }
 
        public void setDeviceComboItems(List<String> items) {
                // deviceCombo.removeAll();
@@ -1588,7 +1665,7 @@ public class CoolbarArea {
                        AppDesktopInfo appInfo = DACommunicator
                                        .getAppDesktopInfoByName(items.get(0));
                        DACommunicator.setSelectedApp(appInfo);
-                       appCombo.setToolTipText(appCombo.getItem(START));
+                       appCombo.setToolTipText(appCombo.getItem(0));
                        startButton.setEnabled(true);
                } else {
                        appCombo.add(AnalyzerConstants.EMPTY);
@@ -1619,66 +1696,66 @@ public class CoolbarArea {
        // sourceViewButton.setVisible(visibility);
        // }
 
-       private void setMaxButtonState(boolean isMaximized) {
-               if (isMaximized) {
-
-                       // maxButton.setImage(restoreImage);
-                       maxButton.setImages(restoreImage, restorePushImage,
-                                       restoreHoverImage, null);
-                       // maxButton.setNormalImage(restoreImage);
-                       // maxButton.setPushImage(restorePushImage);
-                       // maxButton.setHoverImage(restoreHoverImage);
-               } else {
-                       // maxButton.setImage(maxImage);
-                       maxButton.setImages(maxImage, maxPushImage, maxHoverImage, null);
-                       // maxButton.setNormalImage(maxImage);
-                       // maxButton.setPushImage(maxPushImage);
-                       // maxButton.setHoverImage(maxHoverImage);
-               }
-       }
-
-       private void setShellRegion() {
-               Region shellRegion = new Region();
-
-               // Adds total region.
-               shellRegion.add(new Rectangle(START, START, windowWidth, windowHeight));
-
-               if (!isMaximized) {
-                       int offset = OFFSET_TWO;
-                       if (AnalyzerUtil.isWin()) {
-                               offset = OFFSET_TWO;
-                       } else if (AnalyzerUtil.isLinux()) {
-                               offset = OFFSET_TWO;
-                       }
-
-                       // Subtracts top left corner region.
-                       for (int i = 0; i < offset; i++) {
-                               shellRegion.subtract(0, i, offset - i, 1);
-                       }
-                       // Subtracts top right corner region.
-                       for (int i = 0; i < offset; i++) {
-                               shellRegion
-                                               .subtract(windowWidth - offset + i, i, offset - i, 1);
-                       }
-                       // Subtracts bottom left corner region.
-                       for (int i = 0; i < offset; i++) {
-                               shellRegion.subtract(0, windowHeight - i, offset - i, 1);
-                       }
-                       // Subtracts bottom right corner region.
-                       for (int i = 0; i < offset; i++) {
-                               shellRegion.subtract(windowWidth - offset + i,
-                                               windowHeight - i, offset - i, 1);
-                       }
-               }
+       // private void setMaxButtonState(boolean isMaximized) {
+       // if (isMaximized) {
+       //
+       // // maxButton.setImage(restoreImage);
+       // maxButton.setImages(restoreImage, restorePushImage,
+       // restoreHoverImage, null);
+       // // maxButton.setNormalImage(restoreImage);
+       // // maxButton.setPushImage(restorePushImage);
+       // // maxButton.setHoverImage(restoreHoverImage);
+       // } else {
+       // // maxButton.setImage(maxImage);
+       // maxButton.setImages(maxImage, maxPushImage, maxHoverImage, null);
+       // // maxButton.setNormalImage(maxImage);
+       // // maxButton.setPushImage(maxPushImage);
+       // // maxButton.setHoverImage(maxHoverImage);
+       // }
+       // }
 
-               shell.setRegion(shellRegion);
-               shellRegion.dispose();
-       }
+       // private void setShellRegion() {
+       // Region shellRegion = new Region();
+       //
+       // // Adds total region.
+       // shellRegion.add(new Rectangle(0, 0, windowWidth, windowHeight));
+       //
+       // if (!isMaximized) {
+       // int offset = 2;
+       // if (AnalyzerUtil.isWin()) {
+       // offset = 2;
+       // } else if (AnalyzerUtil.isLinux()) {
+       // offset = 2;
+       // }
+       //
+       // // Subtracts top left corner region.
+       // for (int i = 0; i < offset; i++) {
+       // shellRegion.subtract(0, i, offset - i, 1);
+       // }
+       // // Subtracts top right corner region.
+       // for (int i = 0; i < offset; i++) {
+       // shellRegion
+       // .subtract(windowWidth - offset + i, i, offset - i, 1);
+       // }
+       // // Subtracts bottom left corner region.
+       // for (int i = 0; i < offset; i++) {
+       // shellRegion.subtract(0, windowHeight - i, offset - i, 1);
+       // }
+       // // Subtracts bottom right corner region.
+       // for (int i = 0; i < offset; i++) {
+       // shellRegion.subtract(windowWidth - offset + i,
+       // windowHeight - i, offset - i, 1);
+       // }
+       // }
+       //
+       // shell.setRegion(shellRegion);
+       // shellRegion.dispose();
+       // }
 
-       public void setShellSize(int width, int height) {
-               this.windowWidth = width;
-               this.windowHeight = height;
-       }
+       // public void setShellSize(int width, int height) {
+       // this.windowWidth = width;
+       // this.windowHeight = height;
+       // }
 
        // public void setSourceViewButtonToggleState(boolean isToggled) {
        // if (!isToggled) {
@@ -1790,10 +1867,10 @@ public class CoolbarArea {
        }
 
        public void autoStart() {
-                String deviceName = AnalyzerManager.getAutoStartDeviceName();
-                String appName = AnalyzerManager.getAutoStartApplicationName();
-//             String deviceName = " emulator-26100";
-//             String appName = "testapp";
+               String deviceName = AnalyzerManager.getAutoStartDeviceName();
+               String appName = AnalyzerManager.getAutoStartApplicationName();
+               // String deviceName = " emulator-26100";
+               // String appName = "testapp";
                if (null != deviceName && null != appName && !deviceName.isEmpty()
                                && !appName.isEmpty()) {
                        CoolbarArea.getInstance().setAppComboText(appName);
index a99564a..98cb33d 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/black/img/toolbar_time_bg.png and b/org.tizen.dynamicanalyzer/theme/black/img/toolbar_time_bg.png differ
index ee867d0..6d7a74c 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/add_chart_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/add_chart_hover.png differ
index 88e3f28..c1bb373 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/add_chart_nor.png and b/org.tizen.dynamicanalyzer/theme/white/img/add_chart_nor.png differ
index 6986f9e..87b360f 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/add_chart_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/add_chart_push.png differ
index 8d42ba7..2c532e2 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a01.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a01.png differ
index 3bd83fb..93ae927 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a02.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a02.png differ
index 3588d68..91e9f65 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a03.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a03.png differ
index 788cc48..cb68825 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a04.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a04.png differ
index 238558a..be667c5 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a05.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a05.png differ
index 67c7a64..2514620 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a06.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a06.png differ
index adf8356..4592be3 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a07.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a07.png differ
index 6cca363..54bda54 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a08.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a08.png differ
index 96a96c4..bf682bf 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a09.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a09.png differ
index 4f94398..5cdecce 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_a10.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_a10.png differ
index 01c83e6..3ca33bf 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_l01.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_l01.png differ
index 4deedaf..36726b3 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_l03.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_l03.png differ
index 418ab95..39067b8 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_l04.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_l04.png differ
index 77ac78e..4630f41 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_l05.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_l05.png differ
index fde4e25..909b7be 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_l06.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_l06.png differ
index 5319daf..e62ec4c 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_l07.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_l07.png differ
index 075d8ce..5e4c138 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_l08.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_l08.png differ
index e71e412..cc0c1d4 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_l09.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_l09.png differ
index 053095b..277897f 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/color_l10.png and b/org.tizen.dynamicanalyzer/theme/white/img/color_l10.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_UI_events_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_UI_events_off.png
new file mode 100644 (file)
index 0000000..e0be510
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_UI_events_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_UI_events_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_UI_events_on.png
new file mode 100644 (file)
index 0000000..3c998fa
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_UI_events_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_audio_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_audio_off.png
new file mode 100644 (file)
index 0000000..7d36108
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_audio_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_audio_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_audio_on.png
new file mode 100644 (file)
index 0000000..fc4cc21
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_audio_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_battery_usage_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_battery_usage_off.png
new file mode 100644 (file)
index 0000000..37e3bb4
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_battery_usage_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_battery_usage_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_battery_usage_on.png
new file mode 100644 (file)
index 0000000..8a3cdd2
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_battery_usage_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_bluetooth_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_bluetooth_off.png
new file mode 100644 (file)
index 0000000..7f09b31
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_bluetooth_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_bluetooth_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_bluetooth_on.png
new file mode 100644 (file)
index 0000000..aefa8fb
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_bluetooth_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_brightness_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_brightness_off.png
new file mode 100644 (file)
index 0000000..2e3f0e5
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_brightness_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_brightness_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_brightness_on.png
new file mode 100644 (file)
index 0000000..651c68a
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_brightness_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_camera_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_camera_off.png
new file mode 100644 (file)
index 0000000..ee466cb
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_camera_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_camera_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_camera_on.png
new file mode 100644 (file)
index 0000000..5cf850c
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_camera_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_core_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_core_off.png
new file mode 100644 (file)
index 0000000..cbfba78
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_core_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_core_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_core_on.png
new file mode 100644 (file)
index 0000000..046e509
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_core_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_frequency_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_frequency_off.png
new file mode 100644 (file)
index 0000000..8223f5f
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_frequency_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_frequency_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_frequency_on.png
new file mode 100644 (file)
index 0000000..da6b5a3
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_frequency_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_off.png
new file mode 100644 (file)
index 0000000..87b4692
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_on.png
new file mode 100644 (file)
index 0000000..fbda12a
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_cpu_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_devices_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_devices_off.png
new file mode 100644 (file)
index 0000000..4156f22
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_devices_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_devices_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_devices_on.png
new file mode 100644 (file)
index 0000000..53db6db
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_devices_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_electric_current_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_electric_current_off.png
new file mode 100644 (file)
index 0000000..2be90ce
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_electric_current_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_electric_current_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_electric_current_on.png
new file mode 100644 (file)
index 0000000..f7f541f
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_electric_current_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_fd_usage_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_fd_usage_off.png
new file mode 100644 (file)
index 0000000..84db83a
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_fd_usage_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_fd_usage_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_fd_usage_on.png
new file mode 100644 (file)
index 0000000..6526563
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_fd_usage_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_gps_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_gps_off.png
new file mode 100644 (file)
index 0000000..1104f19
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_gps_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_gps_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_gps_on.png
new file mode 100644 (file)
index 0000000..c422013
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_gps_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation (2)_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation (2)_off.png
new file mode 100644 (file)
index 0000000..27a64f9
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation (2)_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation (2)_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation (2)_on.png
new file mode 100644 (file)
index 0000000..896aa75
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation (2)_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation_off.png
new file mode 100644 (file)
index 0000000..6828351
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation_on.png
new file mode 100644 (file)
index 0000000..3c55b78
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_allocation_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_appusage_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_appusage_off.png
new file mode 100644 (file)
index 0000000..19e2438
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_appusage_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_appusage_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_appusage_on.png
new file mode 100644 (file)
index 0000000..b472f4c
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_appusage_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_process_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_process_off.png
new file mode 100644 (file)
index 0000000..f360c97
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_process_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_process_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_process_on.png
new file mode 100644 (file)
index 0000000..03a6514
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_process_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_system_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_system_off.png
new file mode 100644 (file)
index 0000000..ee29daa
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_system_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_system_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_system_on.png
new file mode 100644 (file)
index 0000000..a9de09c
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_memory_system_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_01_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_01_off.png
new file mode 100644 (file)
index 0000000..bfaffb8
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_01_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_01_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_01_on.png
new file mode 100644 (file)
index 0000000..0772479
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_01_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_off.png
new file mode 100644 (file)
index 0000000..ad83881
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_on.png
new file mode 100644 (file)
index 0000000..af2923a
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_read_write_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_snapshot_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_snapshot_off.png
new file mode 100644 (file)
index 0000000..dceb4d0
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_snapshot_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_snapshot_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_snapshot_on.png
new file mode 100644 (file)
index 0000000..0fe8134
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_snapshot_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_sound_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_sound_off.png
new file mode 100644 (file)
index 0000000..6540823
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_sound_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_sound_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_sound_on.png
new file mode 100644 (file)
index 0000000..69612a3
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_sound_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_vibration_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_vibration_off.png
new file mode 100644 (file)
index 0000000..fd536f5
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_vibration_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_vibration_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_vibration_on.png
new file mode 100644 (file)
index 0000000..4295795
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_vibration_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_wifi_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_wifi_off.png
new file mode 100644 (file)
index 0000000..3cb1096
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_wifi_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_wifi_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_wifi_on.png
new file mode 100644 (file)
index 0000000..7feca44
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_icon_wifi_on.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_off.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_off.png
new file mode 100644 (file)
index 0000000..1f743d6
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_off.png differ
diff --git a/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_on.png b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_on.png
new file mode 100644 (file)
index 0000000..292e68f
Binary files /dev/null and b/org.tizen.dynamicanalyzer/theme/white/img/edit_chart_on.png differ
index ba1d0bd..fa142b0 100755 (executable)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/time_line_icon_memory_allocation.png and b/org.tizen.dynamicanalyzer/theme/white/img/time_line_icon_memory_allocation.png differ
index 0322cf3..029542e 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_min_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_min_hover.png differ
index 20cf3e9..eb6409f 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_min_normal.png and b/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_min_normal.png differ
index 8593f05..b309f49 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_min_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_min_push.png differ
index e13d5af..7326579 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_restore_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_restore_hover.png differ
index 92f16b4..ec8cc4a 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_restore_normal.png and b/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_restore_normal.png differ
index cc784e9..785bee5 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_restore_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/time_line_size_restore_push.png differ
index 0fc8d92..7043ce7 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/timeline_bg.png and b/org.tizen.dynamicanalyzer/theme/white/img/timeline_bg.png differ
index f3abd22..316f2ee 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/timeline_bg_color.png and b/org.tizen.dynamicanalyzer/theme/white/img/timeline_bg_color.png differ
index a08ccc8..efebe49 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/timeline_control_bg.png and b/org.tizen.dynamicanalyzer/theme/white/img/timeline_control_bg.png differ
index 4b31dd8..76b6ccb 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/timeline_left_bg_normal.png and b/org.tizen.dynamicanalyzer/theme/white/img/timeline_left_bg_normal.png differ
index 05f9782..cdc03fe 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/timeline_left_bg_selected.png and b/org.tizen.dynamicanalyzer/theme/white/img/timeline_left_bg_selected.png differ
index 4930843..add3453 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/timeline_right_bg_normal.png and b/org.tizen.dynamicanalyzer/theme/white/img/timeline_right_bg_normal.png differ
index 979f7d1..1aff4f0 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/timeline_right_bg_selected.png and b/org.tizen.dynamicanalyzer/theme/white/img/timeline_right_bg_selected.png differ
index b2c815f..f40bffb 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_disable.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_disable.png differ
index 126d1ea..f861e4f 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_hover.png differ
index c8d1381..6921d70 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_nor.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_nor.png differ
index da8a1c3..06e94dd 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_about_push.png differ
index 077b14d..0bb59ff 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_disable.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_disable.png differ
index c92a642..891cb09 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_hover.png differ
index 60a251e..c957f20 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_nor.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_nor.png differ
index 3b8d8a2..3a283da 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_open_push.png differ
index c54df3d..4bdfb02 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_disable.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_disable.png differ
index 6ccd122..00d885f 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_hover.png differ
index da26c14..f6f4eea 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_nor.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_nor.png differ
index 35ef305..3e2aca2 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_pause_push.png differ
index 782dd24..374e1c6 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_disable.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_disable.png differ
index fb39e8b..f711bb4 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_hover.png differ
index 3cfc877..ea7b742 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_nor.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_nor.png differ
index b0bc0d7..25eadba 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_play_push.png differ
index 196ee1e..91b43ee 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_disable.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_disable.png differ
index ed9a279..02232e0 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_hover.png differ
index d5adc2d..232573b 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_nor.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_nor.png differ
index 7ad205f..623f87a 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_replay_push.png differ
index 7f47a9d..12bba1c 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_disable.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_disable.png differ
index 80f1414..bac86a7 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_hover.png differ
index a6a459a..5015f87 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_nor.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_nor.png differ
index 11f2428..f3a09a1 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_save_push.png differ
index 8e07aba..e029efd 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_disable.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_disable.png differ
index a8e8877..86855ed 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_hover.png differ
index 8de0796..e2112fa 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_nor.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_nor.png differ
index 8bb3a9e..f745d67 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_settings_push.png differ
index 66f6d64..c8a8002 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_disable.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_disable.png differ
index 8fb4581..338a9ed 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_hover.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_hover.png differ
index d927eeb..d9d5272 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_nor.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_nor.png differ
index 170c25e..1cd9d5b 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_push.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_push.png differ
index bc8e895..e961ad0 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_tog.png and b/org.tizen.dynamicanalyzer/theme/white/img/toolbar_source_view_tog.png differ