Re: Skip the "Choose Project" step in New Project wizard
geertjan wielenga <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
On 14-1-2016 12:12, Paco Barrera wrote: > Hi all, > > I'm trying to skip the first step when creating a new custom project > from New Project Wizard. > > As I read, I need to catch the Action > org.netbeans.spi.project.ui.support.CommonProjectActions.newProjectAction() > in some instant and set the PRESELECT_CATEGORY and PRESELECT_TEMPLATE > to my custom project template to achieve this. No, that won't achieve skipping the first step. That will achieve that you will programmatically select the category and the template in the first step of the New Project wizard. Gj > > The problem is where to catch this action or override it. > > Is this correct or there are other aproaches? > > Any help would be appreciated.