Project

General

Profile

Download (1.33 KB) Statistics
| Branch: | Tag: | Revision:
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
import eu.etaxonomy.taxeditor.editor.CdmEntitySessionInput;
20

    
21
/**
22
 * @author l.morris
23
 * @date 3 Jan 2012
24
 *
25
 */
26
public abstract class AbstractDefinedTermEditorInput<T extends DefinedTermBase> extends CdmEntitySessionInput implements IEditorInput {
27

    
28
	/**
29
	 *
30
	 */
31
	public AbstractDefinedTermEditorInput() {
32
		super(true);
33
	}
34

    
35
	@Override
36
	public Object getAdapter(Class adapter) {
37
		return null;
38
	}
39

    
40
	@Override
41
	public boolean exists() {
42
		return false;
43
	}
44

    
45
	@Override
46
	public ImageDescriptor getImageDescriptor() {
47
		return null;
48
	}
49

    
50
	@Override
51
	public IPersistableElement getPersistable() {
52
		return null;
53
	}
54

    
55
	@Override
56
	public String getToolTipText() {
57
		return getName();
58
	}
59

    
60
	/**
61
	 * @return
62
	 */
63
	public abstract List<String> getTermClasses();
64

    
65

    
66
}
(1-1/2)