Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Adding pages to the New Project Wizard

Thank Beth, I am now doing that.

However, I was hoping that I would be called with the pageID. Insetad I have to hard-code it, and make sure it is the same one I used in my plugin.xml (you can probably tell, that I fell in to that trap!)

--
Derek


Beth Tibbitts wrote:
- I have subclassed MBSCustomPage to create my pages. The
no-parameters
that is

Use the contstructor that takes a page id - I'm the one that suggested that
deprecation,
because if you don't set the page id, things don't work.  Save yourself the
misery.

   public MBSCustomPage(String pageID)

I call that from my subclass ctor.
   public MyWizardPage(){
          super(PAGE_ID);
   }

...Beth
High Productivity Tools / Parallel Tools  http://eclipse.org/ptp
T.J.Watson Research Center
Lexington, KY 40511

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top