Difference between revisions of "RAP/Custom Widgets"

From Eclipsepedia

< RAP
Jump to: navigation, search
Line 1: Line 1:
There are several ways to create custom widgets for RAP. This article is not a guide on how to create them, but only links to the relevant resources and adds covers some current issues.<br>  
+
There are several ways to create custom widgets for RAP. This article is not a guide on how to create them, but links to the relevant resources and covers some current issues.<br>  
  
 
== SWT-Style Custom Widgets<br>  ==
 
== SWT-Style Custom Widgets<br>  ==
Line 13: Line 13:
 
The current RAP developers guide covers some RAP-specific aspects of such custom-widgets.  
 
The current RAP developers guide covers some RAP-specific aspects of such custom-widgets.  
  
==== Related Issues  ====
+
===== Related Issues  =====
 
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=321274 Bug 321274 - Compound Custom Widget Focus]<br>
 
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=321274 Bug 321274 - Compound Custom Widget Focus]<br>
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=370328 Bug 370328 - [Canvas] Text has wrong z-index]<br>
+
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=370328 Bug 370328 - Canvas - Text has wrong z-index]<br>
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=375615 Bug 375615 - [GC] Drawing order of image is not correct]<br>
+
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=375615 Bug 375615 - GC - Drawing order of image is not correct]<br>
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=370313 Bug 370313 - [Canvas] Tweak canvas performance in IE7/8]<br>
+
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=370313 Bug 370313 - Canvas - Tweak canvas performance in IE7/8]<br>
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=361615 Bug 361615 - [Canvas] Implement SWT.NO_BACKGROUND to avoid clearing the canvas rectangle]<br>
+
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=361615 Bug 361615 - Canvas - Implement SWT.NO_BACKGROUND to avoid clearing the canvas rectangle]<br>
  
 
== Browser-based Custom Widgets  ==
 
== Browser-based Custom Widgets  ==
 
These widgets use HTML and JavaScript, but are not based on RAP-internals. They can be compatible with SWT applications.
 
These widgets use HTML and JavaScript, but are not based on RAP-internals. They can be compatible with SWT applications.
 
  
 
*[http://eclipse.org/rap/developers-guide/devguide.php?topic=html/advanced/custom-widget.html#browserThe RAP Developers Guide on Browser-based Custom Widgets]<br>
 
*[http://eclipse.org/rap/developers-guide/devguide.php?topic=html/advanced/custom-widget.html#browserThe RAP Developers Guide on Browser-based Custom Widgets]<br>
Line 28: Line 27:
 
The current RAP developers guide gives an overview of the techniques that can be used to create such custom widgets and links to several examples.
 
The current RAP developers guide gives an overview of the techniques that can be used to create such custom widgets and links to several examples.
  
==== Related Issues  ====
+
===== Related Issues  =====
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=363811 Bug 363811 - [Browser] certain characters in browser function name crash client]<br>
+
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=363811 Bug 363811 - Browser - certain characters in browser function name crash client]<br>
 
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=374244 Bug 374244 - SWTException during Browser.evaluate() when trying to retrieve size of browser content]<br>
 
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=374244 Bug 374244 - SWTException during Browser.evaluate() when trying to retrieve size of browser content]<br>
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=371132 Bug 371132 - [BrowserFunction] Support calls to browser function while another browser function is pending]<br>
+
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=371132 Bug 371132 - BrowserFunction - Support calls to browser function while another browser function is pending]<br>
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=371133 Bug 371133 - [Browser] Support multiple script executions]<br>
+
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=371133 Bug 371133 - Browser - Support multiple script executions]<br>
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=323803 Bug 323803 - [ipad] Browser-widget/iframe broken]<br>
+
*[https://bugs.eclipse.org/bugs/show_bug.cgi?id=323803 Bug 323803 - ipad - Browser-widget/iframe broken]<br>

Revision as of 05:56, 23 May 2012

There are several ways to create custom widgets for RAP. This article is not a guide on how to create them, but links to the relevant resources and covers some current issues.

Contents

SWT-Style Custom Widgets

Those are custom widgets like they are created in SWT. There are two types: Compound widgets and Self-drawing widgets.

This guide by the creators of SWT pre-dates RAP, but is still valid for current SWT/RAP versions. The chapters about native-code can be ignored.

The current RAP developers guide covers some RAP-specific aspects of such custom-widgets.

Related Issues

Browser-based Custom Widgets

These widgets use HTML and JavaScript, but are not based on RAP-internals. They can be compatible with SWT applications.

The current RAP developers guide gives an overview of the techniques that can be used to create such custom widgets and links to several examples.

Related Issues