Project

General

Profile

« Previous | Next » 

Revision e153d114

Added by Andreas Müller over 6 years ago

ref #6595 fix never ending details view rendering

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/AbstractGroupedContainerE4.java
505 505
			        return;
506 506
			    }
507 507

  
508
				for (AbstractGroupedContainerE4 container : getEditor()
508
				for (AbstractGroupedContainerE4<?> container : getEditor()
509 509
						.getGroupedContainers()) {
510 510
					container.colorSelected(NOT_SELECTED);
511 511
				}
......
592 592
                    // my code goes here
593 593
                    Thread.sleep(1000);
594 594
                    if(!stop){
595
                        display.syncExec(new Runnable() {
596
                            @Override
597
                            public void run() {
595
                        display.syncExec(() -> {
598 596
                                getEditor().getManagedForm().setInput(selection);
599
                            }
600 597
                        });
598
                        stop = true;
601 599
                    }
602 600
                } catch (InterruptedException ex) {
603 601
                    stop = true;

Also available in: Unified diff