Project

General

Profile

« Previous | Next » 

Revision 381bdda4

Added by Patrick Plitzner over 6 years ago

ref #6913 Remove IEditorInput dependency from bulk editor input

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/NameEditorInput.java
50 50
		return instance;
51 51
	}
52 52

  
53
	/**
54
	 * <p>getName</p>
55
	 *
56
	 * @return a {@link java.lang.String} object.
57
	 */
58
	@Override
53
    @Override
59 54
    public String getName() {
60 55
		return BulkEditorInputType.NAME.label;
61 56
	}
62 57

  
63
	/**
64
	 * <p>getToolTipText</p>
65
	 *
66
	 * @return a {@link java.lang.String} object.
67
	 */
68
	@Override
69
    public String getToolTipText() {
70
		return getName();
71
	}
72

  
73 58
	/**
74 59
	 * <p>getID</p>
75 60
	 *
......
91 76
	/** {@inheritDoc} */
92 77
	@Override
93 78
	public List listEntities(IIdentifiableEntityServiceConfigurator configurator) {
94
		
79

  
95 80
		configurator.setPropertyPaths(getPropertyPaths());
96 81
		return CdmStore.getSearchManager().findNames(configurator, this.getConversation());
97 82
	}
......
109 94
		if (config instanceof NameDeletionConfigurator){
110 95
			nameConfig = (NameDeletionConfigurator) config;
111 96
		} else{
112
			
97

  
113 98
		}
114 99
		return CdmStore.getService(INameService.class).delete(entity.getUuid(), nameConfig) != null;
115 100
	}
116
	
101

  
117 102
	/** {@inheritDoc} */
118 103
	@Override
119 104
    public TaxonName save(TaxonName entity) {
120 105
		TaxonName mergedName = null;
121 106
		mergedName =  CdmStore.getService(INameService.class).merge(entity, true).getMergedEntity();
122 107
	   	return mergedName;
123
		
108

  
124 109
	}
125 110

  
126 111
	@Override
......
173 158
         "name.relationsToThisName",
174 159
         "name.homotypicalGroup.typifiedNames.taxonBases.synonymRelations.synonym.name.status",
175 160
         "name.homotypicalGroup.typifiedNames.relationsToThisName.fromName"});
176
    	 
161

  
177 162
    	 return nameBasePropertyPaths;
178 163
    }
179 164

  

Also available in: Unified diff