On 25 Feb 2015, at 13:09, Gayard, Leonel wrote:
> 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.
In this case, are there plans to replace xulrunner ? What are the
candidates for replacement ?
There is none that been shown to be feasible.
The experiments we've done by using javascript to communicate with
IE/webkit all either
given to bad a performance or required a complete rewrite of all the JSF
template handling code.
To be clear, all the source editing, palette dnd etc. will still be
there - it is just the visual part
that we will deprecate and eventually remove.
We focused on getting good HTML5 preview support instead - html5 have
the advantage of not requiring
custom template code to be previewed.
/max
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(a)gft.com
<
http://www.gft.com><http://www.gft.com/ch>www.gft.com/br<http...
www.gft-blog.com.br<http://www.gft-blog.com.br>
www.twitter.com/gft_br<http://www.twitter.com/gft_br>
______________________________________
-----Original Message-----
From: Max Rydahl Andersen [mailto:manderse@redhat.com]
Sent: quarta-feira, 25 de fevereiro de 2015 08:58
To: Gayard, Leonel
Cc: jbosstools-dev(a)lists.jboss.org
Subject: Re: [jbosstools-dev] Configure the Visual Page Editor palette
in JBoss Tools
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.Fi
> nal/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co
> mmon/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(a)gft.com
>
<
http://www.gft.com><http://www.gft.com/ch>www.gft.com/br<http...
>
ft.com/br> www.gft-blog.com.br<http://www.gft-blog.com.br>
>
www.twitter.com/gft_br<http://www.twitter.com/gft_br<http://www.twi...
> ______________________________________
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
/max
http://about.me/maxandersen
/max
http://about.me/maxandersen