Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Extending the palette with custom widgets [Eclipse 3.2, VE 1.2]
Extending the palette with custom widgets [Eclipse 3.2, VE 1.2] [message #615058] Mon, 12 February 2007 11:26
Sébastien Alonzo is currently offline Sébastien AlonzoFriend
Messages: 94
Registered: July 2009

I want to extend the VE palette with some custom widgets I created
extending Swing components.

I managed to do it ever since the first releases of VE and so far I
could always update my plugin with every new version of VE/Eclipse.

Unfortunately it does not work anymore with VE 1.2 and Eclipse 3.2 and I
wonder what might be the proper way to do it since the only online
tutorial is not up to date (unless I'm mistaken it targets Eclipse 3.1
and VE 1.1)

Apparently my classpath container is not properly registered since it
does not appear in the available libraries.

Here is a snippet of my plugin.xml file :
(my plugin id is my.widgets.plugin)

<extension point="org.eclipse.jdt.core.classpathContainerInitializer">
class=" erInitializer "

<extension point="org.eclipse.jdt.ui.classpathContainerPage">
<classpathContainerPage name="%customWidgetsPage"
class=" inerWizardPage "

<extension point="">
<registration container="CUSTOM_WIDGETS_CONTAINER"
description="Calypso widgets distribution">
<library runtime="bin/widgets.jar" source="src/" />

<extension point="org.eclipse.jem.beaninfo.registrations">
<registration container="CUSTOM_WIDGETS_CONTAINER"
<beaninfo path="bin/widgets_dt.jar">
<searchpath package="my.widgets.beaninfo"/>

<extension point="">
<palette container="CUSTOM_WIDGETS_CONTAINER"

I think my palette.xmi file is ok since I migrated it to match the ones
used in VE plugins (jfc and swt) but I have not been able to test it so
far ...

If anyone can tell me how to properly register a classpath container
with VE 1.2 I would greatly appreciate since I'm a bit stuck there.
Previous Topic:Extending the palette
Next Topic:Turn off visual editor preview pane
Goto Forum:

Current Time: Mon Jun 18 02:13:05 GMT 2018

Powered by FUDForum. Page generated in 0.02074 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top