DOC

MTJ Implementation Overview v015doc - Mobile Tools for Java

By Jessica Black,2014-04-24 12:48
12 views 0
MTJ Implementation Overview v015doc - Mobile Tools for Java

     ?

    ?

     Eclipse Mobile Tools for Java Platform

    Implementation Overview

    DRAFT 0.1.5

    Document Status: Draft

    Last Modified: 16.02.2006

    Page 1 of 37 MTJ Implementation Overview

     ?

    ?

    1 Document Control Information .............................................................................. 4 1.1 Change History ........................................................................................................ 4

    1.2 Approval Distribution .............................................................................................. 4

    1.3 Document Availability ............................................................................................. 5

    1.4 Document Contributors ............................................................................................ 5

    2 About This Document ........................................................................................... 6 2.1 Purpose .................................................................................................................... 6 2.2 Intended Audience ................................................................................................... 6

    2.3 Related Documentation ............................................................................................ 6

    2.4 Additional Reference Material ................................................................................. 6

    2.5 Terminology ............................................................................................................ 6

    3 Implementation Description .................................................................................. 7 3.1 Overview ................................................................................................................. 7 3.2 MTJ Core Model ..................................................................................................... 9

    3.2.1 Enumerations ................................................................................................. 10

    3.2.2 Device Platform, Device and Runtime Platform Definition ............................ 11

    3.2.3 Device Description ......................................................................................... 12

    3.2.4 Project............................................................................................................ 13

    3.3 MTJ Frameworks and extension points .................................................................. 15

    3.3.1 Device Management....................................................................................... 16

    3.3.2 Build Management ......................................................................................... 17

    3.3.3 GUI Builder Management .............................................................................. 18

    3.3.4 Deployment Management .............................................................................. 18

    3.3.5 Security Management ..................................................................................... 18

    3.3.6 Build Provider ................................................................................................ 18

    3.3.7 Device Platform Provider ............................................................................... 18

    3.3.8 Device Description Provider .......................................................................... 19

    3.3.9 GUI Builder Provider ..................................................................................... 19

    3.3.10 Screen Engine Provider .................................................................................. 19

    3.3.11 Admin GUI Provider ...................................................................................... 19

    3.3.12 Preprocessing Provider ................................................................................... 19

    3.3.13 Obfuscation Provider ..................................................................................... 20

    3.3.14 Packaging Provider ........................................................................................ 20

    3.3.15 Signing Provider ............................................................................................ 20

    3.3.16 Deployment Provider ..................................................................................... 20

    3.4 Core Implementation Structure .............................................................................. 21

    3.4.1 Core Plug-ins ................................................................................................. 21

    3.4.2 MTJ Development IDE Plug-in ...................................................................... 22

    3.4.3 MTJ extension Plug-ins .................................................................................. 23

    4 Cvs Structure ...................................................................................................... 25 4.1 Overview ............................................................................................................... 25 4.2 Plugins -folder ....................................................................................................... 26

    4.3 Extension Templates -folder .................................................................................. 26

    4.4 Releases -folder ..................................................................................................... 26

    5 Mtj Extensions Development .............................................................................. 27 Page 2 of 37 MTJ Implementation Overview

     ?

    ? 5.1 Checking Out the Source Code .............................................................................. 27

    5.2 Setting up the Target Platform ............................................................................... 34

    5.3 Running Your EclipseApplication .......................................................................... 35

    5.4 Persisting Own Changes ........................................................................................ 36

    6 Issues ................................................................................................................. 37 6.1 Issue 1 ................................................................................................................... 37

Page 3 of 37 MTJ Implementation Overview

     ?

    ? 1 Document Control Information

    The following are members of the approval/review team for this document. The document

    owner is responsible for carrying out the approval process. This document will be distributed to

    the approvers/reviewers along with a deadline for feedback; the document will be revised based

    on the feedback and resubmitted for a final review. Please send all “Issues/Concerns”,

    “Approvals” and other comments on this document to Arto Laurila

    (mailto:arto.laurila@nokia.com).

This document will reside in the CVS repository and on the Eclipse MTJ web page.

1.1 Change History

    Version Date Person Changes

    Initial Initial creation. Edits will be made under 1/11/2006 JJ. Niekkamaa Draft this change listing until first distribution.

    1.4 1/30/2006 A. Laurila Plug-in category naming change.

    1.5 2/16/2006 A. Laurila CVS-repository moved to Eclipse.org

1.2 Approval Distribution

    Name Approval Position

    Status

    Arto Laurila Nokia MTJ Architecture Representative

    Kevin Horowitz IBM MTJ Architecture Representative

    Craig Setera MTJ Architecture Representative

Page 4 of 37 MTJ Implementation Overview

     ?

    ?

    1.3 Document Availability

    The latest version of this document is available online at the Eclipse MTJ project web page (put

    in a hyperlink here).

The responsibility for using the latest level of this document lies with the user of the document.

    This version of the document is retained online until superseded by a new level.

1.4 Document Contributors

    The following are thanked by the author(s) for their contribution to this document:

    ? Arto Laurila Nokia

    ?

Page 5 of 37 MTJ Implementation Overview

2 About This Document

    2.1 Purpose

    The purpose of this document is to describe the implementation for the Mobile Tools for Java project.

2.2 Intended Audience

    The audience for this document is intended to be any party wishing to extend the MTJ project either for possible contribution to the project itself, or for product/organization specific extensions to the project (e.g. Company xxyy to support debug and deployment to their specific platform(s))

2.3 Related Documentation

2.4 Additional Reference Material

2.5 Terminology

Page 6 of 37 MTJ Implementation Overview

3 Implementation Description

    3.1 Overview

    MTJ implementation is modularized by dividing the implementation to different Eclipse plug-ins that is published by MTJ Core plug-in. Also all common MTJ classes are assembled inside the Core Plug-ins. Therefore MTJ functionality implementation

    component (MTJ Extension) is created as Eclipse Plug-in that extends one or some MTJ extension points and is dependent on the Core Plug-ins.

Core Plug-in is detailed described in section 3.4.1.

    MTJ extension points can be divided to three categories by their functionality:

    ? extendable framework extension points,

    ? service extension points and

    ? extended service extension points.

    Dependencies between different extension implementations follow basically the three layers that come from the categorization. So e.g. Device Management extension that

    belongs to extendable framework extension points layer uses Device Platform Provider

    Page 7 of 37 MTJ Implementation Overview

and Device Description Provider extensions that are service extension points –layer’s

    implementation.

Extension Points are detailed described in section 3.3.

All the extension point definitions are using MTJ’s common data structures.

    Implementation of them is based on Eclipse Modeling Framework (EMF).

Data structures are detailed described in section 3.2.

Page 8 of 37 MTJ Implementation Overview

3.2 MTJ Core Model

MTJ common data model implementations are done with Eclipse Modeling Framework

    (EMF). This section just gives overview of the model and detailed Rose model of it can

    be found in the Eclipse MTJ’s CVS:

Repository location: /cvsroot/dsdp And in sub-folder: org.eclipse.mtj/mtj-home/models

Please see the general Eclipse CVS instructions from:

    http://wiki.eclipse.org/index.php/CVS_Howto

Page 9 of 37 MTJ Implementation Overview

    3.2.1 Enumerations

    Valid value-group of different attribute types are defined as enumeration inside the corresponding Java class. Current definitions are:

Page 10 of 37 MTJ Implementation Overview

Report this document

For any questions or suggestions please email
cust-service@docsford.com