Examples of addAction()


Examples of ca.nengo.ui.lib.util.menus.AbstractMenuBuilder.addAction()

      Iterator<?> it = states.entrySet().iterator();

      while (it.hasNext()) {
        somethingFound = true;
        Entry<String, String> el = (Entry<String, String>) it.next();
        probesMenu.addAction(new AddProbeAction(this, el));

      }
    }

    if (!somethingFound) {
View Full Code Here

Examples of ca.nengo.ui.lib.util.menus.MenuBuilder.addAction()

    Collection<StandardAction> actions = ProbePlotHelper.getInstance().getPlotActions(getModel().getData(),
        getName());

    for (StandardAction action : actions) {
      plotMenu.addAction(action);
    }

    MenuBuilder exportMenu = menu.addSubMenu("export data");
    exportMenu.addAction(new ExportToMatlabAction());
View Full Code Here

Examples of ca.nengo.ui.lib.util.menus.PopupMenuBuilder.addAction()

    if ((myTermination != null) && (myTermination instanceof Interactable)) {
      return ((Interactable) myTermination).getContextMenu();
    }

    PopupMenuBuilder menu = new PopupMenuBuilder("Line End");
    menu.addAction(new StandardAction("Remove") {

      private static final long serialVersionUID = 1L;

      @Override
      protected void action() throws ActionException {
View Full Code Here

Examples of ch.entwine.weblounge.common.site.Module.addAction()

    }

    // actions
    NodeList actionNodes = XPathHelper.selectList(config, "m:actions/m:action", xpathProcessor);
    for (int i = 0; i < actionNodes.getLength(); i++) {
      module.addAction(ActionSupport.fromXml(actionNodes.item(i), xpathProcessor));
    }

    // image styles
    NodeList imagestyleNodes = XPathHelper.selectList(config, "m:imagestyles/m:imagestyle", xpathProcessor);
    for (int i = 0; i < imagestyleNodes.getLength(); i++) {
View Full Code Here

Examples of ch.ralscha.extdirectspring.bean.api.RemotingApi.addAction()

  private final static ObjectMapper mapper = new ObjectMapper();

  private static RemotingApi api() {
    RemotingApi remotingApi = new RemotingApi("remoting", "/controller/router", null);
    remotingApi.addAction("simpleService",
        new Action("toUpperCase", 1, Boolean.FALSE));
    remotingApi.addAction("simpleService",
        new Action("echo", Arrays.asList("userId", "logLevel")));

    PollingProvider pollingProvider = new PollingProvider("simpleService", "poll",
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Table.addAction()

      Table table = new Table();
      table.add(new Label(text, skin));
      table.getColor().a = 0;
      table.pack();
      table.setPosition(-table.getWidth(), -3 - table.getHeight());
      table.addAction(sequence( //
        parallel(moveBy(0, table.getHeight(), 0.3f), fadeIn(0.3f)), //
        delay(5f), //
        parallel(moveBy(0, table.getHeight(), 0.3f), fadeOut(0.3f)), //
        removeActor() //
        ));
View Full Code Here

Examples of com.bergerkiller.bukkit.tc.controller.components.ActionTrackerGroup.addAction()

      actions.addActionSizzle();
    }
    if (TrainCarts.refillAtStations) {
      actions.addActionRefill();
    }
    actions.addAction(new BlockActionSetLevers(info.getAttachedBlock(), true));
    if (delay == Long.MAX_VALUE) {
      actions.addActionWaitForever();
    } else if (delay > 0) {
      actions.addActionWait(delay);
    }
View Full Code Here

Examples of com.caucho.server.rewrite.RewriteDispatch.addAction()

  public void add(RewriteFilter dispatchAction)
  {
    if (dispatchAction.isRequest()) {
      RewriteDispatch rewrite = createRewriteDispatch();

      rewrite.addAction(dispatchAction);
    }
  }

  /**
   * Adds rewrite-dispatch (backward compat).
View Full Code Here

Examples of com.caucho.soap.skeleton.DirectSkeleton.addAction()

      AbstractAction action =
        AbstractAction.createAction(methods[i], jaxbContext, namespace, wsdl,
                                    marshaller, unmarshaller);

      skel.addAction(methods[i], action);
    }

    return skel;
  }
View Full Code Here

Examples of com.chap.links.client.DataTable.addAction()

          dataTable.setField(i, "name", "Truck " + i);
          dataTable.setField(i, "capacity", 100 * Math.round(Math.random() * 20));
          dataTable.setField(i, "store", (Math.random() > 0.1) ? "main" : "spare");

          Action action = new Action("edit");
          dataTable.addAction(i, action);
          action = new Action("delete");
          dataTable.addAction(i, action);

          DataTable childTable = new DataTable();
          for (int j = 0; j < 5; j++) {
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.