Difference between revisions of "Graphiti"

From Eclipsepedia

Jump to: navigation, search
Line 5: Line 5:
 
This page contains useful information for developers working on the Graphiti framework itself. Users of the framework (building Graphiti-based tools) should rather have a look onto our Eclipse page at [http://www.eclipse.org/graphiti www.eclipse.org/graphiti].  
 
This page contains useful information for developers working on the Graphiti framework itself. Users of the framework (building Graphiti-based tools) should rather have a look onto our Eclipse page at [http://www.eclipse.org/graphiti www.eclipse.org/graphiti].  
  
== Contents  ==
+
== Coding  ==
 
+
*Coding
+
 
+
== [[Coding]] ==
+
  
 
=== Coding Conventions  ===
 
=== Coding Conventions  ===

Revision as of 09:41, 30 June 2011

BackgroundMain.png

Graphiti - a Graphical Tooling Infrastructure

This page contains useful information for developers working on the Graphiti framework itself. Users of the framework (building Graphiti-based tools) should rather have a look onto our Eclipse page at www.eclipse.org/graphiti.

Coding

Coding Conventions

We use the standard Eclipse formatter for our coding with just one exceptional setting: the maximum line width is changed to 120. This setting can be found in the Eclipse preferences under 'Java -> Code Style -> Formatter' by editing the 'Eclipse [built-in]' profile on tab 'Line Wrapping': set the 'Maximum Line Width' in Section 'General settings' to 120.

To be sure that the formatter is really used for all your changes define your save actions (Eclipe preferences under 'Java -> Editor -> Save Actions') to include 'Format source code' with 'Format edited lines' only. Also enable the 'Organize imports' action on this page to get an automated clean-up of the import statements.