Skip to main content

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.

Jump to: navigation, search

Nebula Gallery Explained

Revision as of 13:40, 20 July 2008 by Unnamed Poltroon (Talk) (Renderers)

The Nebula Gallery widget


Model

Gallery is the main widget, which can contain 2 levels of items (GalleryItem). First level ones are called groups and are drawn by the GroupRenderer. Others are items and drawn by the Item Renderer.

The widget draws group one after another, either vertically or horizontally (and never both).


Gallery-groups.png

Renderers

The Gallery widget comes with 4 renderers  :

Groups renderers : DefaultGroupRenderer, NoGroupRenderer Item renderers : DefaultItemRenderer, ListItemRenderer

New renderers can easily be created to add new behaviors and styles.

Drag and Drop

The Gallery Widget supports drag and drop and provides a dedicated drag and drop effect. GalleryDragSourceEffect

Back to the top