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

Line 25: Line 25:
 
</pre>  
 
</pre>  
 
*To add most of your content, click Wikitext or disable the Rich Editor.  
 
*To add most of your content, click Wikitext or disable the Rich Editor.  
*If you create a new page, read [[EDT:How to Create/Edit Wiki pages|these instructions]].
+
*Before you create a new page, read [[EDT:How to Create/Edit Wiki pages|these instructions]].
  
 
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 21:44, 12 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:

  • On the page of interest, click Edit and, if necessary, log in to eclipse.org.
  • 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>
 
  • To add most of your content, click Wikitext or disable the Rich Editor.
  • Before you create a new page, read these instructions.

For help with editing, see Wikitext examples.       

Back to the top