Explore Eclipse's embedded rich client platform: mobile devices need eclipse

Source: Internet
Author: User

Introduction: This article introduces the embedded rich client platform (embedded rich-clients PLATFORM,ERCP). You will learn the various components that make up the ERCP and get some examples of using them in your application.

Background

The purpose of the embedded rich client platform (ERCP) is to bring Eclipse's rich client platform (RCP) to the embedded domain.

ERCP is composed of the following components:

Standard Parts Toolkit (ESWT)-core, expansion and mobility extensions

Ejface

Eworkbench

Eupdate

We'll discuss each component and use the code example where appropriate.

ESWT

The embedded Standard Parts toolkit (ESWT) is a subset of the well-known Java™ graphics toolkit-The Standard Parts Toolkit (SWT). It provides a set of controls, panels, and other commonly used parts as a building block for the user interface. In addition to the parts that SWT has come to contain, ESWT has introduced a new component: Mobile extensions (a joint design by IBM, Nokia and Motorola), mainly for mobile devices such as PDAs and smartphones.

From the perspective of platform independence, the design of ESWT is different from that of its relative SWT. SWT uses a platform-independent approach to try to keep native code as simple as possible in order to improve portability between different operating systems. The problem: portability and performance are a couple of conflicting questions, so ESWT decided to take another approach: the Universal Graphics Layer (UGL), which still retains the native interface of Java (JNI) on the Native Toolkit implementation. However, UGL does not act as a one-to-one JNI wrapper and tries to keep the native implementation as close as possible, with only the information that needs to be recalled through JNI. The ESWT approach sacrifices portability because the native toolkit relies entirely on the graphics system it uses, but this approach greatly improves performance (the primary consideration on the mobile device).

The ESWT contains three components (see Figure 1):

Core

Extension of

Move extension

Figure 1. ESWT User Interface Toolkit

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.