Solid:WYSIWYGPreview: Difference between revisions
m (spellbot) |
mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
* [[XUL:Home Page]] | * [[XUL:Home Page]] | ||
{{Solid:Solid_TOC}} | {{Solid:Solid_TOC}} | ||
It would be very nice to embed XULRunner/Firefox into Eclipse/SWT for XUL preview and/or live editing inside Eclipse. | It would be very nice to embed XULRunner/Firefox into Eclipse/SWT for XUL preview and/or live editing inside Eclipse. | ||
Line 27: | Line 26: | ||
The rendered result will not 100% the same as gecko's layout (no real wysiwyg...). Furthermore this solution might not reflect special behaviour | The rendered result will not 100% the same as gecko's layout (no real wysiwyg...). Furthermore this solution might not reflect special behaviour | ||
of different gecko version (for example canvas element supported/not supported and so on). | of different gecko version (for example canvas element supported/not supported and so on). | ||
We may turn out to be able to use the xulcreator stuff based on SWT by RJ Keller, I think he's doing stuff that may be reusable. --[[User:AxelHecht|AxelHecht]] 08:06, 25 Aug 2005 (PDT) | |||
Just found [http://www.alphaworks.ibm.com/tech/ide4laszlo ide4lazlo], which has some interesting screenshots. | |||
== Embed/Reuse XULRunner/Mozilla/Firefox == | == Embed/Reuse XULRunner/Mozilla/Firefox == | ||
Line 46: | Line 49: | ||
* Rendering of the xul page into a canvas element which is then displayed in the xul preview. In this case no user defined javascript worries the rendered result. | * Rendering of the xul page into a canvas element which is then displayed in the xul preview. In this case no user defined javascript worries the rendered result. | ||
== Related links == | |||
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=78048 Mozilla Browser widget for Mac] provided by [mailto:hokamoto@us.ibm.com Hiroyuki Okamoto] | |||
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=85836 Investigate Browser based on GtkMozembed widget] (attached is a gtkembed based prototype) | |||
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=58360 Need support for Mozilla browser widget on Windows platforms] - WOW - this bug has the working source attached for the mozilla-widget on windows ! | |||
[http://www.xored.com/composer Composer - SWT HTML Editor Widget] - embedds Mozilla as editor control. Available for win/*nix/osx. | |||
[http://alphaworks.ibm.com/tech/ide4laszlo IDE4Lazlo] IBM stuff for lazlo, this may be a guide line on what is possible. |
Latest revision as of 01:47, 15 September 2006
It would be very nice to embed XULRunner/Firefox into Eclipse/SWT for XUL preview and/or live editing inside Eclipse. You can help us by voting for this Eclipse feature Allow Firefox as browser widget. There are some other feature requests similar to this: See all eclipse/mozilla related bugs/issues here XUL WYSIWYG Editor alternativesUsing Visual Editing FrameworkThe Eclipse Visual Editor project is a vendor-neutral, open development platform supplying frameworks for creating GUI builders, and exemplary, extensible tool implementations for Swing/JFC and SWT/RCP. Pros: Using this framework it is possible to (re)implement XUL (Layout/Widgets etc) to get (nearly) the same rendering result as gecko. Cons: The rendered result will not 100% the same as gecko's layout (no real wysiwyg...). Furthermore this solution might not reflect special behaviour of different gecko version (for example canvas element supported/not supported and so on). We may turn out to be able to use the xulcreator stuff based on SWT by RJ Keller, I think he's doing stuff that may be reusable. --AxelHecht 08:06, 25 Aug 2005 (PDT) Just found ide4lazlo, which has some interesting screenshots. Embed/Reuse XULRunner/Mozilla/FirefoxIt is (in general) possible to embed a Mozilla/Gecko Window into Eclipse/SWT on every platform supported by Mozilla and SWT. We could build the WYSIWYG editor as Multipage editor and embed the Mozilla XUL Window as WYSIWYG Preview. Pros: True WYSIWYG. Depending of the used Mozilla version the preview would reflect the real XUL capabilities of the used Mozilla. Relatively small amount of code for the editor. Cons: Currently not implemented. May result in problems if the displayed XUL page contains javascript modifying the user interface at runtime. Possible workarounds:
Related linksMozilla Browser widget for Mac provided by Hiroyuki Okamoto Investigate Browser based on GtkMozembed widget (attached is a gtkembed based prototype) Need support for Mozilla browser widget on Windows platforms - WOW - this bug has the working source attached for the mozilla-widget on windows ! Composer - SWT HTML Editor Widget - embedds Mozilla as editor control. Available for win/*nix/osx. IDE4Lazlo IBM stuff for lazlo, this may be a guide line on what is possible. |