Project

General

Profile

Revision f77d2f87

IDf77d2f873dc288fb759855d48042025243b7d26b
Parent 925ee68c
Child c3d0aff1

Added by Andreas Kohlbecker almost 9 years ago

restoring ModifierEditorInput.java

View differences:

.gitattributes
1064 1064
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/ExtensionTypeEditorInput.java -text
1065 1065
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/FeatureEditorInput.java -text
1066 1066
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/MarkerTypeEditorInput.java -text
1067
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/ModifierEditorInput.java -text
1067 1068
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/NamedAreaEditorInput.java -text
1068 1069
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/NamedAreaLevelEditorInput.java -text
1069 1070
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/StateEditorInput.java -text
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/input/ModifierEditorInput.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.Arrays;
13
import java.util.List;
14

  
15
import eu.etaxonomy.cdm.model.description.Modifier;
16

  
17

  
18
/**
19
 * @author n.hoffmann
20
 * @date Jan 24, 2012
21
 *
22
 */
23
public class ModifierEditorInput extends AbstractDefinedTermEditorInput<Modifier> {
24

  
25
	private List<String> termClasses = Arrays.asList(new String[]{
26
			Modifier.class.getName()
27
	});
28
	
29
	/* (non-Javadoc)
30
	 * @see org.eclipse.ui.IEditorInput#getName()
31
	 */
32
	@Override
33
	public String getName() {
34
		return "Modifier";
35
	}
36

  
37
	/* (non-Javadoc)
38
	 * @see eu.etaxonomy.taxeditor.editor.definedterm.input.AbstractDefinedTermEditorInput#getTermClasses()
39
	 */
40
	@Override
41
	public List<String> getTermClasses() {
42
		return termClasses;
43
	}
44

  
45
	/* (non-Javadoc)
46
	 * @see eu.etaxonomy.taxeditor.editor.definedterm.input.AbstractDefinedTermEditorInput#createTermInstance()
47
	 */
48
	@Override
49
	public Modifier createTermInstance() {
50
		return Modifier.NewInstance();
51
	}
52

  
53
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)