Difference between revisions of "EDT:Code snippets"

From Eclipsepedia

Jump to: navigation, search
Line 5: Line 5:
 
[[EDT:Writing basic logic|Writing basic logic]]  
 
[[EDT:Writing basic logic|Writing basic logic]]  
  
[[Working with a database|Working with a database]]  
+
[[EDT:Working with a database|Working with a database]]  
  
 
[[Accessing a service|Accessing a service]]  
 
[[Accessing a service|Accessing a service]]  

Revision as of 12:02, 10 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.
  • If you create a new page, ensure that the web address begins with EDT:.

For help with editing, see Wikitext examples.