Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Nebula Duallist
Revision as of 05:14, 14 February 2018 by Laurent.caron.gmail.com (Talk | contribs) (Created page with "==Introduction== File:Duallist.jpg This widget allows the user to select one or many elements, and order them. ==Usage== The usage is pretty simple, because the API i...")
Contents
Introduction
This widget allows the user to select one or many elements, and order them.
Usage
The usage is pretty simple, because the API is very similar to the List API. You can easily add or remove one or many elements, select one or many elements, clear the widget or add selection listener(s).
The widget displays DLItems
DLItem
A DLItem is a POJO where you can get/set
- A text
- An image
- A background color
- A foreground color
- Data
Example
Examples are available in the plug-in org.eclipse.nebula.widgets.opal.duallist.snippets.
These examples are also available here:
- https://git.eclipse.org/c/nebula/org.eclipse.nebula.git/tree/widgets/opal/duallist/org.eclipse.nebula.widgets.opal.duallist.snippets/src/org/eclipse/nebula/widgets/opal/duallist/snippets/DualListSnippet.java%7Chttps://git.eclipse.org/c/nebula/org.eclipse.nebula.git/tree/widgets/opal/duallist/org.eclipse.nebula.widgets.opal.duallist.snippets/src/org/eclipse/nebula/widgets/opal/duallist/snippets/DualListSnippet.java
- https://git.eclipse.org/c/nebula/org.eclipse.nebula.git/tree/widgets/opal/duallist/org.eclipse.nebula.widgets.opal.duallist.snippets/src/org/eclipse/nebula/widgets/opal/duallist/snippets/DualListTextSnippet.java%7Chttps://git.eclipse.org/c/nebula/org.eclipse.nebula.git/tree/widgets/opal/duallist/org.eclipse.nebula.widgets.opal.duallist.snippets/src/org/eclipse/nebula/widgets/opal/duallist/snippets/DualListTextSnippet.java