Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] CDT Project Template Engine help

Hello Everybody,

 

While studying the Template Engine I have observed that the ‘Project Template Engine’ help mentioned following contents for ‘property-group’

type:

 Use this attribute to specify the wizard page type. The possible values for this attribute are:

    • PAGES_ONLY: If you want all the properties to be listed in a simple page.
    • PAGES_TAB: If you want all the properties to be displayed as tabs in a page.
    • PAGES_TREE: If you want all the properties to be displayed in a simple tree structure.
    • PAGES_TREE_TREE: If you want all the properties to be displayed in a multi-level tree structure.
    • PAGES_TAB_TREE: If you want all the properties to be displayed as tabs or as a tree structure.

 

But when I add it as PAGES_ONLY or PAGES_TAB as the ‘type’ I am getting following error.

!ENTRY org.eclipse.ui 4 0 2007-08-09 12:10:23.346
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
               at org.eclipse.cdt.ui.templateengine.pages.UIPagesProvider.getWizardUIPages(UIPagesProvider.java:75)
               at org.eclipse.cdt.ui.templateengine.Template.getUIPages(Template.java:83)
               at org.eclipse.cdt.ui.templateengine.Template.getTemplateWizardPages(Template.java:97)
               …………..

 

When I replace “_” with “-“ i.e. PAGES-ONLY and not PAGES_ONLY it works.

Shall I add a Bugzilla for this?

 

Another observation is that type like PAGES-TAB or PAGES-TREE even with ‘-‘gives the above error.

 

Regards

-Sanchali


Back to the top