summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2012-08-17 15:22:01 (EDT)
committerKaren Butzke2012-08-17 15:22:01 (EDT)
commitc8ec10f23abd763bf6a3ffe83815397b987d068b (patch)
treed293c4000152636bd5a1cb80dc7b705605c6a03c
parent24bb681479ef95f9aee821c9f32c047935bec7d3 (diff)
downloadwebtools.dali-c8ec10f23abd763bf6a3ffe83815397b987d068b.zip
webtools.dali-c8ec10f23abd763bf6a3ffe83815397b987d068b.tar.gz
webtools.dali-c8ec10f23abd763bf6a3ffe83815397b987d068b.tar.bz2
avoid org.eclipse.swt.SWTException: Widget is disposed
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java
index f5f12ae..b25c28b 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/properties/JpaProjectPropertiesPage.java
@@ -728,6 +728,9 @@ public class JpaProjectPropertiesPage
}
private void updateConnectLinkText(String text) {
+ if (this.connectLink.isDisposed()) {
+ return;
+ }
this.connectLink.setText(text);
SWTUtil.reflow(this.connectLink.getParent());
}