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

EDT:Declaring widgets

Revision as of 15:36, 15 February 2012 by Unnamed Poltroon (Talk)

When you write a Rich UI application, the typical process is as follows:

  1. Create a Handler type of stereotype RUIHandler.
  2. Declare the widgets and customize them.
  3. 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.
  4. As appropriate, assign and code event handlers.
  5. Write initialization code in the on-construction function.

The Rich UI editor can handle several steps for you, and the order of steps 2-5 is flexible.

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




Code snippets main page

Back to the top