Project

General

Profile

« Previous | Next » 

Revision ffa56d68

Added by Patrick Plitzner over 9 years ago

  • implemented setFocus() of all EditorParts
    • this is to avoid "java.lang.Exception: java.lang.RuntimeException: WARNING: Prevented recursive attempt to activate part"
    • either set the focus to shell or set it to the viewer used

fix for #2754

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java
195 195
     */
196 196
    @Override
197 197
    public void setFocus() {
198
        viewer.getControl().setFocus();
198 199
        //make sure to bind again if maybe in another view the conversation was unbound
199 200
        if(!conversation.isBound()){
200 201
            conversation.bind();

Also available in: Unified diff