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.
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 | + | {| class="prettytable" |
|- | |- | ||
! Language !! Source !! Result | ! Language !! Source !! Result | ||
|- | |- | ||
! Java | ! Java | ||
− | | <pre> | + | | <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"); | ||
} | } | ||
− | + | </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> |