Project

General

Profile

« Previous | Next » 

Revision b04853ae

Added by Katja Luther over 5 years ago

ref #6163: in occurence bulk editor it is possible to add media

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditor.java
44 44
import eu.etaxonomy.taxeditor.annotatedlineeditor.LineAnnotation;
45 45
import eu.etaxonomy.taxeditor.annotatedlineeditor.LineAnnotationModel;
46 46
import eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput;
47
import eu.etaxonomy.taxeditor.bulkeditor.input.OccurrenceEditorInput;
47 48
import eu.etaxonomy.taxeditor.bulkeditor.input.TaxonEditorInput;
48 49
import eu.etaxonomy.taxeditor.model.IDerivedUnitFacadePart;
49 50
import eu.etaxonomy.taxeditor.model.IDirtyMarkable;
......
338 339

  
339 340
	@Override
340 341
	public boolean canAttachMedia() {
341
	    return getEditorInput() instanceof TaxonEditorInput?true:false;
342
	    return (getEditorInput() instanceof TaxonEditorInput || getEditorInput() instanceof OccurrenceEditorInput) ?true:false;
342 343
	}
343 344

  
344 345
    public IUndoContext getUndoContext() {

Also available in: Unified diff