Demo Project Factory Sample - plugin detail
Project Factory Sample
||NetBeans Rich Client Platform
|2011-05-11 12:24:45||geertjan||Plugin edited, id:38953, pubid:12170|
|2011-05-11 10:22:48||geertjan||Plugin edited, id:38953, pubid:12170|
|2011-05-11 10:21:43||geertjan||Plugin edited, id:38953, pubid:12170|
|2011-05-11 10:20:29||geertjan||Plugin edited, id:38953, pubid:12170|
|2011-05-11 10:19:04||geertjan||Plugin edited, id:38953, pubid:12170|
|2011-05-11 10:17:36||geertjan||Plugin edited, id:38953, pubid:12170|
|2011-05-11 10:10:23||geertjan||Plugin edited, id:38953, pubid:12170|
|2011-05-11 10:07:45||geertjan||Plugin edited, id:38953, pubid:12170|
|2011-05-11 09:55:49||geertjan||Plugin edited, id:38953, pubid:12170|
|2011-05-11 09:54:00||geertjan||Marking original plugin as updated so it is not available on the web any more|
|2011-05-11 09:54:00||geertjan||New version created as copy of original plugin 12170 with new id 38953, pubid:12170|
|2011-05-11 09:54:00||geertjan||Plugin edited - new binary uploaded, .nbm type|
|2011-05-11 09:52:38||geertjan||Plugin edited, id:12170, pubid:12170|
|2011-05-11 09:51:04||geertjan||Plugin edited, id:12170, pubid:12170||
Download size: 0.03 MB
Last Update: 2011-05-11
What's new in this version
7.0 only supported. For the first time, the sample (and the tutorial) includes those samples of the project type, registered in the New Project wizard.
Verifications for NetBeans versions
Plugin is not subject to any verification
Project Factory for simple source structures consisting of an application with a folder that must be named "texts". Contents of this folder will be displayed in Projects window. Project will have several project-level commands, like 'Delete' and 'Copy'.
In the New Project wizard (Ctrl-Shift-N), complete the sample "Samples | NetBeans Modules | Demo Project Factory" and then you'll have these sources:
Make sure you have a folder structure that includes a folder named "texts", and then you can open that folder structure as a project, as shown below:
Note: As shown above, you will have two samples of your project type in the New Project wizard (Ctrl-Shift-N).
[ You have to be logged in to be able to comment. ]
That works now! I just didn't know I had to add that Lookup API. No other problems :) Thanks !
Follow the tutorial
Instead of doing all of that, just follow the tutorial I pointed you to. You'll learn a lot more that way.
Thanks for your quick reply. That didn't work for me ... there are no include lines on that page. So i donwloaded the .nbm and in folder netbeans\modules\org-netbeans-demo-project.jar\org\netbeans\demo\project i found a ZIP archive DemoProjectFactoryProject.zip. So i loaded that project in NetBeans and though it has some errors with Lookups and ProxyLookup when I installed it i got a "BUILD SUCCESSFUL". Yet i didn't find the Demo Project Factory in Samples\NetBeans Modules.
ZIPped Source Code
Do you think you could publish the source code of this module? I mean the complete source code not just the classes but the imports as well. Because I can't compile this module. I can't install it. I'm using NetBeans 6.9. Or at least does anyone know of any open source module for NetBeans that defines a new project type?
List of existing project types to extend?
thanks for the helpful example. I think I have to create a project type from the scratch. But to be sure It will be nice to have a list of all existing project types which I can extend. Do you know a fast way to find all of these project types? I had only a look in the Netbeans IDE and not in any source till now. Especially I am interested in project types with less functionality.