Merge branch 'develop' into LibrAlign
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / editor / definedterm / input / AbstractDefinedTermEditorInput.java
1 /**
2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
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.
8 */
9 package eu.etaxonomy.taxeditor.editor.definedterm.input;
10
11 import java.util.List;
12
13 import org.eclipse.jface.resource.ImageDescriptor;
14 import org.eclipse.ui.IEditorInput;
15 import org.eclipse.ui.IPersistableElement;
16
17 import eu.etaxonomy.cdm.model.common.DefinedTermBase;
18 import eu.etaxonomy.taxeditor.editor.CdmEntitySessionInput;
19
20 /**
21 * @author l.morris
22 * @date 3 Jan 2012
23 *
24 */
25 public abstract class AbstractDefinedTermEditorInput<T extends DefinedTermBase> extends CdmEntitySessionInput implements IEditorInput {
26
27 /**
28 *
29 */
30 public AbstractDefinedTermEditorInput() {
31 super(true);
32 }
33
34 @Override
35 public Object getAdapter(Class adapter) {
36 return null;
37 }
38
39 @Override
40 public boolean exists() {
41 return false;
42 }
43
44 @Override
45 public ImageDescriptor getImageDescriptor() {
46 return null;
47 }
48
49 @Override
50 public IPersistableElement getPersistable() {
51 return null;
52 }
53
54 @Override
55 public String getToolTipText() {
56 return getName();
57 }
58
59 /**
60 * @return
61 */
62 public abstract List<String> getTermClasses();
63
64
65 }