Project

General

Profile

« Previous | Next » 

Revision 7df6bc1f

Added by Katja Luther almost 10 years ago

fix a warning "Prevented recursive attempt to activate part..."

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyListItem.java
18 18
import org.eclipse.swt.widgets.Label;
19 19
import org.eclipse.swt.widgets.Link;
20 20
import org.eclipse.ui.PartInitException;
21
import org.eclipse.ui.PlatformUI;
21 22
import org.eclipse.ui.forms.IFormPart;
22 23
import org.eclipse.ui.forms.IManagedForm;
23 24

  
......
222 223
	@Override
223 224
	public void setFocus() {
224 225
		// TODO Auto-generated method stub
225

  
226
		PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell().setFocus();
226 227
	}
227 228

  
228 229
	/*

Also available in: Unified diff