import org.eclipse.ui.texteditor.AbstractDocumentProvider;
import eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput;
-import eu.etaxonomy.taxeditor.dataimport.DerivedUnitEditorInput;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
private ILineDisplayStrategy lineDisplayStrategy;
- private IEditorInput input;
+ private final IEditorInput input;
/**
* <p>Constructor for AnnotatedLineDocumentProvider.</p>
if (element instanceof AbstractBulkEditorInput) {
return ((AbstractBulkEditorInput)element).getModel();
}
- else if(element instanceof DerivedUnitEditorInput){
- return ((DerivedUnitEditorInput) element).getResults();
- }
return null;
}