Package org.eclipse.ui.splash

Examples of org.eclipse.ui.splash.AbstractSplashHandler


    String[] targetId = new String[1];
    for (int i = 0; i < extensions.length; i++) {
      IConfigurationElement[] children = extensions[i]
          .getConfigurationElements();
      for (int j = 0; j < children.length; j++) {
        AbstractSplashHandler handler = processElement(children[j],
            idToSplash, targetId, product);
        if (handler != null)
          return handler;

      }
View Full Code Here


  private void runStartupWithProgress(final int expectedProgressCount,
      final Runnable runnable) {
    progressCount = 0;
    final double cutoff = 0.95;

    AbstractSplashHandler handler = getSplash();
    IProgressMonitor progressMonitor = null;
    if (handler != null)
      progressMonitor = handler.getBundleProgressMonitor();
    
    if (progressMonitor == null) {
      // cannot report progress (e.g. if the splash screen is not showing)
      // fall back to starting without showing progress.
      runnable.run();
View Full Code Here

TOP

Related Classes of org.eclipse.ui.splash.AbstractSplashHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.