javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/ercp/swt/mobile/Internal_MobilePackageSupport.java
changeset 21 2a9601315dfc
child 80 d6dafc5d983f
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*******************************************************************************
       
     2  * Copyright (c) 2009, 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved. This program and the accompanying materials 
       
     4  * are made available under the terms of the Eclipse Public License v1.0
       
     5  * which accompanies this distribution, and is available at
       
     6  * http://www.eclipse.org/legal/epl-v10.html
       
     7  * 
       
     8  * Contributors:
       
     9  *     Nokia Corporation - initial implementation 
       
    10  *******************************************************************************/
       
    11 package org.eclipse.ercp.swt.mobile;
       
    12 
       
    13 /**
       
    14  * <p>
       
    15  * <b>IMPORTANT:</b> This class is <em>not</em> part of the SWT public API. It
       
    16  * must never be accessed from application code.
       
    17  * </p>
       
    18  */
       
    19 public class Internal_MobilePackageSupport {
       
    20 /*
       
    21  * From the class ConstrainedText
       
    22  */
       
    23 public static String getSelectionText(ConstrainedText ct) {
       
    24     return ct.getSelectionText(); 
       
    25 }
       
    26 
       
    27 public static void qt_signal_screen_changed(MobileDevice mobileDevice, int aCount){
       
    28 	mobileDevice.qt_signal_screen_changed(aCount);
       
    29 }
       
    30 
       
    31 public static void qt_swt_event_mobiledevice_orientationchanged(MobileDevice mobileDevice){
       
    32 	mobileDevice.qt_swt_event_mobiledevice_orientationchanged();
       
    33 }
       
    34 
       
    35 public static void qt_swt_event_mobiledevice_changed(MobileDevice mobileDevice, boolean aStatus){
       
    36 	mobileDevice.qt_swt_event_mobiledevice_changed(aStatus);
       
    37 }
       
    38 
       
    39 public static void qt_swt_event_mobiledevice_screen_activate(MobileDevice mobileDevice, boolean aStatus){
       
    40 	mobileDevice.qt_swt_event_mobiledevice_screen_activate(aStatus);
       
    41 }
       
    42 
       
    43 public static void mobiledevice_dispose(MobileDevice mobileDevice){
       
    44 	mobileDevice.internal_dispose();
       
    45 }
       
    46 
       
    47 
       
    48 }