[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [bpel-dev] Status of Extension Point mechanism?
|
Hi Andreas,
I've made a sample plug-in that demonstrates
the palette in action.
It demonstrates three palette additions:
1. An addition to an existing group.
(The group names are static, and are in BPELEditor.createBPELPaletteEntries()).
2. An addition to the root palette (just
don't specify a category name)
3. An addition to a new group. Bug:
the new group will always lack a name. This should be an easy bug fix.
I've verified that this plug-in works
in my workspace. Hopefully this will help. Take a close look at the entry
as well as the factory (which is simple and bogus in my example but enough
to give the general idea).
If you have any questions about this
please let me know.
james
bpel-dev-bounces@xxxxxxxxxxx wrote on 06/09/2006 08:55:15
AM:
> > Hi Andreas,
> >
> > We still have a fair bit of design and refactoring to do to get
the
> > extension point mechanism to where we want it. However, even
as
> > things currently are, you should be able to create new palette
> > additions using the extension points. Did you see the doc here:
> > http://www.eclipse.org/bpel/developers/extension_points.html
? It
> > demonstrates how to use the palette (among other extension points).
> >
> > james
>
> As i have stated in my original post, i tried to add my additions
> (extending BPELCreationToolEntry, as described in the mentioned
> document, which i knew beforehand). A new category in the palette
is
> created at the bottom, but the ToolEntries are not added, the category
> stays empty. The constructor of the classes which implement the
> ToolEntries are never being called in my case.
>
> Did i miss anything?
>
> That's how my plugin.xml looks like:
>
> <extension point="org.eclipse.bpel.common.ui.paletteAdditions">
> <additions targetEditor="org.eclipse.bpel.ui.bpeleditor">
> <addition category="myplugin.category"
> class="myplugin.ui.MyToolEntry">
> </addition>
> </additions>
> </extension>
>
> With MyToolEntry extends BPELCreationToolEntry.
>
> Where does the call to the constructor of MyToolEntry happen?
>
> Andreas
> _______________________________________________
> bpel-dev mailing list
> bpel-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/bpel-dev
Attachment:
org.eclipse.bpel.test.zip
Description: Zip archive