Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Eclipse/Incubator/TK-UI"

(New page: ==Introduction== [http://tk-ui.sourceforge.net/ TK-UI] is a proposed open source component under the Eclipse Platform Incubator project. TK-UI's purpose is to: * CSS/Styling : provide exte...)
 
(Introduction)
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
 
[http://tk-ui.sourceforge.net/ TK-UI] is a proposed open source component under the Eclipse Platform Incubator project. TK-UI's purpose is to:
 
[http://tk-ui.sourceforge.net/ TK-UI] is a proposed open source component under the Eclipse Platform Incubator project. TK-UI's purpose is to:
* CSS/Styling : provide extensible CSS engine which is able to apply styles to any Object (SWT widget, Swing container, XML element....)
+
* '''CSS/Styling''' : provide extensible CSS engine which is able to apply styles to any Object (SWT widget, Swing container, XML element....)
* JFace Databinding DOM : provide JFace Databinding implementation to to bind DOM Node (Attribute, Element, Document...).
+
* '''JFace Databinding DOM''' : provide JFace Databinding implementation to to bind DOM Node (Attribute, Element, Document...).
* Declarative UI :  
+
* '''Declarative UI''' : (not sure that E4 are interested?).
  
 
==CSS Styling==
 
==CSS Styling==

Revision as of 16:54, 9 September 2008

Introduction

TK-UI is a proposed open source component under the Eclipse Platform Incubator project. TK-UI's purpose is to:

  • CSS/Styling : provide extensible CSS engine which is able to apply styles to any Object (SWT widget, Swing container, XML element....)
  • JFace Databinding DOM : provide JFace Databinding implementation to to bind DOM Node (Attribute, Element, Document...).
  • Declarative UI : (not sure that E4 are interested?).

CSS Styling

JFace Databinding DOM

Declarative UI

1. Describe UI with any XML based markup language. Today TK-UI implements XUL and XHTML.
2. Render XML markup with any GUI library. Today TK-UI supports both SWT and Swing.
4. Use of JFace Databinding to bind UI widgets with a DOM structure (elements, attributes).
5. Manage binding with DBEL (Databinding expression language) to bind UI widgets with POJOs, Scriptable objects 
   or another UI   widget. XAML binding expression is implemented, and it's possible to easily implement 
   your own binding expression.
6. Mix several XML markup languages (ex : use XHTML and XUL in the same document, and use XAML binding expression 
   with XUL controls).
7. Manage the UI tree with a DOM document in a similar fashion of Javascript/HTML :
  * use DOM document.addEventListener to add UI event listener.
  * use document.createElement('input') to add a Text widget.
8. Manage logic of the UI with a scripting language (Javascript...) or with a Java POJO (similar to JSF Backing beans).

Back to the top