2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.taxeditor
.editor
.view
.checklist
.edit
;
11 import org
.eclipse
.e4
.ui
.model
.application
.ui
.basic
.MPart
;
12 import org
.eclipse
.e4
.ui
.workbench
.modeling
.ISelectionListener
;
13 import org
.eclipse
.jface
.viewers
.ComboBoxViewerCellEditor
;
14 import org
.eclipse
.swt
.widgets
.Composite
;
16 import eu
.etaxonomy
.taxeditor
.model
.IPartContentHasDetails
;
19 * CdmComboBoxViewerCellEditor class.
25 public class CdmComboBoxViewerCellEditor
extends ComboBoxViewerCellEditor
implements ISelectionListener
, IPartContentHasDetails
{
27 public CdmComboBoxViewerCellEditor(Composite parent
, int style
) {
32 public void selectionChanged(MPart part
, Object selection
) {
33 System
.out
.println(selection
.toString());