javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/ercp/swt/mobile/Internal_MobilePackageSupport.java
equal
deleted
inserted
replaced
7 * |
7 * |
8 * Contributors: |
8 * Contributors: |
9 * Nokia Corporation - initial implementation |
9 * Nokia Corporation - initial implementation |
10 *******************************************************************************/ |
10 *******************************************************************************/ |
11 package org.eclipse.ercp.swt.mobile; |
11 package org.eclipse.ercp.swt.mobile; |
|
12 |
|
13 import org.eclipse.swt.widgets.Control; |
12 |
14 |
13 /** |
15 /** |
14 * <p> |
16 * <p> |
15 * <b>IMPORTANT:</b> This class is <em>not</em> part of the SWT public API. It |
17 * <b>IMPORTANT:</b> This class is <em>not</em> part of the SWT public API. It |
16 * must never be accessed from application code. |
18 * must never be accessed from application code. |
42 |
44 |
43 public static void mobiledevice_dispose(MobileDevice mobileDevice){ |
45 public static void mobiledevice_dispose(MobileDevice mobileDevice){ |
44 mobileDevice.internal_dispose(); |
46 mobileDevice.internal_dispose(); |
45 } |
47 } |
46 |
48 |
|
49 public static Control control(Command command){ |
|
50 return command.control(); |
|
51 } |
47 |
52 |
|
53 public static int type(Command command){ |
|
54 return command.type(); |
48 } |
55 } |
|
56 } |