New WB SWT project - Adding PluginLibraries [message #902408] |
Fri, 17 August 2012 14:01  |
Eclipse User |
|
|
|
Hi,
I made a new component and a plugin to put it on the palette of window builder. I saw that when a new SWT project is create a lot of jars are added to the project.
ProjectUtils.addPluginLibraries(javaProject, "org.eclipse.jface");
How can I put my jar? I put: ProjectUtils.addPluginLibraries(javaProject, "com.test.fw.wb.mvc.core"); and export it to /eclipse/plugin, but don't find it..
Anyone have an idea of what I need to do?
|
|
|
|
|
|
Re: New WB SWT project - Adding PluginLibraries [message #902435 is a reply to message #902434] |
Fri, 17 August 2012 14:55   |
Eclipse User |
|
|
|
Ok,
So I have 2 projects:
- test.*.core: Have components;
- test.*: Have the implementation to use palette, objects class info and wbp-component.xml
I need to create a new PDE and put the other 2 inside? Sorry, but I don't understand what I need to do...
|
|
|
Re: New WB SWT project - Adding PluginLibraries [message #902445 is a reply to message #902435] |
Fri, 17 August 2012 15:26  |
Konstantin Scheglov Messages: 555 Registered: July 2009 |
Senior Member |
|
|
You have 2 Eclipse instances.
Dev: where you develop your Info, descriptions wbp-component.xml, etc
Run: where you open WindowBuilder editor, drop components, see palette, etc.
You need to create PDE project in RunEclipse, import plugin test.*.core (probably as source) and add dependency on this plugin from PDE project.
So, your PDE project will see component classes.
Konstantin Scheglov,
Google, Inc.
|
|
|
Powered by
FUDForum. Page generated in 0.04386 seconds