Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Looking for a quick way to define tools in MBS

Yes... use the superClass attribute on whichever element you need to
replicate, and specify the ID of the element you wish to subclass.  You
can override whichever elements/attributes you wish, and leave the rest
as defaults.

How exactly you design the hierarchy of your "classes" is dependant upon
the details of the project types and configurations you're creating

___________________________________________
 
Chris Recoskie
Software Designer
Texas Instruments, Toronto
http://eclipse.org/cdt
 
 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On
> Behalf Of dmsubs
> Sent: Tuesday, December 06, 2005 1:54 PM
> To: 'CDT General developers list.'
> Subject: [cdt-dev] Looking for a quick way to define tools in MBS
> 
> Hi,
> 
> I'm defining a new tool plugin to MBS. I need to define the same tool,
> inputType, outputType, optionCategory(s) and option(s) in several
> different
> projectTypes and configurations.
> 
> Using only plugin.xml, the tool has 1 inputType, 1 outputType, 5
> optionCategories and over 20 options. I need to replicate the whole
> edifice
> 6 times (3 platforms with 2 configurations on each). I'm doing this
with
> cut
> and paste... This can lead to errors and is a nightmare to maintain.
> 
> So, my question is, is there a way I can define a tool with its
> optionCategories, options etc so that I can then reuse them without
having
> to duplicate?
> 
> Thanks,
> 
> ---
> Derek
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top