javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/ercp/swt/mobile/Internal_MobilePackageSupport.java
changeset 80 d6dafc5d983f
parent 21 2a9601315dfc
--- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/ercp/swt/mobile/Internal_MobilePackageSupport.java	Mon Oct 04 11:29:25 2010 +0300
+++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/ercp/swt/mobile/Internal_MobilePackageSupport.java	Fri Oct 15 12:29:39 2010 +0300
@@ -10,6 +10,8 @@
  *******************************************************************************/
 package org.eclipse.ercp.swt.mobile;
 
+import org.eclipse.swt.widgets.Control;
+
 /**
  * <p>
  * <b>IMPORTANT:</b> This class is <em>not</em> part of the SWT public API. It
@@ -44,5 +46,11 @@
 	mobileDevice.internal_dispose();
 }
 
+public static Control control(Command command){
+    return command.control();
+}
 
+public static int type(Command command){
+    return command.type();
 }
+}