diff options
author | Goulwen Le Fur | 2012-12-10 14:35:34 +0000 |
---|---|---|
committer | Goulwen Le Fur | 2012-12-10 14:35:34 +0000 |
commit | cc3346717e528407e1f0b373843c36208ae8cd48 (patch) | |
tree | c0c87bd346a02ddd56372745cf2c2cac10e25da9 /plugins/org.eclipse.emf.eef.runtime | |
parent | 6af429c78aeb6203275622665b5f1bca8f7875b0 (diff) | |
download | org.eclipse.eef-cc3346717e528407e1f0b373843c36208ae8cd48.tar.gz org.eclipse.eef-cc3346717e528407e1f0b373843c36208ae8cd48.tar.xz org.eclipse.eef-cc3346717e528407e1f0b373843c36208ae8cd48.zip |
FIXED: NPE prevented
Diffstat (limited to 'plugins/org.eclipse.emf.eef.runtime')
-rw-r--r-- | plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/impl/components/StandardPropertiesEditionComponent.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/impl/components/StandardPropertiesEditionComponent.java b/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/impl/components/StandardPropertiesEditionComponent.java index 56db2218f..760fe6fdc 100644 --- a/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/impl/components/StandardPropertiesEditionComponent.java +++ b/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/impl/components/StandardPropertiesEditionComponent.java @@ -146,7 +146,9 @@ public abstract class StandardPropertiesEditionComponent implements IPropertiesE @Override public void runUpdateRunnable(Notification notification) { - if (!getPart().getFigure().isDisposed()) { + if (getPart() != null + && getPart().getFigure() != null + && !getPart().getFigure().isDisposed()) { updatePart(notification); } else { dispose(); |