Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EDT:Declaring widgets"

Line 1: Line 1:
The next sections outline a way to develop a Rich UI application. For an overview of the technology, see [http://www.eclipse.org/edt/papers/topics/egl_web_technology.html Web technology for EGL Rich UI].
+
The next sections outline a way to develop a Rich UI application. For background information, start with [http://www.eclipse.org/edt/papers/topics/egl_web_technology.html Web technology for EGL Rich UI].
 
+
When you write a Rich UI application, the typical process is as follows:
+
 
+
# Create a Handler type of stereotype RUIHandler.
+
# Declare the widgets and customize them.
+
# Display a given widget by including it either in the '''initialUI''' array of the Rich UI handler or in the '''children''' array of another widget.
+
# As appropriate, assign and code event handlers.
+
# Write initialization code in the on-construction function.
+
 
+
The order of steps 2-5 is flexible, and the Rich UI editor can handle several steps for you.
+
 
+
For a more detailed overview, see
+
  
 
= Create a Handler type of stereotype RUIHandler =
 
= Create a Handler type of stereotype RUIHandler =

Revision as of 15:48, 15 February 2012

The next sections outline a way to develop a Rich UI application. For background information, start with Web technology for EGL Rich UI.

Create a Handler type of stereotype RUIHandler

<script lang="java">

</script>

Declare the widgets and customize them

<script lang="java">

</script>

Display a given widget

<script lang="java">

</script>

Assign and code event handlers




Code snippets main page

Back to the top