Jump to: navigation, search

DSDP/MTJ/Requirements/MIDlet templates

< DSDP‎ | MTJ‎ | Requirements
Revision as of 07:21, 5 February 2009 by Wtv368.motorola.com (Talk | contribs)

Core

This section lists the main core requirements for the MIDlet templates feature.

ID: templates:FR001 - MTJ shall support the creation of MIDlets from templates.

Description: MTJ shall provide an extensible and flexible way for third party plugins to contribute with templates for MIDlet creation. These templates will help users to learn API's usage and reduce the programming effort.

Priority: 1

Owner: David Marques

Status: Proposed on 05-Feb-2009

Community Review: TBD

Related Bugs: TBD


ID: templates:FR002 - MTJ shall define an extension point for MIDlet templates

Description: An Extension Point were third party plugins can provide MIDlet templates to be used by MTJ upon creation of MIDlets from templates.

The extension point will be composed by the following elements:

  • Configuration Markup:
<!ELEMENT extension (template+)>
<!ATTLIST extension
point CDATA #REQUIRED
id    CDATA #IMPLIED
name  CDATA #IMPLIED>

MIDlet Template extension point defines a way for adding templates to MTJ.

<!ELEMENT template EMPTY>
<!ATTLIST template
name        CDATA #REQUIRED
description CDATA #REQUIRED
permissions CDATA #IMPLIED
provider    CDATA #REQUIRED>

name        - MIDlet Template Name. 
description - MIDlet Template Description. Describes the template usage and the 
features the template implements. 
permissions - A comma separated list with the required permissions' names defined 
by the APIs (permission1,permission2,...,permissionN).
provider    - MIDletTemplateProvider Interface defines methods for creation of code 
sections such as attributes, methods, inner classes, etc. The provider does not know 
anything about the MIDlet construction process. 

Priority: 1

Owner: David Marques

Status: Proposed on 05-Feb-2009

Community Review: TBD

Related Bugs: TBD


User Interface

This section lists the main User Interface requirements for the MIDlet templates feature.