blob: 8989ecfc1b47b6bc4917cd1ea18b82ffef807746 [file] [log] [blame]
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/"); require_once($_SERVER['DOCUMENT_ROOT'] . "/"); require_once($_SERVER['DOCUMENT_ROOT'] . "/"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
* Copyright (c) 2010
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* Contributors:
$pageTitle = "Draw2d";
$html = <<<EOHTML
<div id="midcolumn">
<p>Draw2d is a layout and rendering toolkit building on top of SWT. It may be used standalone (outside of Eclipse) or in combination with the GEF or Zest component.</p>
<img class="displayed" width="250" src="/gef/draw2d/images/Class_Diagram_Example.png" alt="GEF Snapshots" border="0"/>
<p>Draw2d is a lightweight toolkit for displaying graphical components on an SWT Canvas. Lightweight means that all
graphical components, which are called <i>figures</i> in Draw2d, are simply java objects, with no corresponding resource
in the operating system.
A LightweightSystem associates a figure composition with an SWT Canvas. It hooks listeners for most SWT events, and forwards
most of them to an EventDispatcher, which translates them into events on the appropriate figure. Paint events
are forwarded from the figures to an UpdateManager, which coordinates painting and layouting on the canvas.
Figures can be composed via a parent-child relationship. Every figure has a rectangular bounds inside which it,
and its children, paint. A layout manager can be used to place children based on their index and/or constraint.
Figures can be updated in ways which affect their appearance or size, and the update manager ensures that only one
layout occurs, followed by a repaint of only the region which was updated.
Any type of diagram, document, or drawing can be easily constructed and efficiently updated by combining the provided
figure and layout implementations along with the use of custom figures or layouts when needed.
<li>Efficient layout and rendering support</li>
<li>Various figure and layout implementations</li>
<li>Cursors and Tooltip support</li>
<li>Connection anchoring, routing, and decorating</li>
<li>Multiple, transparent layers</li>
<li>Flexible coordinate systems</li>
<li>Overview window (thumbnail with scrolling)</li>
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);