c18d397be4a1c70b74517e0f507cec3ad804c39c
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / editor / definedterm / input / AbstractDefinedTermEditorInput.java
1 // $Id$
2 /**
3 * Copyright (C) 2009 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 package eu.etaxonomy.taxeditor.editor.definedterm.input;
11
12 import java.util.List;
13
14 import org.eclipse.jface.resource.ImageDescriptor;
15 import org.eclipse.ui.IEditorInput;
16 import org.eclipse.ui.IPersistableElement;
17
18 import eu.etaxonomy.cdm.model.common.DefinedTermBase;
19
20 /**
21 * @author l.morris
22 * @date 3 Jan 2012
23 *
24 */
25 public abstract class AbstractDefinedTermEditorInput<T extends DefinedTermBase> implements IEditorInput {
26
27 /**
28 *
29 */
30 public AbstractDefinedTermEditorInput() {
31 super();
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 }