2 * Copyright (C) 2009 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
.definedterm
.input
;
11 import java
.util
.List
;
13 import org
.eclipse
.jface
.resource
.ImageDescriptor
;
14 import org
.eclipse
.ui
.IEditorInput
;
15 import org
.eclipse
.ui
.IPersistableElement
;
17 import eu
.etaxonomy
.cdm
.model
.common
.DefinedTermBase
;
18 import eu
.etaxonomy
.taxeditor
.editor
.CdmEntitySessionInput
;
25 public abstract class AbstractDefinedTermEditorInput
<T
extends DefinedTermBase
> extends CdmEntitySessionInput
implements IEditorInput
{
30 public AbstractDefinedTermEditorInput() {
35 public Object
getAdapter(Class adapter
) {
40 public boolean exists() {
45 public ImageDescriptor
getImageDescriptor() {
50 public IPersistableElement
getPersistable() {
55 public String
getToolTipText() {
62 public abstract List
<String
> getTermClasses();