Palette contribution in jar

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Palette contribution in jar

Postby George » Fri Apr 08, 2011 5:59 am

i read the pdf file named NewComponentsToturiel.pdf
I create my custom component and i create a project palette that i add this component to palette and it's work.
i wish to contribute the palette in jar file,so when i put the jar file in a GWT project the palette will contain my custom component.
I try several ways to do that but doesn't work.
Can you describe me the step to contribute palette in jar.
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: Palette contribution in jar

Postby Eric Clayberg » Fri Apr 08, 2011 12:04 pm

See the full discussion here...

The palette only shows a component entry if its Class is present in the ClassLoader.

For GWT, it is not enough to just have the Class on the classpath. You also have to import its module into your GWT module.xml file.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests