3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.editor
.definedterm
.input
;
12 import java
.util
.Arrays
;
13 import java
.util
.List
;
15 import eu
.etaxonomy
.cdm
.model
.description
.State
;
22 public class StateEditorInput
extends AbstractDefinedTermEditorInput
<State
> {
24 private List
<String
> termClasses
= Arrays
.asList(new String
[]{
29 * @see org.eclipse.ui.IEditorInput#getName()
32 public String
getName() {
37 * @see eu.etaxonomy.taxeditor.editor.definedterm.input.AbstractDefinedTermEditorInput#getTermClasses()
40 public List
<String
> getTermClasses() {
45 * @see eu.etaxonomy.taxeditor.editor.definedterm.input.AbstractDefinedTermEditorInput#createTermInstance()
48 public State
createTermInstance() {
49 return State
.NewInstance();