Project

General

Profile

« Previous | Next » 

Revision a4f5eec1

Added by Andreas Müller almost 9 years ago

Renaming menu labels for new team and person

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/AgentCreator.java
31 31
public class AgentCreator implements IEntityCreator<TeamOrPersonBase> {
32 32
	private static final Logger logger = Logger.getLogger(AgentCreator.class);
33 33

  
34
	/* (non-Javadoc)
35
	 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator#createEntity(java.lang.String)
36
	 */
34

  
37 35
	/** {@inheritDoc} */
38 36
	public TeamOrPersonBase createEntity(String text) {
39 37
		// FIXME
......
43 41
		return createEntity(Person.class, text);
44 42
	}
45 43

  
46
	/* (non-Javadoc)
47
	 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator#createEntity(java.lang.Class, java.lang.String)
48
	 */
49 44
	/** {@inheritDoc} */
50 45
	public TeamOrPersonBase createEntity(Object key, String text) {
51 46
		TeamOrPersonBase teamOrPerson = null;
......
61 56
		return teamOrPerson;
62 57
	}
63 58

  
64
	/* (non-Javadoc)
65
	 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator#getClassLabelPairs()
66
	 */
67 59
	/**
68 60
	 * <p>getKeyLabelPairs</p>
69 61
	 *
......
71 63
	 */
72 64
	public Map<Object, String> getKeyLabelPairs() {
73 65
		Map<Object, String> result = new HashMap<Object, String>();
74
		result.put(Team.class, "Author Team");
75
		result.put(Person.class, "Author");
66
		result.put(Team.class, "Team");
67
		result.put(Person.class, "Person");
76 68
		return result;
77 69
	}
78 70

  

Also available in: Unified diff