/*******************************************************************************
 * Caleydo - Visualization for Molecular Biology - http://caleydo.org
 * Copyright (c) The Caleydo Team. All rights reserved.
 * Licensed under the new BSD license, available at http://caleydo.org/license
 ******************************************************************************/
package org.caleydo.core.startup;

import org.caleydo.core.manager.GeneralManager;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.internal.splash.EclipseSplashHandler;

/**
 * Caleydo splash screen with integrated progress bar.
 *
 * @author Marc Streit
 */
@SuppressWarnings("restriction")
public class InteractiveSplashHandler extends EclipseSplashHandler {

	@Override
	public void init(Shell splash) {
		super.init(splash);

		GeneralManager.get().setSplashProgressMonitor(this.getBundleProgressMonitor());
	}
}
@@ -470,68 +470,203 @@
 swt.
-widgets.Shell;%0Aimport org.eclipse.ui.internal.splash.Eclipse
+SWT;%0Aimport org.eclipse.swt.graphics.RGB;%0Aimport org.eclipse.swt.graphics.Rectangle;%0Aimport org.eclipse.swt.widgets.Label;%0Aimport org.eclipse.swt.widgets.Shell;%0Aimport org.eclipse.ui.splash.Basic
 Spla
@@ -773,42 +773,8 @@
 %0A */
-%0D%0A@SuppressWarnings(%22restriction%22)
 %0Apub
@@ -820,15 +820,13 @@
 nds 
-Eclipse
+Basic
 Spla
@@ -907,16 +907,454 @@
 lash);%0A%0A
+%09%09setProgressRect(new Rectangle(20, 200, splash.getSize().x-40, 25));%0A%09%09setMessageRect(new Rectangle(20, 230,splash.getSize().x-40, 25));%0A%09%09setForeground(new RGB(255, 255, 255));%0A%0A%09%09Label idLabel = new Label(getContent(), SWT.LEFT);%0A%09%09idLabel.setForeground(getForeground());%0A%09%09idLabel.setBounds(new Rectangle(splash.getSize().x-80, 185, 80, 18));%0A%09%09idLabel.setText(%22Version %22 + GeneralManager.VERSION);%0A%0A%0A%09%09// public the progress monitor%0A
 %09%09Genera

simplify splash handler