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 "Riena/Snippets"

(Create Riena Snippets page)
 
Line 1: Line 1:
Riena Snippets are small easy understandable programming example how to use Ridget API and other parts of Riena. You can find them in CVS [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.riena/org.eclipse.riena.sample.snippets/?root=RT_Project Riena code snippets].
+
Riena Snippets are small stand-alone programs that demonstrate specific techniques or functionality. Often a small example is the easiest way to understand how to use a particular feature.
  
(Committers, please create new categories alphabetically. Insert new snippets into the appropriate category. Thanks!)
+
To run a snippet.... '''TODO''' ...
  
==Hello World==
+
Note that the snippets are edited for brevity rather than completeness. They are intended to guide the reader towards the correct solution, rather than be finished products. They are tested against the HEAD stream and may sometimes reference new API or require bug fixes from there.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut tincidunt elit quis leo. Donec bibendum feugiat felis. Etiam tincidunt purus eget sem. Vivamus convallis quam quis eros.
+
  
==Text Ridget==
+
Snippets also help isolate problems. The best way to report an Riena bug is to write your own snippet showing the problem and paste it into the bug report. For a snippet template, see the "Hello World" example.
===[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/dialogs/Snippet012DialogWithImageButtons.java?view=markup Snippet012DialogWithImageButtons]===
+
Demonstrates usage of Icons in Buttons of Dialogs
+
  
(work in progress)
+
To contribute a new snippet, [https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Riena&component=UI create a snippet contribution] in Bugzilla. Thanks in advance for your contribution!
 +
 
 +
* [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/dialogs/Snippet012DialogWithImageButtons.java?view=markup '''Hello World''']
 +
 
 +
* '''Text Ridget'''
 +
** [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/dialogs/Snippet012DialogWithImageButtons.java?view=markup Text field ridget with minimum length validation rule and direct writing]
 +
 
 +
'''TODO fix links to snippets'''
  
 
[[Category:Riena]]
 
[[Category:Riena]]

Revision as of 20:16, 18 August 2008

Riena Snippets are small stand-alone programs that demonstrate specific techniques or functionality. Often a small example is the easiest way to understand how to use a particular feature.

To run a snippet.... TODO ...

Note that the snippets are edited for brevity rather than completeness. They are intended to guide the reader towards the correct solution, rather than be finished products. They are tested against the HEAD stream and may sometimes reference new API or require bug fixes from there.

Snippets also help isolate problems. The best way to report an Riena bug is to write your own snippet showing the problem and paste it into the bug report. For a snippet template, see the "Hello World" example.

To contribute a new snippet, create a snippet contribution in Bugzilla. Thanks in advance for your contribution!

TODO fix links to snippets

Back to the top