Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2011-07-12 04:29:21 -0400
committerMarkus Tiede2011-07-12 04:29:21 -0400
commit571d561e54fb804e1d1e0fd6b2494d79d45bd6d2 (patch)
tree30f008937a4ed08463cd3fac1880a9bbcfaa1900
parent41c1af176fe874ca614603ed09be4a5993af4ff4 (diff)
downloadorg.eclipse.jubula.core-indigo.tar.gz
org.eclipse.jubula.core-indigo.tar.xz
org.eclipse.jubula.core-indigo.zip
Applied changeset 570b6139b3d75d8ac5cef136c15f31c3a05d309d on indigo branch.indigo
-rw-r--r--org.eclipse.jubula.rc.rcp/src/org/eclipse/jubula/rc/rcp/accessor/Startup.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/org.eclipse.jubula.rc.rcp/src/org/eclipse/jubula/rc/rcp/accessor/Startup.java b/org.eclipse.jubula.rc.rcp/src/org/eclipse/jubula/rc/rcp/accessor/Startup.java
index 51c5db46d..95980ad6f 100644
--- a/org.eclipse.jubula.rc.rcp/src/org/eclipse/jubula/rc/rcp/accessor/Startup.java
+++ b/org.eclipse.jubula.rc.rcp/src/org/eclipse/jubula/rc/rcp/accessor/Startup.java
@@ -485,11 +485,7 @@ public class Startup implements IStartup {
// hierarchy to notice the change.
Shell shell = PlatformUI.getWorkbench()
.getActiveWorkbenchWindow().getShell();
- Event activateEvent = new Event();
- activateEvent.time = (int)System.currentTimeMillis();
- activateEvent.type = SWT.Activate;
- activateEvent.widget = shell;
- shell.notifyListeners(SWT.Activate, activateEvent);
+ repaintToolbars(shell);
}
}
@@ -609,7 +605,7 @@ public class Startup implements IStartup {
*
* @param mainShell The shell to search for Coolbars and Toolbars.
*/
- private void repaintToolbars(Shell mainShell) {
+ public static void repaintToolbars(Shell mainShell) {
List toolbarList = new ArrayList();
getToolbars(mainShell, toolbarList);
Iterator iter = toolbarList.iterator();
@@ -630,7 +626,7 @@ public class Startup implements IStartup {
* @param toolbarList The list to which found Toolbars and Coolbars will
* be added.
*/
- private void getToolbars(Composite composite,
+ public static void getToolbars(Composite composite,
List toolbarList) {
if (composite != null && !composite.isDisposed()) {

Back to the top