Hi 
everyone,
 
Maybe we can have a 
4th option. We could set the vendor specific page to be context 
sensitive to the attributes available in the Application 
Descriptor.
 
For instance, if a Motorola or Nokia vendor attribute is in the 
Application 
Descriptor, we add the vendor page that can handle that 
attribute. If the attribute is unknown to any vendor that implemented the 
venderSpecJADAttributes 
Extension Point it can be displayed in the User Defined 
page
 
We could also add an action 
“Add Vendor Specific JAD Attribute” 
that would open a list of all Vendor Specific JAD Attributes, and 
after the user select the ones he want, the vendor pages are displayed 
automatically in the editor.
 
Regards
Diego
 
From: 
dsdp-mtj-dev-bounces@xxxxxxxxxxx [mailto:dsdp-mtj-dev-bounces@xxxxxxxxxxx] 
On Behalf Of Paula Gustavo-WGP010
Sent: Monday, August 04, 2008 11:04 
AM
To: Mobile Tools for The 
Java Platform mailing list
Cc: 
dsdp-mtj-dev-bounces@xxxxxxxxxxx
Subject: RE: [dsdp-mtj-dev] The new JAD 
editor extension point
 
 
hi 
craig,
 
actually it is really 
nice to have you very active on the list.
 
about the jad editor... 
actually I committed the code on svn without any of the extensions 
implementations. all extensions implementations (nokia and mot) are on MTJ 
examples (just to give an idea on how to use the extension). so by default the 
user will not see any vendor specific page on MTJ runtime / 
sdk.
 
the original idea 
is that each vendor would be able to pack MTJ with its own extensions 
and provide an environment that is suppose to target only its own devices. i see 
three options
1- keep this original 
idea (mtj runtime all not shown any vendor specific 
page)
2- move nokia and 
mot specific extensions to MTJ runtime and keep current code (mtj runtime will 
show nokia / mot specific pages, based on current 
SDK)
3- move 
nokia and mot specific extensions to MTJ runtime and change code to shown 
all vendor specific pages (mtj runtime will show both nokia and mot 
pages)
 
i tend to like 
current solution designed and implemented by gang, but i'm open 
to change my mind.
 
:)
gep
 
From: 
dsdp-mtj-dev-bounces@xxxxxxxxxxx [mailto:dsdp-mtj-dev-bounces@xxxxxxxxxxx] 
On Behalf Of 
Gang.Ma@xxxxxxxxxx
Sent: domingo, 3 de agosto de 2008 
22:48
To: Mobile Tools for The 
Java Platform mailing list
Cc: 
Mobile Tools for The Java Platform mailing 
list; dsdp-mtj-dev-bounces@xxxxxxxxxxx
Subject: Re: [dsdp-mtj-dev] The new JAD 
editor extension point
Hi 
Craig, 
In the scenario you described, 
the Motorola attributes will be shown on the User Defined page, and he/she can 
change them there. If he/she switches back to Motorola SDK, the defined 
Moto-specific attributes will still be shown on the Motorola page, and the 
nokia-specific attributes will be shown on the User Defined page. 
Is it ok for 
that? 
Thanks! 
  
Best Regards
Gang(Allen) 
Ma
email: gang_ma@xxxxxxxxxx 
  
  
    | 
       Craig 
      Setera <craigjunk@xxxxxxxxxx> 
       Sent by: 
      dsdp-mtj-dev-bounces@xxxxxxxxxxx  
      2008-08-04 
      07:16  
      
        
        
          | 
             Please respond 
            to Mobile Tools for The Java Platform mailing list     
              
             <dsdp-mtj-dev@xxxxxxxxxxx>  |   
      
  | 
    
      
        
        
          | 
             To  | 
          
             Mobile Tools for 
            The Java Platform mailing list 
            <dsdp-mtj-dev@xxxxxxxxxxx>   |  
        
          | 
             cc  | 
          
                |  
        
          | 
             Subject  | 
          
             [dsdp-mtj-dev] The 
            new JAD editor extension 
        point  |   
        
      
      
  | 
I apologize to everyone 
for the email "spam" today.  That's what happens 
when I do all of my MTJ work in one marathon 
session!
I took a look at the 
new JAD editor extension point functionality today 
and I'm good with the code.  I am a bit concerned about 
the ability to 
configure a 
vendor-specific filter for the pages though.  Imagine a user 
scenario that looks like 
this:
- Developer starts by 
using a Motorola-based SDK, which causes the 
Moto-specific JAD editor page(s) to be added to the 
editor.
- Developer configures some 
Moto-specific JAD attributes using the 
vendor-specific editor page(s)
- Developer switches to a Nokia-based SDK, which causes the 
Nokia-specific editors page(s) to 
be added the Moto pages to be *removed*
- Developer alters the Nokia specific attributes and wants to 
make a 
change to the Motorola 
attributes as well... *but can't find them*
While I understand the idea of not forcing the user to see 
pages that 
don't apply for the 
current device, it feels to me like the pages should 
be shown no matter what if there are vendor-specific 
attributes that 
have been altered. 
 One option is to always show all pages.  The other 
is to show pages that apply to the 
current SDK *and* those that have 
been previously shown.
I'd appreciate thoughts.
Thanks,
Craig
_______________________________________________
dsdp-mtj-dev mailing list
dsdp-mtj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dsdp-mtj-dev