skin: open the key window as default
authorgiwoong.kim <giwoong.kim@samsung.com>
Mon, 10 Dec 2012 07:58:18 +0000 (16:58 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Mon, 10 Dec 2012 07:58:18 +0000 (16:58 +0900)
Open the key window.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/skin/client/src/org/tizen/emulator/skin/layout/GeneralPurposeSkinComposer.java

index a6f1aa56e83387eaecc6527e23923c5211eef46b..2e09e7dfe390c812fe7a15ab33fe1a0cd5c5a0c8 100644 (file)
@@ -201,6 +201,15 @@ public class GeneralPurposeSkinComposer implements ISkinComposer {
                skin.pairTagCanvas.setVisible(false);
 
                arrangeSkin(scale, rotationId);
+
+               /* open the key window */
+               shell.getDisplay().asyncExec(new Runnable() {
+                       @Override
+                       public void run() {
+                               skin.setIsControlPanel(true);
+                               skin.openKeyWindow(SWT.RIGHT | SWT.CENTER);
+                       }
+               });
        }
 
        @Override