Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.m2e.editor')
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/FormUtils.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/FormUtils.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/FormUtils.java
index 06ce92ad..27f595e1 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/FormUtils.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/FormUtils.java
@@ -107,6 +107,9 @@ public abstract class FormUtils {
public static void setMessageAndTTip(final ScrolledForm form, final String message, final String ttip,
final int severity) {
+ if(form.isDisposed()) {
+ return;
+ }
form.getForm().setMessage(message, severity);
addFormTitleListeners(createDefaultPerformer(form, message, ttip, severity), form);
}

Back to the top