blob: 3a2bbf3b77ec082f7049660d34c2ad9c7dc2da25 [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'
# contrib_tiers.php
# Author: Nicolas Richeton
# Date: 2007-02-20
# Description: Describes the tiers in Nebula.
# Begin: page-specific settings. Change these.
$pageTitle = "Nebula Gallery Widget";
$pageKeywords = "Nebula, SWT, Widgets, Controls";
$pageAuthor = "Nicolas Richeton";
# Add page-specific Nav bars here
# Format is Link text, link URL (can be, target (_self, _blank), level (1, 2 or 3)
# $Nav->addNavSeparator("My Page Links", "downloads.php");
# $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
# $Nav->addCustomNav("Google", "", "_blank", 3);
# End: page-specific settings
# Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<div id="midcolumn">
<p>This SWT widget displays images or items in a grid-like presentation.
Gallery is very useful to display images in a photo viewer or files in an explorer-like view.</p>
<li>Tree and Table based API : Gallery is a drop-in replacement of Table and Tree (except columns which are not supported and 2 item levels limitation).
<li>Fully customizable appearance : Gallery uses pluggable renderers for groups and items.
2 items renderers and 2 group renderers are available out of the box,
but you are free to totally change item ordering and appearance. Custom paint events are also available to inject item drawing code.</li>
<li>Designed for speed : SWT.VIRTUAL supported, layout and drawing supports TONS of items at full speed.</li>
<li>Photo specific features : drop shadow, dynamic drawing quality<, real-time item resizing</li>
<li>JFace viewer : drop-in replacement for TableViewer and TreeViewer</li>
<li>Animation : smooth visual effects on all platforms including Bounce and Elastic effects. Animation API can be used to animate RCP applications.</li>
<li>Decorators : built-in decorator support for best results with large images and dynamic size</li>
<img src='images/gallery.jpg'>
<p>TRY IT : The best way to play with all Gallery features is to install the <a href='/nebula/examples.php'>Nebula Examples</a>.</p>
QUICK START : Look at the <a href='/nebula/snippets.php#Gallery'>Snippets</a>. Other snippets are available on <a href="/nebula/source.php">git</a>.
<a href=''>Github Issues</a>
<a href=''>Update History (bugzilla search)</a>
<hr class="clearer"/>
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);