[Title] support to maximize each dialog in Windows
authorSon Hyunjun <hj79.son@samsung.com>
Fri, 30 Mar 2012 08:19:58 +0000 (17:19 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Fri, 30 Mar 2012 08:19:58 +0000 (17:19 +0900)
[Type] Bugfix
[Module]
[Priority] Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]

Change-Id: I3e85e4f3b0b1c787bbd176857e295cae4bbb2aec

tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java
tizen/src/skin/client/src/org/tizen/emulator/skin/dialog/DetailInfoDialog.java
tizen/src/skin/client/src/org/tizen/emulator/skin/dialog/LicenseDialog.java
tizen/src/skin/client/src/org/tizen/emulator/skin/screenshot/ScreenShotDialog.java

index 06620fc65c9846ff5baedfefbc98e593284200f1..c66db90870c1517a625d9d002dce813fbd4ee15b 100644 (file)
@@ -29,7 +29,6 @@
 
 package org.tizen.emulator.skin;
 
-import java.io.IOException;
 import java.lang.reflect.Field;
 import java.util.ArrayList;
 import java.util.Iterator;
index e36cd779529b6d79d5ca30942495c5f53a481d1f..598cba6f7d71b62bec5b764c74db034af7581de6 100644 (file)
@@ -72,7 +72,8 @@ public class DetailInfoDialog extends SkinDialog {
        private EmulatorConfig config;
 
        public DetailInfoDialog( Shell parent, String emulatorName, SocketCommunicator communicator, EmulatorConfig config ) {
-               super( parent, "Detail Info" + " - " + emulatorName, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.RESIZE );
+               super( parent, "Detail Info" + " - " + emulatorName, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.RESIZE
+                               | SWT.MAX );
                this.communicator = communicator;
                this.config = config;
        }
@@ -88,7 +89,7 @@ public class DetailInfoDialog extends SkinDialog {
                Composite composite = new Composite( parent, SWT.NONE );
                composite.setLayout( new FillLayout() );
 
-               Table table = new Table( composite, SWT.BORDER | SWT.MULTI );
+               Table table = new Table( composite, SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION );
                table.setHeaderVisible( true );
                table.setLinesVisible( true );
 
index 3cf06a824675ca3a8a8509e3b6eb12e303dd5832..63064d904a974dedb77868eefbe9a07c61bb9029 100644 (file)
@@ -59,7 +59,7 @@ public class LicenseDialog extends SkinDialog {
        private Logger logger = SkinLogger.getSkinLogger( LicenseDialog.class ).getLogger();
 
        public LicenseDialog( Shell parent, String title ) {
-               super( parent, title, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.RESIZE );
+               super( parent, title, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.RESIZE | SWT.MAX );
        }
 
        @Override
index 2b7270dcfcf82c5b7ac8cbfe99243c9ae05580ad..1c54e0adcb85601a5404604ef3218703adc3a559 100644 (file)
@@ -117,7 +117,7 @@ public class ScreenShotDialog {
                this.config = config;
                this.needToStoreRotatedImage = true;
                
-               shell = new Shell( Display.getDefault(), SWT.DIALOG_TRIM | SWT.RESIZE );
+               shell = new Shell( Display.getDefault(), SWT.DIALOG_TRIM | SWT.RESIZE | SWT.MAX );
                shell.setText( "Screen Shot - " + SkinUtil.makeEmulatorName( config ) );
                shell.setLocation( parent.getLocation().x + parent.getSize().x + 30, parent.getLocation().y );
                shell.addListener( SWT.Close, new Listener() {