Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "DSDP/MTJ/Requirements/MIDlet templates"

< DSDP‎ | MTJ‎ | Requirements
(User Interface)
(ID: templates:FR002 - MTJ shall define an extension point for MIDlet templates)
Line 26: Line 26:
 
The extension point will be composed by the following elements:
 
The extension point will be composed by the following elements:
  
* '''Configuration Markup:'''
+
*'''template'''
<pre>
+
** <font color="green"><b>name</b></font> (String Attribute) <font color="#960018"><b>[REQUIRED]</b></font><p>Description: MIDlet Template Name.</p>
&lt;!ELEMENT extension (template+)&gt;
+
** <font color="green"><b>description</b></font> (String Attribute) <font color="#960018"><b>[REQUIRED]</b></font><p>Description: MIDlet Template Description. Describes the template usage and the features the template implements.</p>
&lt;!ATTLIST extension
+
** <font color="green"><b>permissions</b></font> (String Attribute) <font color="#960018"><b>[IMPLIED]</b></font><p>Description: A comma separated list with the required permissions' names defined by the APIs (permission1,permission2,...,permissionN).</p>
point CDATA #REQUIRED
+
** <font color="green"><b>provider</b></font> (Java Attribute) <font color="#960018"><b>[REQUIRED]</b></font><p>Description: 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.</p>
id    CDATA #IMPLIED
+
** '''''Sequence compositor'''''
name  CDATA #IMPLIED&gt;
+
*** <font color="blue">template</font> (Element reference) ('''1 - *''')
 
+
MIDlet Template extension point defines a way for adding templates to MTJ.
+
 
+
&lt;!ELEMENT template EMPTY&gt;
+
&lt;!ATTLIST template
+
name        CDATA #REQUIRED
+
description CDATA #REQUIRED
+
permissions CDATA #IMPLIED
+
provider    CDATA #REQUIRED&gt;
+
 
+
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.  
+
</pre>
+
  
 
'''Priority:''' 1
 
'''Priority:''' 1

Revision as of 09:04, 5 February 2009

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:

  • template
    • name (String Attribute) [REQUIRED]

      Description: MIDlet Template Name.

    • description (String Attribute) [REQUIRED]

      Description: MIDlet Template Description. Describes the template usage and the features the template implements.

    • permissions (String Attribute) [IMPLIED]

      Description: A comma separated list with the required permissions' names defined by the APIs (permission1,permission2,...,permissionN).

    • provider (Java Attribute) [REQUIRED]

      Description: 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.

    • Sequence compositor
      • template (Element reference) (1 - *)

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 Library Support feature.

ID: templates:FR003 - User must be able to create MIDlet from Template through the context sensitive menu.

Description: The context sensitive menu shall display the option New > Java ME MIDlet From Template when one of the following items are selected:

  • MTJ Project;
  • Source folder;

Priority: 1

Owner: David Marques

Status: Proposed on 05-Feb-2009

Community Review: TBD

Related Bugs: TBD

Related Images: Context Sensitive Menu


ID: templates:FR004 - New MIDlet From Template Wizard.

Description: MTJ shall open wizard upon context sensitive menu option New > Java ME MIDlet From Template selection. It must display all available templates and build a MIDlet from the selected template.

Priority: 1

Owner: David Marques

Status: Proposed on 05-Feb-2009

Community Review: TBD

Related Bugs: TBD

Related Images: New MIDlet From Template Wizard


ID: templates:FR005 - New MIDlet From Template Wizard shall display a customize page.

Description: New MIDlet From Template Wizard shall display a custom page depending on the selected template in order to setup template specific fields.

Priority: 1

Owner: David Marques

Status: Proposed on 05-Feb-2009

Community Review: TBD

Related Bugs: TBD

Related Images: New MIDlet From Template Wizard


Back to the top