diff options
-rw-r--r-- | common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/widgets/Pane.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/widgets/Pane.java b/common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/widgets/Pane.java index d3f7ffef59..e993a82b32 100644 --- a/common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/widgets/Pane.java +++ b/common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/widgets/Pane.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2010 Oracle. All rights reserved. + * Copyright (c) 2008, 2012 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0, which accompanies this distribution * and is available at http://www.eclipse.org/legal/epl-v10.html. @@ -649,7 +649,7 @@ public abstract class Pane<T extends Model> button.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { - SWTUtil.asyncExec(buttonAction); + buttonAction.run(); } }); @@ -1141,7 +1141,7 @@ public abstract class Pane<T extends Model> Hyperlink hyperLink = (Hyperlink) e.widget; if (hyperLink.isEnabled()) { - SWTUtil.asyncExec(hyperLinkAction); + hyperLinkAction.run(); } } }); @@ -2506,7 +2506,7 @@ public abstract class Pane<T extends Model> button.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { - SWTUtil.asyncExec(buttonAction); + buttonAction.run(); } }); |