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/Multi-Configuration Support"

< DSDP‎ | MTJ‎ | Requirements
(Multi-Configuration Support Requirement)
(Multi-Configuration Support Requirement)
Line 67: Line 67:
  
 
----
 
----
 +
 +
'''ID:''' Multi-Config: FR003 - manage configurations
 +
 +
'''Description:'''
 +
To let users manage (add/remove/edit/switch-active) configurations easily, We will have 3 place to manage
 +
configurations:
 +
1. Project create wizard page.
 +
2. Application Descriptor Editor.
 +
3. Project properties page.
 +
 +
[https://bugs.eclipse.org/bugs/attachment.cgi?id=115334 manage configurations in project create wizard]
 +
 +
[https://bugs.eclipse.org/bugs/attachment.cgi?id=115342 manage configurations in project Application Descriptor Editor]
 +
 +
[https://bugs.eclipse.org/bugs/attachment.cgi?id=115343 manage configurations in project properties page]
 +
 +
'''Priority:''' 1
 +
 +
'''Owner:''' Feng Wang
 +
 +
'''Status:''' Proposed: 20-Oct-2008
 +
 +
'''Community Review:''' TBD

Revision as of 01:52, 20 October 2008

Multi-Configuration Support Requirement

ID: Multi-Config: FR001 - Configuration data format & persistence

Description: Each MTJ Java ME project should store the multi-configuraton (multi-device) meta data. We should define the data format and persistence the data.

1. Data format:

  <configurations>
     <configuration active="true" name="A910">
        <device group="MOTODEV SDK for Java(TM) ME" name="A910"/>
        <symbolSet>
           <symbol name="CLDC" value="1.1"/>
           <symbol name="JSR82" value="1.0"/>
        </symbolSet>
     </configuration>
     <configuration active="false" name="S40_5th_Edition_SDK_Feature_Pack_1">
        <device group="Series 40 5th Edition SDK, Feature Pack 1" name="S40_5th_Edition_SDK"/>
        <symbolSet>
           <symbol name="screen.isTouch" value="false"/>
           <symbol name="WMA" value="2.0"/>
        </symbolSet>
     </configuration>
  </configurations>

As the xml file shows above, a project meta data file contains several configurations, each configuration contains a device and a symbolSet. One and only one configuration is "active".

2. Data persistence: We use MTJ J2ME project meta data file (.mtj file) for configuration data store. We remove the former <device> element of the file, add <configurations> element to the file.

Priority: 1

Owner: Feng Wang

Status: Proposed: 20-Oct-2008

Community Review: TBD



ID: Multi-Config: FR002 - Multi-configuration Reusable Management UI component

Description: We will manage (add/remove/edit/switch-active) configurations in seviral place (such as in Application Descriptor Form Editor, in project properties page, in peojrct create wizard page, etc.), so we should create a reusable UI component for configuration management. DeviceSelector.java is a example.

Screen shot for Multi-configuration Reusable Management UI component

Screen shot for adding configuration

Priority: 1

Owner: Feng Wang

Status: Proposed: 20-Oct-2008

Community Review: TBD


ID: Multi-Config: FR003 - manage configurations

Description: To let users manage (add/remove/edit/switch-active) configurations easily, We will have 3 place to manage configurations: 1. Project create wizard page. 2. Application Descriptor Editor. 3. Project properties page.

manage configurations in project create wizard

manage configurations in project Application Descriptor Editor

manage configurations in project properties page

Priority: 1

Owner: Feng Wang

Status: Proposed: 20-Oct-2008

Community Review: TBD

Back to the top