// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2013.11.20 at 02:29:25 PM KST
+// Generated on: 2014.01.15 at 07:09:19 PM KST
//
* <element name="keywindowItem" type="{http://www.tizen.org/emulator/skin/dbi}menuItemType" minOccurs="0"/>
* <element name="hostKeyboardItem" 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"/>
* </all>
* </restriction>
* </complexContent>
protected MenuItemType keywindowItem;
protected MenuItemType hostKeyboardItem;
protected MenuItemType shellItem;
+ protected MenuItemType controlPanelItem;
/**
* Gets the value of the topmostItem property.
this.shellItem = value;
}
+ /**
+ * Gets the value of the controlPanelItem property.
+ *
+ * @return
+ * possible object is
+ * {@link MenuItemType }
+ *
+ */
+ public MenuItemType getControlPanelItem() {
+ return controlPanelItem;
+ }
+
+ /**
+ * Sets the value of the controlPanelItem property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MenuItemType }
+ *
+ */
+ public void setControlPanelItem(MenuItemType value) {
+ this.controlPanelItem = value;
+ }
+
}
new MenuItem(menu, SWT.SEPARATOR);
/* Emulator Control Panel menu */
- createEcpItem(menu, ECP_MENUITEM_NAME);
+ if (itemProperties == null || itemProperties.getControlPanelItem() == null) {
+ createEcpItem(menu, ECP_MENUITEM_NAME);
+ } else {
+ MenuItemType ecpMenuType = itemProperties.getControlPanelItem();
+ if (ecpMenuType.isVisible() == true) {
+ createEcpItem(menu, (ecpMenuType.getItemName().isEmpty()) ?
+ ECP_MENUITEM_NAME : ecpMenuType.getItemName());
+ }
+ }
- new MenuItem(menu, SWT.SEPARATOR);
+ if (ecpItem != null) {
+ new MenuItem(menu, SWT.SEPARATOR);
+ }
/* Close menu */
createCloseItem(menu, CLOSE_MENUITEM_NAME);
<element name="keywindowItem" type="dbi:menuItemType" minOccurs="0" maxOccurs="1"> </element>
<element name="hostKeyboardItem" type="dbi:menuItemType" minOccurs="0" maxOccurs="1"> </element>
<element name="shellItem" type="dbi:menuItemType" minOccurs="0" maxOccurs="1"> </element>
+ <element name="controlPanelItem" type="dbi:menuItemType" minOccurs="0" maxOccurs="1"> </element>
</all>
</complexType>