Examples of create()


Examples of org.rssowl.ui.internal.actions.NavigationActionFactory.create()

      delayInUI(new Runnable() {
        public void run() {
          NavigationActionFactory factory = new NavigationActionFactory();
          try {
            factory.setInitializationData(null, null, NavigationActionFactory.NavigationActionType.NEXT_FEED.getId());
            IWorkbenchWindowActionDelegate action = (IWorkbenchWindowActionDelegate) factory.create();
            action.run(null);
          } catch (CoreException e) {
            /* Ignore */
          }
        }

Examples of org.rssowl.ui.internal.dialogs.CustomWizardDialog.create()

      protected int getDialogBoundsStrategy() {
        return DIALOG_PERSISTSIZE;
      }
    };
    dialog.setMinimumPageSize(0, 0);
    dialog.create();
    dialog.open();
  }

  /*
   * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)

Examples of org.rythmengine.internal.parser.build_in.KeywordParserFactory.create()

                    f = keywords2.get(r);
                    break;
                }
            }
        }
        return null == f ? null : f.create(context);
    }

    public Iterable<IParserFactory> freeParsers() {
        return new Iterable<IParserFactory>() {
            final List<IParserFactory> fs = new ArrayList<IParserFactory>(freeParsers);

Examples of org.rzo.netty.ahessian.rpc.client.HessianProxyFactory.create()

      {
          System.out.println("started work thread");
          Map options = new HashMap();
          options.put("sync", true);
          options.put("timeout", (long)10000);
          AsyncMBeanServerConnection service = (AsyncMBeanServerConnection) factory.create(AsyncMBeanServerConnection.class, Client.class.getClassLoader(), options);
          server = new MBeanServerConnectionAsyncAdapter(service);

            while (!stop)
            {
            try

Examples of org.salamandra.web.core.transformer.node.binder.XmlBindingFactory.create()

      Result result = new StreamResult(out);

      XmlBindingFactory xbf = new XmlBindingFactory(lst);
      xbf.setSAXTransformer(this);
     
      AbstractXmlBinding<?> axb = xbf.create(beanParseRequest.getProtocol(), bean);
      axb.transform(result);
    } catch (Exception e) {
      throw new TransformerException(e);
    };
  }

Examples of org.semanticweb.owlapi.model.IRI.create()

     public IRI getIRI(final String s) throws URISyntaxException {
            IRI IRI = string2IRI.get(s);
            if (IRI == null) {
                switch(nameResolution) {
                    case IRI: {
                        IRI = IRI.create(s);
                        break;
                    }
                    case NAME: {
                        IRI = IRI.create(base+s);
                        break;

Examples of org.serviceconnector.net.res.IResponder.create()

    // start configured responders
    Map<String, ListenerConfiguration> listenerList = AppContext.getResponderConfiguration().getListenerConfigurations();
    for (ListenerConfiguration listenerConfig : listenerList.values()) {
      IResponder responder = new Responder(listenerConfig);
      responder.create();
      responder.startListenAsync();
    }
    // Write PID file
    if (AppContext.getBasicConfiguration().isWritePID()) {
      String fs = System.getProperty("file.separator");

Examples of org.serviceconnector.net.res.Responder.create()

    // start configured responders
    Map<String, ListenerConfiguration> listenerList = AppContext.getResponderConfiguration().getListenerConfigurations();
    for (ListenerConfiguration listenerConfig : listenerList.values()) {
      IResponder responder = new Responder(listenerConfig);
      responder.create();
      responder.startListenAsync();
    }
    // Write PID file
    if (AppContext.getBasicConfiguration().isWritePID()) {
      String fs = System.getProperty("file.separator");

Examples of org.smslib.smsserver.gateways.AGateway.create()

          Object[] args = new Object[] { gtwId, getProperties(), this };
          Class<?>[] argsClass = new Class[] { String.class, Properties.class, SMSServer.class };
          Class<?> c = Class.forName((gtwClass.indexOf('.') == -1 ? "org.smslib.smsserver.gateways." : "") + gtwClass);
          Constructor<?> constructor = c.getConstructor(argsClass);
          AGateway gtw = (AGateway) constructor.newInstance(args);
          gtw.create();
          Service.getInstance().addGateway(gtw.getGateway());
          Logger.getInstance().logInfo("SMSServer: added gateway " + gtwId + " / " + gtw.getDescription(), null, null);
        }
        catch (Exception e)
        {

Examples of org.sonar.api.batch.rule.internal.ActiveRulesBuilder.create()

  }

  private ActiveRules load(ProjectReferentials ref) {
    ActiveRulesBuilder builder = new ActiveRulesBuilder();
    for (ActiveRule activeRule : ref.activeRules()) {
      NewActiveRule newActiveRule = builder.create(RuleKey.of(activeRule.repositoryKey(), activeRule.ruleKey()));
      newActiveRule.setName(activeRule.name());
      newActiveRule.setSeverity(activeRule.severity());
      newActiveRule.setLanguage(activeRule.language());
      newActiveRule.setInternalKey(activeRule.internalKey());
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.