Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2012-01-17 21:33:34 +0000
committerkmoore2012-01-17 21:33:34 +0000
commit0a6ce2418193a2ecff55cf75749e379dfda42c5a (patch)
tree0950f516454a4e68a3599275bfb47d9247295687 /common/plugins
parent748b536d80d33d72c385a788e2551cf37f4b60de (diff)
downloadwebtools.dali-0a6ce2418193a2ecff55cf75749e379dfda42c5a.tar.gz
webtools.dali-0a6ce2418193a2ecff55cf75749e379dfda42c5a.tar.xz
webtools.dali-0a6ce2418193a2ecff55cf75749e379dfda42c5a.zip
bug 368451 - browse buttons have a delay so you can press them multiple times
Diffstat (limited to 'common/plugins')
-rw-r--r--common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/widgets/Pane.java8
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();
}
});

Back to the top