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:
 
When you write a Rich UI application, the typical process is as follows:  
 
When you write a Rich UI application, the typical process is as follows:  
  
*Create a Handler type of stereotype RUIHandler.<br>
+
* Create a Handler type of stereotype RUIHandler.
*Declare the widgets and customize them; for example, by assigning and coding event handlers. <br>
+
* 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.<br>
+
* As appropriate, assign and code event handlers.  
*Write initialization code in the on-construction function.<br>
+
* 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.
 +
* Write initialization code in the on-construction function.
  
  

Revision as of 15:13, 15 February 2012

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.
  • As appropriate, assign and code event handlers.
  • 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.
  • Write initialization code in the on-construction function.





Code snippets main page

Back to the top