Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
kernel
Commits
aadb1b05
Commit
aadb1b05
authored
Jun 08, 2016
by
Simon Barner
Browse files
- Make disposed() synchronized (as in super class)
parent
b8443ae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/annotation/view/generic/GenericAnnotationView.java
View file @
aadb1b05
...
...
@@ -79,7 +79,7 @@ import org.fortiss.tooling.base.ui.annotation.view.generic.filter.AnnotationFilt
* @author eder, diewald, barner
* @author $Author$
* @version $Rev$
* @ConQAT.Rating
GREEN
Hash:
E2E53108D4A685762999DA9FFD10C0D7
* @ConQAT.Rating
YELLOW
Hash:
20B02B59811C764AEE63BC45A9279241
*/
public
class
GenericAnnotationView
extends
AnnotationViewPartBase
{
/** Root composite of {@link GenericAnnotationView}. */
...
...
@@ -273,7 +273,8 @@ public class GenericAnnotationView extends AnnotationViewPartBase {
super
.
update
(
modelElement
);
// ensure that selected model element is visible in annotation view
AnnotationEntry
entry
=
IAnnotationValueService
.
getInstance
().
getAnnotationEntry
(
modelElement
);
AnnotationEntry
entry
=
IAnnotationValueService
.
getInstance
().
getAnnotationEntry
(
modelElement
);
assert
(
entry
.
getModelElement
()
==
modelElement
);
tableViewer
.
reveal
(
entry
);
...
...
@@ -560,7 +561,7 @@ public class GenericAnnotationView extends AnnotationViewPartBase {
/** {@inheritDoc} */
@Override
public
void
dispose
()
{
public
synchronized
void
dispose
()
{
tableViewer
.
getTable
().
dispose
();
super
.
dispose
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment