Object Teams/Editing

From Eclipsepedia

< Object Teams
Revision as of 17:23, 12 June 2010 by Stephan.cs.tu-berlin.de (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
General hints for editing OT-related pages in this wiki.

Source code listings

Please enclose any listings of OT/J code like this

<source lang="otj" line="1"> 
public team class MyFirstTeam {}
</source>

Which renders as

  1.  
  2. public team class MyFirstTeam {}

The "line" option inserts line numbers in the left column, just omit this if no line number are desired.

For unknown reasons listings with line numbers by default don't get the nice box drawn around them. To restore this behaviour insert this at that top of your page:

<css>
.source-java { border:#2F6FAB 1px dashed; background-color:#F9F9F9; padding:4px; }
.source-otj { border:#2F6FAB 1px dashed; background-color:#F9F9F9; padding:4px; }
</css>

Object Teams Wiki Templates

We currently have one OT-specific wiki template: Template:Otjld, which can be used to easily insert links to selected paragraphs of the OTJLD (OT/J Language Definition).

Wiki Categories

Currently we maintain these categories:

For placing a new wiki page into one or more of these categories simply insert (at the bottom) something like the following text:

[[Category:Object Teams]]