[Title] Snapshot, open trace dialgo disign fix
authorLee <jy.exe.lee@samsung.com>
Tue, 27 Nov 2012 03:51:19 +0000 (12:51 +0900)
committerLee <jy.exe.lee@samsung.com>
Tue, 27 Nov 2012 03:51:19 +0000 (12:51 +0900)
[Desc.] design fix
[Issue] -

org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/nl/AnalyzerLabels.properties
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/theme/DAThemeWhite.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/FileChartView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/info/snapshot/SnapshotView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/ToolbarArea.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/opentrace/OpenTraceDialog.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/opentrace/SaveFilesTable.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/opentrace/TempFilesTable.java

index 63f44c1..8132a85 100755 (executable)
@@ -83,7 +83,7 @@ OPEN_TRACE_DLG_SAVED_FILE=Saved file
 OPEN_TRACE_DLG_TEMP_FILE=Temporary file
 OPEN_TRACE_DLG_TEMP_FILE_NAME=Temporary file name
 OPEN_TRACE_DLG_TRACE_FILE_NAME=Trace file name
-OPEN_TRACE_DLG_TRACE_DATE=Created time
+OPEN_TRACE_DLG_TRACE_DATE=Create time
 
 PATH_WARNING=Please install the Tizen SDK
 OS_WARNING=Not supported OS
index 3c21ac0..060f73e 100644 (file)
@@ -416,7 +416,7 @@ public class DAThemeWhite extends DATheme {
                setColor("thread_graph_lock_acquire_color", new RGB(227, 123, 30)); //$NON-NLS-1$
                setColor("thread_graph_lock_release_color", new RGB(0, 148, 170)); //$NON-NLS-1$
                
-               setColor("snapshot_viewer_bg_color", new RGB(186, 186, 186)); //$NON-NLS-1$
+               setColor("snapshot_viewer_bg_color", new RGB(255, 255, 255)); //$NON-NLS-1$
        }
 
        public Color getColor(String colorName, RGB rgb) {
index abcaa54..dbda9c7 100644 (file)
@@ -88,7 +88,6 @@ public class FileChartView extends DAView {
                }
                List<List<String>> inputs = logs.getLogs();
                FileChartManager.getInstance().getLogListQueue().putLog(inputs);
-//              FileChartManager.getInstance().makeData(inputs);
        }
 
        @Override
index 622de17..832a3aa 100644 (file)
@@ -89,7 +89,7 @@ public class SnapshotView extends DAView {
                // process graph
                Composite processComp = new Composite(contents, SWT.NONE);
                data = new FormData();
-               data.top = new FormAttachment(snapshot, 2);
+               data.top = new FormAttachment(snapshot, 3);
 //              data.left = new FormAttachment(50, 0);
                data.right = new FormAttachment(100, 0);
                 data.width = 90;
@@ -112,7 +112,7 @@ public class SnapshotView extends DAView {
 
                cpuGrp = new FourBarGraph(contents, SWT.NONE, FourBarGraph.TYPE_PERCENT);
                data = new FormData();
-               data.top = new FormAttachment(snapshot, 2);
+               data.top = new FormAttachment(snapshot, 3);
                data.right = new FormAttachment(processComp, -3);
                 data.width = 90;
                data.height = 90;
@@ -129,7 +129,7 @@ public class SnapshotView extends DAView {
                Composite emptyComp = new Composite(contents, SWT.NONE);
                emptyComp.setBackground(ColorResources.WHITE);
                data = new FormData();
-               data.top = new FormAttachment(snapshot, 2);
+               data.top = new FormAttachment(snapshot, 3);
                data.right = new FormAttachment(cpuGrp, -3);
                 data.left = new FormAttachment(0, 0);
                data.height = 75;
index 6ddca49..fd35177 100755 (executable)
@@ -59,14 +59,10 @@ import org.tizen.dynamicanalyzer.resources.ColorResources;
 import org.tizen.dynamicanalyzer.resources.FontResources;
 import org.tizen.dynamicanalyzer.resources.ImageResources;
 import org.tizen.dynamicanalyzer.services.RecordStateSourceProvider;
-import org.tizen.dynamicanalyzer.ui.page.DAPageComposite;
-import org.tizen.dynamicanalyzer.ui.range.RangeDataManager;
-import org.tizen.dynamicanalyzer.ui.range.RangePage;
 import org.tizen.dynamicanalyzer.ui.timeline.TimelinePage;
 import org.tizen.dynamicanalyzer.ui.toolbar.opentrace.OpenTraceDialog;
 import org.tizen.dynamicanalyzer.ui.widgets.ComboButtonRenderer;
 import org.tizen.dynamicanalyzer.ui.widgets.DADialog;
-import org.tizen.dynamicanalyzer.ui.widgets.DATabComposite;
 import org.tizen.dynamicanalyzer.ui.widgets.TitleComboPopupRenderer;
 import org.tizen.dynamicanalyzer.ui.widgets.TitleComboRenderer;
 import org.tizen.dynamicanalyzer.utils.AnalyzerUtil;
index 4a65f1c..3be8fec 100644 (file)
@@ -447,20 +447,19 @@ public class OpenTraceDialog extends DAMessageBox {
 
                        e.gc.setBackground(ColorResources.WHITE);
                        e.gc.fillRectangle(rect);
-                       e.gc.setForeground(ColorResources.BLACK);
+                       e.gc.setForeground(ColorResources.OPEN_TRACE_TABLE_OUTLINE_COLOR);
                        e.gc.drawRectangle(rect.x, rect.y, rect.width - 1, rect.height - 1);
-                       e.gc.drawRectangle(rect.x + 2, rect.y + 2, rect.width - 5,
-                                       rect.height - 5);
 
                        if (!application.isEmpty() && !device.isEmpty()) {
+                               e.gc.setFont(FontResources.TABLE_CONTENTS);
                                String inputText = "Applicatoin : " + application;
                                Point textSize = e.gc.textExtent(inputText, SWT.DRAW_MNEMONIC);
-                               int fontHeight = textSize.y;
+                               int fontHeight = textSize.y + 3;
 
                                int x = rect.x + 7;
                                int y = rect.y + 4;
 
-                               e.gc.setForeground(ColorResources.BLACK);
+                               e.gc.setForeground(ColorResources.OPEN_TRACE_SAVE_CONTENTS_COLOR);
                                e.gc.drawText(inputText, x, y);
 
                                inputText = "Device : " + device;
index 05d7367..614bc0b 100644 (file)
@@ -143,9 +143,9 @@ public class SaveFilesTable extends DATableComposite {
                                                gridItem.setData(OpenTraceDialog.CURRENT_KEY,
                                                                OpenTraceDialog.CURRENT);
                                                gridItem.setToolTipText(TRACE_NAME_INDEX,
-                                                               "current project file - can't delete");
+                                                               "current trace - can't delete");
                                                gridItem.setToolTipText(DATE_INDEX,
-                                                               "current project file - can't delete");
+                                                               "current trace - can't delete");
                                        } else {
                                                gridItem.setData(OpenTraceDialog.CURRENT_KEY,
                                                                OpenTraceDialog.OTHERS);
index 5f22bc7..5a51f7d 100644 (file)
@@ -113,9 +113,9 @@ public class TempFilesTable extends DATableComposite {
                                                gridItem.setData(OpenTraceDialog.CURRENT_KEY,
                                                                OpenTraceDialog.CURRENT);
                                                gridItem.setToolTipText(TRACE_NAME_INDEX,
-                                                               "current project file - can't delete");
+                                                               "current trace - can't delete");
                                                gridItem.setToolTipText(DATE_INDEX,
-                                                               "current project file - can't delete");
+                                                               "current trace - can't delete");
                                        } else {
                                                gridItem.setData(OpenTraceDialog.CURRENT_KEY,
                                                                OpenTraceDialog.OTHERS);