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 "Help:Editing"

m
Line 6: Line 6:
 
If you have to write source code in Java, you can use this template:
 
If you have to write source code in Java, you can use this template:
  
{| class="prettytable" style="text-align:center"
+
{| class="prettytable"
 
|-
 
|-
 
! Language !! Source !! Result  
 
! Language !! Source !! Result  
 
|-  
 
|-  
 
! Java  
 
! Java  
| <pre>&lt;source lang="java"&gt;
+
| <pre><source lang="java">
 
  public static void main(String args[]) {
 
  public static void main(String args[]) {
 
       System.out.println("Hello world");
 
       System.out.println("Hello world");
 
  }
 
  }
&lt;/source&gt;
+
</source>
 
</pre>
 
</pre>
 
  || <source lang="java">
 
  || <source lang="java">

Revision as of 06:25, 24 February 2008

See the wikipedia help.


For the infobox template, see Template:Infobox.

If you have to write source code in Java, you can use this template:

Language Source Result
Java
<source lang="java">
 public static void main(String args[]) {
      System.out.println("Hello world");
 }
</source>
 public static void main(String args[]) {
      System.out.println("Hello world");
 }
XML
<source lang="xml">
<extension point="org.eclipse.stp.bpmn.diagram.EAnnotationDecorator">
      <decorator
            class="org.eclipse.stp.bpmn.sample.annotationdecoration.AnnotationDecorator"
            source="textAnnotationSource"/>
</extension>
</source> 
<extension point="org.eclipse.stp.bpmn.diagram.EAnnotationDecorator">
      <decorator
            class="org.eclipse.stp.bpmn.sample.annotationdecoration.AnnotationDecorator"
            source="textAnnotationSource"/>
</extension>

Back to the top