Revision ec4e915f
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPart.java | ||
---|---|---|
93 | 93 |
|
94 | 94 |
@Override |
95 | 95 |
public void run() { |
96 |
|
|
97 |
isInDelay = false; |
|
98 |
|
|
96 | 99 |
//multiple selections are not supported |
97 | 100 |
if(activePart != null |
98 | 101 |
&& thisPart != null |
... | ... | |
126 | 129 |
|| previousSelection.equals(selection) |
127 | 130 |
|| new StructuredSelection(selection).equals(previousSelection)) |
128 | 131 |
) { |
129 |
isInDelay = false; |
|
130 | 132 |
return; |
131 | 133 |
} |
132 | 134 |
|
... | ... | |
137 | 139 |
} |
138 | 140 |
finally{ |
139 | 141 |
previousSelection = selection; |
140 |
isInDelay = false; |
|
141 |
} |
|
142 |
} |
|
142 | 143 |
} |
143 | 144 |
|
144 | 145 |
public synchronized void setSelection(Object selection) { |
Also available in: Unified diff
ref #10186 fix incorrect isInDelay handling in SelectionDelay