[SRADA-676] Set page background color to white
authorjaeyong lee <jae-yong.lee@samsung.com>
Thu, 2 Jun 2016 02:14:39 +0000 (11:14 +0900)
committerdongkyu6 lee <dongkyu6.lee@samsung.com>
Thu, 2 Jun 2016 04:04:31 +0000 (13:04 +0900)
Change-Id: Ia0f0df6a57badcfdd1bcfbad22e991cb4571d3d4

org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/FilePage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/MemoryPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/network/NetworkPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/GLPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/thread/ThreadPage.java

index da30331..788f9dd 100644 (file)
@@ -61,6 +61,7 @@ public class FilePage extends DAPageComposite {
                baseForm = new SashForm(this, SWT.VERTICAL);            
                baseForm.setLayout(new FillLayout());
                baseForm.setForeground(ColorResources.WHITE);
+               baseForm.setBackground(ColorResources.WHITE);
 //             ((FillLayout) getLayout()).marginHeight = 0;
 //             ((FillLayout) getLayout()).marginWidth = 0;
                
index ba2df89..1c4c5f9 100644 (file)
@@ -66,7 +66,8 @@ public class MemoryPage extends DAPageComposite {
 
                baseForm = new SashForm(this, SWT.VERTICAL);
                baseForm.setLayout(new FillLayout());
-               baseForm.setForeground(ColorResources.TAB_SELECTED_COLOR_START);
+               baseForm.setForeground(ColorResources.WHITE);
+               baseForm.setBackground(ColorResources.WHITE);
 
                memoryChartView = new MemoryChartView(baseForm, SWT.NONE);
                addView(memoryChartView);
@@ -81,8 +82,7 @@ public class MemoryPage extends DAPageComposite {
                bottomRightForm.setForeground(ColorResources.TAB_SELECTED_COLOR_START);
                bottomRightForm.setLayout(new FillLayout());
                
-               DATabComposite memoryTabView = new DATabComposite(bottomLeftForm, SWT.NONE, false);
-               memoryTabView.enableImageTab(true);
+               DATabComposite memoryTabView = new DATabComposite(bottomLeftForm, SWT.NONE, false, true);
                {
                        memoryDetailsTableView = new MemoryDetailsTableView(memoryTabView.getContentComposite(), SWT.NONE);
                        memoryTabView.addView(memoryDetailsTableView, false);
@@ -98,8 +98,7 @@ public class MemoryPage extends DAPageComposite {
                }
                addView(memoryTabView);
 
-               DATabComposite memoryMapCallStackView = new DATabComposite(bottomRightForm, SWT.NONE, false);
-               memoryMapCallStackView.enableImageTab(true);
+               DATabComposite memoryMapCallStackView = new DATabComposite(bottomRightForm, SWT.NONE, false, true);
                {
                        memoryMapView = new MemoryMapView(memoryMapCallStackView.getContentComposite(), SWT.NONE);
                        addView(memoryMapView);
@@ -111,14 +110,13 @@ public class MemoryPage extends DAPageComposite {
                }
                addView(memoryMapCallStackView);
                
-               baseForm.setWeights(new int[] { 60, 40 });
-               bottomForm.setWeights(new int[] { 65, 35 });
-               
                baseForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
                bottomForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
                bottomLeftForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
                bottomRightForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
                
+               bottomForm.setWeights(new int[] { 65, 35 });
+               
                //DataManagerRegistry.registerPageDataManager(MemoryDataManager.getInstance());
                DataManagerRegistry.registerPageDataManager(HeapDataManager.getInstance());
        }
index 4d07fa5..fc606fb 100644 (file)
@@ -61,6 +61,7 @@ public class NetworkPage extends DAPageComposite {
                baseForm = new SashForm(this, SWT.VERTICAL);
                baseForm.setLayout(new FillLayout());           
                baseForm.setForeground(ColorResources.WHITE);
+               baseForm.setBackground(ColorResources.WHITE);
 //             ((FillLayout) getLayout()).marginHeight = 15;
 //             ((FillLayout) getLayout()).marginWidth = 5;
 
index a0462f7..050919b 100644 (file)
@@ -86,7 +86,8 @@ public class GLPage extends DAPageComposite {
                
                baseForm = new SashForm(this, SWT.VERTICAL);
                baseForm.setLayout(new FillLayout());
-               baseForm.setForeground(ColorResources.TAB_SELECTED_COLOR_START);
+               baseForm.setForeground(ColorResources.WHITE);
+               baseForm.setBackground(ColorResources.WHITE);
                
                topForm = new SashForm(baseForm, SWT.VERTICAL);
                GLChartView glChartView = new GLChartView(topForm, SWT.NONE);
index 818aebb..17c8fd0 100644 (file)
@@ -63,6 +63,7 @@ public class ThreadPage extends DAPageComposite {
                baseForm = new SashForm(this, SWT.VERTICAL);
                baseForm.setLayout(new FillLayout());
                baseForm.setForeground(ColorResources.WHITE);
+               baseForm.setBackground(ColorResources.WHITE);
 //             ((FillLayout) getLayout()).marginHeight = 15;
 //             ((FillLayout) getLayout()).marginWidth = 5;