Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-12-20 05:36:12 +0000
committerAlexander Kurtakov2016-12-20 05:36:12 +0000
commitf387d53c3d5067513f32909a00c5f32eced0db75 (patch)
treefa63b41efebad94f1f406c8403e0cb7fb40f7119 /examples
parentf6a5d972eca52bf95b1c667cbefd4fed9e7b5e87 (diff)
downloadeclipse.platform.swt-f387d53c3d5067513f32909a00c5f32eced0db75.tar.gz
eclipse.platform.swt-f387d53c3d5067513f32909a00c5f32eced0db75.tar.xz
eclipse.platform.swt-f387d53c3d5067513f32909a00c5f32eced0db75.zip
Bug 509494 - Enable multi selection for Lists in DNDExample
Change-Id: Iaf3f5afb88c16d97936facbc9afd733496110076 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/dnd/DNDExample.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/dnd/DNDExample.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/dnd/DNDExample.java
index 2eba5dcfde..ae817df8ac 100644
--- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/dnd/DNDExample.java
+++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/dnd/DNDExample.java
@@ -1179,7 +1179,7 @@ private Control createWidget(int type, Composite parent, String prefix){
return label;
}
case LIST: {
- List list = new List(parent, SWT.BORDER);
+ List list = new List(parent, SWT.BORDER|SWT.MULTI);
list.setItems(prefix+" Item a", prefix+" Item b", prefix+" Item c", prefix+" Item d");
return list;
}

Back to the top