Examples of activate()


Examples of org.eclipse.jface.window.ToolTip.activate()

          return messageLabel.getShell().toDisplay(messageLabel.getLocation());
        }
      };
      messageLabel.setData(tooltip);
      tooltip.setPopupDelay(0);
      tooltip.activate();
    }
  }

  /**
   * Set the message text. If the message line currently displays an error,
View Full Code Here

Examples of org.eclipse.rap.rwt.internal.lifecycle.LifeCycleFactory.activate()

  @Before
  public void setUp() {
    LifeCycleFactory lifeCycleFactory = getApplicationContext().getLifeCycleFactory();
    lifeCycleFactory.configure( TestLifeCycle.class );
    lifeCycleFactory.activate();
  }

  @Test
  public void testIsSerializable() {
    assertTrue( Serializable.class.isAssignableFrom( TabrisUIEntryPoint.class ) );
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.activate()

        public Shell run() {
          return styledText.widget.getShell();
        }
      });
      SWTBotShell shell = bot.shell("", mainWindow); //$NON-NLS-1$
      shell.activate();
      log.debug("Activated quickfix shell."); //$NON-NLS-1$
      return shell;
    } catch (Exception e) {
      throw new QuickFixNotFoundException("Quickfix popup not found. Giving up.", e); //$NON-NLS-1$
    }
View Full Code Here

Examples of org.eclipse.ui.IWorkbenchPage.activate()

      IEditorReference editorRef = EditorUtils.findEditor(page.getEditorReferences(), bookmark);
      if (editorRef != null) {
        IEditorPart editor = editorRef.getEditor(false);
        if (editor instanceof FeedView) {
          ((FeedView) editor).setSelection(new StructuredSelection(news));
          page.activate(editor);
        }
      }

      /* Otherwise Open */
      else {
View Full Code Here

Examples of org.eclipse.ui.console.MessageConsole.activate()

    testCaseOpener = new TestCaseOpener(ServiceLocator.getService(LoadedSourceFileLibrary.class));

    IConsoleManager consoleManager = ConsolePlugin.getDefault().getConsoleManager();
    MessageConsole messageConsole = new MessageConsole("JSTestDriver", null);
    messageConsole.activate();
    messageConsoleStream = new MessageConsoleStream(messageConsole);
    consoleManager.addConsoles(new IConsole[] {messageConsole});
    setLayout(new GridLayout(3, true));
    GridData layoutData = new GridData();
    layoutData.grabExcessHorizontalSpace = true;
View Full Code Here

Examples of org.eclipse.ui.internal.WorkbenchPage.activate()

              IViewReference ref = persp.getViewReference(viewId, null);
              if (ref == null)
                return;

              persp.getFastViewManager().addViewReference(FastViewBar.FASTVIEWBAR_ID, -1, ref, true);
            wp.activate(ref.getPart(true));
           
            return;
            }
           
            IViewReference ref = wp.findViewReference(viewId);
View Full Code Here

Examples of org.eclipse.wb.gef.core.requests.ICreationFactory.activate()

    WidgetInfo newImage;
    {
      toolEntry.initialize(null, frame);
      CreationTool creationTool = (CreationTool) toolEntry.createTool();
      ICreationFactory creationFactory = creationTool.getFactory();
      creationFactory.activate();
      newImage = (WidgetInfo) creationFactory.getNewObject();
    }
    //
    frame.command_CREATE2(newImage, null);
    assertEditor(
View Full Code Here

Examples of org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker.activate()

  /** {@inheritDoc} */
  @Override public void register(OutlinePage outlinePage) {
    addPropertyChangeListener();
    OutlineWithEditorLinker outlineWithEditorLinker = outlineWithEditorLinkerProvider.get();
    outlineWithEditorLinker.activate(outlinePage);
    getPreferenceStoreAccess().getPreferenceStore().addPropertyChangeListener(outlineWithEditorLinker);
    outlineWithEditorLinker.setLinkingEnabled(true);
    page2linker.put(outlinePage, outlineWithEditorLinker);
  }

View Full Code Here

Examples of org.ejbca.core.model.ca.catoken.CATokenContainer.activate()

        hardcatokeninfo.setSignatureAlgorithm(signatureAlgorithm);

        CATokenInfo catokeninfo = hardcatokeninfo;
        CATokenContainer catoken = new CATokenContainerImpl(catokeninfo, CertTools.stringToBCDNString(
                StringTools.strip(CertTools.getSubjectDN(signatureCertChain[0]))).hashCode());
        catoken.activate(catokenpassword);

        String keyAlgorithm = AlgorithmConstants.KEYALGORITHM_RSA;
        String keySpecification = "2048";
        // Do the general import
        importCA(admin, caname, catokenpassword, signatureCertChain, catoken, keyAlgorithm, keySpecification);
View Full Code Here

Examples of org.ejbca.core.model.ca.catoken.CATokenContainerImpl.activate()

                logSession.log(admin, admin.getCaId(), LogConstants.MODULE_CA, new java.util.Date(), null, null, LogConstants.EVENT_ERROR_CACREATED, msg, e);
                throw new EJBException(e);
            }
        }
        try {
            catoken.activate(authCode);
        } catch (CATokenAuthenticationFailedException ctaf) {
            String msg = intres.getLocalizedMessage("caadmin.errorcreatetokenpin");
            logSession.log(admin, admin.getCaId(), LogConstants.MODULE_CA, new java.util.Date(), null, null, LogConstants.EVENT_ERROR_CACREATED, msg, ctaf);
            throw ctaf;
        } catch (CATokenOfflineException ctoe) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.