[94615] added app client wizard: committed for JL
diff --git a/plugins/org.eclipse.wst.common.frameworks.ui/wtp_ui/org/eclipse/wst/common/frameworks/internal/datamodel/ui/DataModelSynchHelper.java b/plugins/org.eclipse.wst.common.frameworks.ui/wtp_ui/org/eclipse/wst/common/frameworks/internal/datamodel/ui/DataModelSynchHelper.java
index 46414f4..33a16ef 100644
--- a/plugins/org.eclipse.wst.common.frameworks.ui/wtp_ui/org/eclipse/wst/common/frameworks/internal/datamodel/ui/DataModelSynchHelper.java
+++ b/plugins/org.eclipse.wst.common.frameworks.ui/wtp_ui/org/eclipse/wst/common/frameworks/internal/datamodel/ui/DataModelSynchHelper.java
@@ -209,7 +209,7 @@
*/
public void synchUIWithModel(final String propertyName, final int flag) {
if (null != propertyToWidgetHash && propertyToWidgetHash.containsKey(propertyName)) {
- Display.getCurrent().syncExec(new Runnable() {
+ Display.getDefault().syncExec(new Runnable() {
public void run() {
try {
currentWidget = (Widget) propertyToWidgetHash.get(propertyName);
@@ -254,7 +254,7 @@
private void setEnablement(final String propertyName, final boolean enabled) {
if (propertyToWidgetHash != null) {
- Display.getCurrent().syncExec(new Runnable() {
+ Display.getDefault().syncExec(new Runnable() {
public void run() {
Control control = (Control) propertyToWidgetHash.get(propertyName);
if (control != null) {