Fixes #2358
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / selection / PolytomousKeyNodeSelectionElement.java
1 // $Id$
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 */
10
11 package eu.etaxonomy.taxeditor.ui.selection;
12
13 import org.eclipse.swt.events.SelectionEvent;
14
15 import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
16 import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
17 import eu.etaxonomy.taxeditor.store.StoreUtil;
18 import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory;
19 import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement;
20
21 /**
22 * @author n.hoffmann
23 * @created Dec 3, 2010
24 * @version 1.0
25 */
26 public class PolytomousKeyNodeSelectionElement extends
27 AbstractSelectionElement<PolytomousKeyNode> {
28
29 public static final int DEFAULT = DELETABLE;
30
31 /**
32 *
33 * @param formFactory
34 * @param conversation
35 * @param parentElement
36 * @param labelString
37 * @param entity
38 * @param style
39 */
40 public PolytomousKeyNodeSelectionElement(CdmFormFactory formFactory,
41 ConversationHolder conversation, ICdmFormElement parentElement,
42 String labelString, PolytomousKeyNode entity, int mode, int style) {
43 super(formFactory, conversation, parentElement, labelString, entity,
44 mode, style);
45 }
46
47 /*
48 * (non-Javadoc)
49 *
50 * @see
51 * org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt
52 * .events.SelectionEvent)
53 */
54 @Override
55 public void widgetSelected(SelectionEvent e) {
56 StoreUtil.warningDialog("Not implemented yet", getClass(),
57 "This functionality is not implemented yet.");
58 }
59 }