Project template plugin which can activate un-activated feature
"hsrky" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I want to create a custom Project template (C/C++ template), that when upon creation (File->New Project->MyTemplate), it will automatic activate the C/C++ feature if it is not enabled. I am using netbeans 8 rc2, after fresh installation I see all the projects are grayed out, and in description: This feature is not yet enabled. Press Next to activate it. How can I achieve the same thing with my custom project? I tried to search around and this seems to be Feature On Demand/ergonomics feature of netbeans, but I can't find any relevant APIs. There are few project examples on plugins.netbeans.org, but the projects don't seem to have this auto activation feature. I will be very grateful for any pointers. Thanks.