From 9229f26d6d76a67e5e86d1726c26c3113b399068 Mon Sep 17 00:00:00 2001 From: GiWoong Kim Date: Tue, 17 Jun 2014 16:32:52 +0900 Subject: [PATCH] menu: added schema for close menu Now, user can configure the Close & Force Close menu by skin layout XML file. Change-Id: I07f6702392ea6195d351ee55618f82d4224af7de Signed-off-by: GiWoong Kim --- .../org/tizen/emulator/skin/dbi/PopupMenuType.java | 54 +++++++++++++++++++++- .../client/skins/mobile-general-3btn/default.dbi | 2 + .../client/skins/wearable-general-1btn/default.dbi | 3 ++ .../org/tizen/emulator/skin/menu/PopupMenu.java | 25 ++++++++-- .../skin/client/xsd/ProfileSpecificSkin-layout.xsd | 2 + 5 files changed, 82 insertions(+), 4 deletions(-) diff --git a/tizen/src/skin/client/jaxb_src/org/tizen/emulator/skin/dbi/PopupMenuType.java b/tizen/src/skin/client/jaxb_src/org/tizen/emulator/skin/dbi/PopupMenuType.java index ab0a785..2cd497c 100644 --- a/tizen/src/skin/client/jaxb_src/org/tizen/emulator/skin/dbi/PopupMenuType.java +++ b/tizen/src/skin/client/jaxb_src/org/tizen/emulator/skin/dbi/PopupMenuType.java @@ -30,7 +30,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2014.02.17 at 10:58:21 AM KST +// Generated on: 2014.06.17 at 03:54:23 PM KST // @@ -59,6 +59,8 @@ import javax.xml.bind.annotation.XmlType; * <element name="ramdumpItem" type="{http://www.tizen.org/emulator/skin/dbi}menuItemType" minOccurs="0"/> * <element name="shellItem" type="{http://www.tizen.org/emulator/skin/dbi}menuItemType" minOccurs="0"/> * <element name="controlPanelItem" type="{http://www.tizen.org/emulator/skin/dbi}menuItemType" minOccurs="0"/> + * <element name="forceCloseItem" type="{http://www.tizen.org/emulator/skin/dbi}menuItemType" minOccurs="0"/> + * <element name="closeItem" type="{http://www.tizen.org/emulator/skin/dbi}menuItemType" minOccurs="0"/> * </all> * </restriction> * </complexContent> @@ -81,6 +83,8 @@ public class PopupMenuType { protected MenuItemType ramdumpItem; protected MenuItemType shellItem; protected MenuItemType controlPanelItem; + protected MenuItemType forceCloseItem; + protected MenuItemType closeItem; /** * Gets the value of the topmostItem property. @@ -274,4 +278,52 @@ public class PopupMenuType { this.controlPanelItem = value; } + /** + * Gets the value of the forceCloseItem property. + * + * @return + * possible object is + * {@link MenuItemType } + * + */ + public MenuItemType getForceCloseItem() { + return forceCloseItem; + } + + /** + * Sets the value of the forceCloseItem property. + * + * @param value + * allowed object is + * {@link MenuItemType } + * + */ + public void setForceCloseItem(MenuItemType value) { + this.forceCloseItem = value; + } + + /** + * Gets the value of the closeItem property. + * + * @return + * possible object is + * {@link MenuItemType } + * + */ + public MenuItemType getCloseItem() { + return closeItem; + } + + /** + * Sets the value of the closeItem property. + * + * @param value + * allowed object is + * {@link MenuItemType } + * + */ + public void setCloseItem(MenuItemType value) { + this.closeItem = value; + } + } diff --git a/tizen/src/skin/client/skins/mobile-general-3btn/default.dbi b/tizen/src/skin/client/skins/mobile-general-3btn/default.dbi index 573e3e3..2e51261 100644 --- a/tizen/src/skin/client/skins/mobile-general-3btn/default.dbi +++ b/tizen/src/skin/client/skins/mobile-general-3btn/default.dbi @@ -75,6 +75,8 @@ + +