From: giwoong.kim Date: Fri, 19 Oct 2012 11:09:26 +0000 (+0900) Subject: menu: added "not supported" msg popup for mac X-Git-Tag: TizenStudio_2.0_p2.3~1277^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b945549c8772da5c5e9d416914f83c8a1f7f7ebf;p=sdk%2Femulator%2Fqemu.git menu: added "not supported" msg popup for mac The Alaways on Top menu is not supported yet in Mac. So, I added temporary message popup for user. Signed-off-by: GiWoong Kim --- diff --git a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java index 73b127c..1ef3464 100644 --- a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java +++ b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java @@ -1779,7 +1779,11 @@ public class EmulatorSkin { invokeOSMethod( m, shellHandle, hWndInsertAfter, location.x, location.y, 0, 0, noSize ); } else if( SwtUtil.isMacPlatform() ) { //TODO: - logger.warning( "not supported yet" ); + logger.warning("not supported yet"); + + SkinUtil.openMessage(shell, null, + "Sorry. This feature is not supported yet.", + SWT.ICON_WARNING, config); } return true; @@ -1826,14 +1830,18 @@ public class EmulatorSkin { // readyToReopen( EmulatorSkin.this, isOnTop ); - //internal/Library.java::arch() + /* internal/Library.java::arch() */ String osArch = System.getProperty("os.arch"); //$NON-NLS-1$ logger.info(osArch); - if (osArch.equals("amd64") || osArch.equals("IA64N") || osArch.equals("IA64W")) { //$NON-NLS-1$ $NON-NLS-2$ $NON-NLS-3$ + if (osArch.equals("amd64") || osArch.equals("x86_64") || + osArch.equals("IA64W") || osArch.equals("ia64")) { + //$NON-NLS-1$ $NON-NLS-2$ $NON-NLS-3$ logger.info("64bit architecture"); - setTopMost64(isOnTop); //64bit + + setTopMost64(isOnTop); /* 64bit */ } else { logger.info("32bit architecture"); + setTopMost32(isOnTop); } }