Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] null pointer exception in C/C++ editor

> I have made changes to the following plugins
> 
> org.eclipse.cdt.managedbuilder.gnu.ui
> org.eclipse.cdt.ui
> org.eclipse.cdt.managedbuilder.ui
> 
> Basically commented out some of the templates and CDTWizards and added my
> own. Will this cause an issue

Sheldon,

Instead of modifying CDT itselve, another approach is to create your
own new project wizard, thus basically providing your own new wizard
extension point. The INewWizard class linked to this extension can be
your own extension to the CDTCommonProjectWizard class, allowing you
to reuse most of the standard CDT new project wizard functionality.

Advantages are that your plugins can be plugged into environments
without having to overwrite the CDT plugins, and that you don't have
to redo all your changes everytime CDT updates (and ofcourse you
prevent your updates from causing new NPEs;-)

Regards,
  Wieant


Back to the top