Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] Fw: org.eclipse.core.runtime.products Extension


The PDE complains about parameter not being a legal child element of product. Is this a PDE bug or a bug in the schema?  

I ran with the parameter, as shown in the document example and icon and the application name string didn't show in the UI.  Is this a UI bug?  
   
<extension
         id="com.ibm.jdg2e.mini.configurator.product"
         name="JDG2E Dynamic Plug-in Configurator"
         point="org.eclipse.core.runtime.products">
      <product
            description="JDG2E Dynamic Plug-in Configurator"
            name="JDG2E Dynamic Application"
            application="com.ibm.jdg2e.mini.configurator.product1">
         <parameter
               value="icons/miniwp.gif"
               name="windowImage"/>        
                 <parameter
               value="The Java Developer's Guide to Eclipse - Dynamic Application"
               name="appName"/>
      </product>
   </extension>



Thanks,
Scott Fairbrother
Eclipse/WebSphere Studio Jumpstart Team
607 Pinewood Dr
Apex , NC 27502

Voice : 919-367-9345  TL:  223-7851

The Java Developer's Guide to Eclipse - http://www.aw.com/catalog/academic/product/1,4096,0321159640,00.html?type=PRE
WebSphere Studio - http://www.ibm.com/software/ad/adstudio
Ready for WebSphere Studio partner program - http://www.developer.ibm.com/websphere/ready.html


platform-core-dev-admin@xxxxxxxxxxx wrote on 06/01/2004 12:46:25 PM:

>
> I believe the example is actually correct.  (what are you thinking is wrong?).  The
> existance, semantics and handling of the <parameters> is defined by people
> consuming IProducts.  In this case, the UI defines some params (see
> IProductBrandingConstants) as does the Runtime (not sure where the constants are).
>
> Note that the appName is not the Runtime's application, it is a value used by the
> UI on Motif and the like to get UI specific settings.  -application or eclipse.
> application (or the application attribute of the <product> tag) are the way you
> control the application that gets run.  
>
> I suggest a bug report or query in UI land...
>
> Jeff
>
>

>
> Scott Fairbrother <scottf@xxxxxxxxxx>
> Sent by: platform-core-dev-admin@xxxxxxxxxxx

> 06/01/2004 12:00 PM
>
> Please respond to
> platform-core-dev

>
> To

>
> platform-core-dev@xxxxxxxxxxx

>
> cc

>
> Subject

>
> [platform-core-dev] Fw: org.eclipse.core.runtime.products Extension

>
>
>
>
>
> I see that the DDT in the doc corresponds to the PDE schema.... it's the example
> that is wrong.  
> Examples: Following is an example of static product declaration:
>
>   <extension id="coolProduct" point="org.eclipse.core.runtime.products">
>      <product name="%coolName" application="coolApplication" description="%coolDescription">
>          <parameter name="windowImage" value="window.gif"/>
>          <parameter name="aboutImage" value="image.gif"/>
>          <parameter name="featureImage" value="feature.gif"/>
>          <parameter name="aboutText" value="%aboutText"/>
>          <parameter name="appName" value="CoolApp"/>
>          <parameter name="welcomePage" value="$nl$/welcome.xml"/>
>      </product>
>   </extension>
>
>
> I was expecting that by specifying the windowImage and appName values that the
> (RCP) application witndow would show without having to set the shell image and
> title  programatically in the WorkbenchAdvisor.  For some reason that is not
> happening, what am I missing?
>
>
>
> Thanks,
> Scott Fairbrother
> Eclipse/WebSphere Studio Jumpstart Team
> 607 Pinewood Dr
> Apex , NC 27502
>
> Voice : 919-367-9345  TL:  223-7851
>
> The Java Developer's Guide to Eclipse - http://www.aw.
> com/catalog/academic/product/1,4096,0321159640,00.html?type=PRE
> WebSphere Studio - http://www.ibm.com/software/ad/adstudio
> Ready for WebSphere Studio partner program - http://www.developer.ibm.
> com/websphere/ready.html
>
> ----- Forwarded by Scott Fairbrother/Raleigh/IBM on 06/01/2004 11:51 AM -----
>
> Scott Fairbrother/Raleigh/IBM wrote on 06/01/2004 10:50:38 AM:
>
> > There is a discrepancy between the doc and the PDE schema, which one is right?
> >
> > The doc describes <parameter name= value=
> >
> > The PDE schema generated <property name= value=
> >
> >
> > Thanks,
> > Scott Fairbrother
> > Eclipse/WebSphere Studio Jumpstart Team
> > 607 Pinewood Dr
> > Apex , NC 27502
> >
> > Voice : 919-367-9345  TL:  223-7851
> >
> > The Java Developer's Guide to Eclipse - http://www.aw.
> > com/catalog/academic/product/1,4096,0321159640,00.html?type=PRE
> > WebSphere Studio - http://www.ibm.com/software/ad/adstudio
> > Ready for WebSphere Studio partner program - http://www.developer.ibm.
> > com/websphere/ready.html

Back to the top