I've some trouble with the combination of WindowBuilder 4.2 (Build id: 2005.11.04) and Eclipse 3.1.2 (Build id: M20060118-1600).
Everytime I'm creating a new Plugin-Project (Entering name pressing proceed and after that finish (none of the samples)) and creating an ViewPart I receive an empty plugin.xml:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
</plugin>
Out of the workspace directory (wich is located at: d:\ws) I find a new directory (with the same name of the project) with an plugin.xml as needed:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
>
<extension
point="org.eclipse.ui.views">
<view
class="projekt1.views.P1View"
id="projekt1.views.P1View"
name="P1 View"/>
</extension>
</plugin>
One thing I've seen is:
When I've created a new View (directly after creating the plugin) there is no plugin.xml. After I've push the "add" button on the Extension page of the PDE-Editor, the view shows immediately, without any action (in the list of the PDE).
The PDE-Editor shows also the plugin.xml-source correctly but it saves in the completly wrong location. Even if i change the contents manually in the pde and save it, it will be stored in the wrong location.
I wrote that in here, because there are no such problems when I try to create an view manually in eclipse (without swt/window-designer).
I think it might have to do something with the way how the designer works with the plugin.xml (or the api).
yours sincerly
Marc