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:Code snippets"

Line 24: Line 24:
 
   
 
   
 
</pre>  
 
</pre>  
If you need to add that markup, disable the Rich Editor.
+
If you need to add that markup, click Wikitext or disable the Rich Editor.  
  
For help with editing, see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples| Wikitext examples]. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+
For help with editing, see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples| Wikitext examples]. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
  
 
[[Category:EDT]]
 
[[Category:EDT]]

Revision as of 12:03, 9 February 2012

Declaring values of EGL native types

Working with custom types

Writing basic logic

Working with a database

Accessing a service

Declaring widgets



To share a code snippet:

  1. On the page of interest, click Edit and, if necessary, log in to eclipse.org.
  2. Add a section or update an existing one; but always include your code in the following wikitext markup:
        <source lang="java">
          // put code here 
        </source>
 

If you need to add that markup, click Wikitext or disable the Rich Editor.

For help with editing, see Wikitext examples.       

Back to the top