Revision f561b00c
Added by Niels Hoffmann almost 13 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/PolytomousKeyNodeSelectionElement.java | ||
---|---|---|
1 | 1 |
// $Id$ |
2 | 2 |
/** |
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
3 |
* Copyright (C) 2007 EDIT
|
|
4 |
* European Distributed Institute of Taxonomy
|
|
5 |
* http://www.e-taxonomy.eu
|
|
6 |
*
|
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms.
|
|
9 |
*/
|
|
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.taxeditor.ui.selection; |
12 | 12 |
|
... | ... | |
22 | 22 |
* @created Dec 3, 2010 |
23 | 23 |
* @version 1.0 |
24 | 24 |
*/ |
25 |
public class PolytomousKeyNodeSelectionElement extends AbstractSelectionElement<PolytomousKeyNode> { |
|
25 |
public class PolytomousKeyNodeSelectionElement extends |
|
26 |
AbstractSelectionElement<PolytomousKeyNode> { |
|
27 |
|
|
28 |
public static final int DEFAULT = DELETABLE; |
|
26 | 29 |
|
27 | 30 |
/** |
28 | 31 |
* |
... | ... | |
35 | 38 |
*/ |
36 | 39 |
public PolytomousKeyNodeSelectionElement(CdmFormFactory formFactory, |
37 | 40 |
ConversationHolder conversation, ICdmFormElement parentElement, |
38 |
String labelString, PolytomousKeyNode entity, int style) { |
|
41 |
String labelString, PolytomousKeyNode entity, int mode, int style) {
|
|
39 | 42 |
super(formFactory, conversation, parentElement, labelString, entity, |
40 |
false, false, true, style);
|
|
43 |
mode, style);
|
|
41 | 44 |
} |
42 | 45 |
|
43 |
/* (non-Javadoc) |
|
44 |
* @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent) |
|
46 |
/* |
|
47 |
* (non-Javadoc) |
|
48 |
* |
|
49 |
* @see |
|
50 |
* org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt |
|
51 |
* .events.SelectionEvent) |
|
45 | 52 |
*/ |
46 | 53 |
@Override |
47 | 54 |
public void widgetSelected(SelectionEvent e) { |
48 |
|
|
55 |
|
|
49 | 56 |
} |
50 | 57 |
|
51 | 58 |
} |
Also available in: Unified diff
Refactoring selection elements so they can be configured