[jbosstools-issues] [JBoss JIRA] (JBIDE-16332) VisualEditor: Use JavaFX WebView to render JSP/XHTML/HTML pages at design time

Denis Golovin (JIRA) issues at jboss.org
Thu Jan 16 18:40:33 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-16332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12936157#comment-12936157 ] 

Denis Golovin edited comment on JBIDE-16332 at 1/16/14 6:38 PM:
----------------------------------------------------------------

*Oracle Java FX WebKit*

Webkit compiled from fork located [here|https://oss.oracle.com/projects/webkit-java-mods]. javafxwebkit.dll is included in 32bit and 64bit version of JDK and located in jre/bin folder.
Html 5 rating is close to 500 according http://html5test.com/.

||                         || Java7 32bit || Java7 64bit || Java8 32bit || Java8 64bit ||
|| Windows 32bit  |                     |  N/A              |                   | N/A               |
|| Windows 64bit  |                     |                     |                   |                    |
||       OS X 32bit  | N/A               | N/A              | N/A             | N/A              |
||       OS X 64bit  | *X*               |                      | *X*             |                      |
||       Linux 32bit *|                     |  N/A              |                   | N/A              |
||       Linux 64bit *|                     |                      |                   |                      |

\* No GTK3 support for linux

Advantages:
* Support for Windows 32/64bit
* Support for Mac OS X 64bit
* Provides API to access to DOM model

Disadvantages:
* Under Eclipse for Linux swt-javafx uses glass.so which is linked with GTK 2 only. To let it work eclipse should be started with SWT_GTK3=0 to trigger usage GTK 2.
* Is not included in Open JDK 7
* Future inclusion in Open JDK 8 is not clear
* Is not a public API
* OSGi class loading hook is required to get it works, which can have complications at install/update time and possible conflicts with OSGi hooks installed from other bundles

Performance:
* Slower under Linux and have repaint problems when scrolled up and down

                
      was (Author: dgolovin):
    *Oracle Java FX WebKit*

Webkit compiled from fork located [here|https://oss.oracle.com/projects/webkit-java-mods]. javafxwebkit.dll is included in 32bit and 64bit version of JDK and located in jre/bin folder.
Html 5 rating is close to 500 according http://html5test.com/.

||                         || Java7 32bit || Java7 64bit || Java8 32bit || Java8 64bit ||
|| Windows 32bit  |                     |  *X*              |                   | *X*               |
|| Windows 64bit  |                     |                     |                   |                    |
||       OS X 32bit  | *X*               | *X*                | *X*             | *X*              |
||       OS X 64bit  | *X*               |                      | *X*             |                      |
||       Linux 32bit *|                     |  *X*               |                   | *X*              |
||       Linux 64bit *|                     |                      |                   |                      |

\* No GTK3 support for linux

Advantages:
* Support for Windows 64bit
* Support for Mac OS X 64bit
* provides API to access to DOM model

Disadvantages:
* Under Eclipse for Linux swt-javafx uses glass.so which is linked with GTK 2 only. To let it work eclipse should be started with SWT_GTK3=0 to trigger usage GTK 2.
* Not included in Open JDK 7
* Is not public API

Performance:
* Slower under Linux

                  
> VisualEditor: Use JavaFX WebView to render JSP/XHTML/HTML pages at design time
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-16332
>                 URL: https://issues.jboss.org/browse/JBIDE-16332
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: visual-page-editor-core
>    Affects Versions: 4.2.x
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>
> Questions to answer:
> 1) compatibility when both osgi hooks in place our and e(fx)clipse
> 2) is it working with gtk3
> 3) check how to add osgi hooks parameters into user's eclipse when installing from update site (p2 tochpoints should help)
> 4) how javafx load webkit and how it collides with eclipse loaded web kit

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list