Project

General

Profile

« Previous | Next » 

Revision 2443233c

Added by Patrick Plitzner over 6 years ago

ref #6905, #6597 viewer handling

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmDataViewerE4.java
118 118
	@Override
119 119
	public void setInput(Object input) {
120 120
		this.input = input;
121
		// reset selection
122
		setSelection(new StructuredSelection(input));
123
		refresh();
121
		if(input!=null){
122
		    // reset selection
123
		    setSelection(new StructuredSelection(input));
124
		    refresh();
125
		}
124 126
	}
125 127

  
126 128
	/** {@inheritDoc} */

Also available in: Unified diff