Package org.rssowl.core.Owl

Examples of org.rssowl.core.Owl.StartLevel


    fErrorStatus = errorStatus;

    boolean isOOMError = (fErrorStatus.getException() instanceof OutOfMemoryError);
    boolean isProfileLockedError = (fErrorStatus.getException() instanceof ProfileLockedException);
    boolean canUsePersistenceService = (InternalOwl.getDefault().getPersistenceService() != null);
    StartLevel startLevel = InternalOwl.getDefault().getStartLevel();
    fOfferRestorePages = !isOOMError && !isProfileLockedError && canUsePersistenceService && startLevel != StartLevel.STARTED && startLevel != StartLevel.SEARCH_INDEX_OPENED;

    /* Log State */
    if (forceAllowRestore)
      Activator.safeLogInfo("Opening Fatal Error Wizard (forced by user)"); //$NON-NLS-1$
View Full Code Here


  /**
   * @throws Exception
   */
  @Test
  public void testStartLevel() {
    StartLevel startLevel = Owl.getStartLevel();
    assertEquals(StartLevel.STARTED, startLevel);
  }
View Full Code Here

TOP

Related Classes of org.rssowl.core.Owl.StartLevel

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.