[jbosstools-dev] Configure the Visual Page Editor palette in JBoss Tools

Max Rydahl Andersen manderse at redhat.com
Wed Feb 25 06:58:15 EST 2015


Be warned that the palette and visual jsf editing is being phased 
out/deprecated since it relies on xulrunner which
are no longer portable/available in a stable form.

/max

> Hi,
>
> I am investigating the internal code in JBoss Tools, in particular, 
> the pieces that fill up the Palette view.
> I have checked out the source code of the plugins, but I am having a 
> hard time finding out how the Palette view is filled with the 
> different options. For instance, when running an Eclipse instance with 
> JBoss Tools, I can see the palette view is filled with the same 
> options expected from the manual page at [1]
>
> But I'm having a hard time to find in the source code how the data to 
> fill this tree of categories is found.
>
> I have traced the code, and I see that the categories are fetched as 
> an XModel / Preference Model [2]. So, if the palette view shows the 
> categories HTML, JBoss, JSF, Oracle ADF and others, I would expect to 
> find an XML or Properties file that described those.
>
> Can someone give me any pointers on how the current code finds those 
> categories ?
>
> Another question is, I'm currently checking if we can extend the 
> plugin to add new categories and items in the Palette; can you give me 
> some hint on how to approach this task ?
>
>
> [1]: https://docs.jboss.org/tools/4.0.1.Final/en/jsf/html/palette.html
> [2]: 
> https://github.com/jbosstools/jbosstools-base/blob/jbosstools-4.0.0.Final/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/options/PreferenceModelUtilities.java#L64
>
> Leonel Gayard
> _______________________________________
>
> GFT Brasil Consultoria Inform?tica Ltda.
> Av. Sao Francisco, 98
> 18.095-450 Sorocaba, Brasil
>
> T      +55 15 3332 9731
> F
> Leonel.Gayard at gft.com
> <http://www.gft.com><http://www.gft.com/ch>www.gft.com/br<http://www.gft.com/br>
> www.gft-blog.com.br<http://www.gft-blog.com.br>
> www.twitter.com/gft_br<http://www.twitter.com/gft_br>
> ______________________________________
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev


/max
http://about.me/maxandersen



More information about the jbosstools-dev mailing list