Examples of Action


Examples of org.springframework.webflow.execution.Action

    Flow flow = assembler.assembleFlow();
    context.registerSubflow(flow);
    Flow notManaged = new Flow("notmanaged");
    new EndState(notManaged, "finish");
    context.registerSubflow(notManaged);
    context.registerBean("loadTestBean", new Action() {
      public Event execute(RequestContext context) throws Exception {
        assertSessionBound();
        Session session = (Session) context.getFlowScope().get("persistenceContext");
        TestBean bean = (TestBean) session.get(TestBean.class, new Long(0));
        assertNotNull(bean);
View Full Code Here

Examples of org.springframework.ws.soap.addressing.server.annotation.Action

     * Returns the action value for the specified method. Default implementation looks for the {@link Action} annotation
     * value.
     */
    @Override
    protected URI getActionForMethod(Method method) {
        Action action = method.getAnnotation(Action.class);
        if (action != null && StringUtils.hasText(action.value())) {
            try {
                return new URI(action.value());
            }
            catch (URISyntaxException e) {
                throw new IllegalArgumentException(
                        "Invalid Action annotation [" + action.value() + "] on [" + method + "]");
            }
        }
        return null;
    }
View Full Code Here

Examples of org.teleal.cling.model.meta.Action

  }

  public boolean play() {
    if(isConfigured()) {
      Service service = device.findService(new UDAServiceId("AVTransport"));
      Action action = service.getAction("Play");
      ActionInvocation invocation = new ActionInvocation(action);

      invocation.setInput("Speed", "1");

      executeActionInvocation(invocation);
View Full Code Here

Examples of org.thechiselgroup.choosel.core.client.ui.Action

        desktop.createWindow(content, 30, 120, 800, 600);
    }

    private void createImportDialog() {
        Action importAction = addDialogActionToToolbar(DATA_PANEL, "Import",
                new ImportDialog(importer, dataSources));

        new RestrictImporterToOneDataSourceManager(dataSources, importAction)
                .init();
    }
View Full Code Here

Examples of org.timerescue.action.Action

   * get a state of a given class
   * @return null we don't have an state of that class
   */
  public Action getState(Class<?> clas){
    for (Iterator<Action> iterator = active_states.iterator(); iterator.hasNext();) {
      Action action = iterator.next();
      if (action.getClass().equals(clas)) {
        return action;
      }
    }
    return null;
  }
View Full Code Here

Examples of org.unidal.web.mvc.Action

    }

    boolean flag = false;

    if (withAction) {
      Action action = model.getAction();

      if (action != null && !action.equals(model.getDefaultAction())) {
        sb.append('?').append("op=").append(action.getName());
        flag = true;
      }
    }

    if (qs != null) {
View Full Code Here

Examples of org.waveprotocol.wave.client.wavepanel.impl.edit.Actions.Action

    keys.register(keyBindings.keySet(), this);
  }

  @Override
  public boolean onKeySignal(KeyCombo key) {
    Action action = keyBindings.get(key);
    return action != null ? doAction(action) : false;
  }
View Full Code Here

Examples of org.waveprotocol.wave.model.document.MutableDocument.Action

    return doc.getNextSibling(line);
  }

  public static void properAppendLine(final MutableDocument<?, ?, ?> doc,
      final XmlStringBuilder content) {
    doc.with(new Action() {
      @Override
      public <N, E extends N, T extends N> void exec(MutableDocument<N, E, T> doc) {
        appendLine(doc, content);
      }
    });
View Full Code Here

Examples of org.waveprotocol.wave.model.document.ObservableMutableDocument.Action

    doc = BasicFactories.observableDocumentProvider().create("blort", Attributes.EMPTY_MAP);
    for (Boolean b : state) {
      addEntry(b);
    }

    doc.with(new Action() {
      @Override
      public <N, E extends N, T extends N> void exec(ObservableMutableDocument<N, E, T> doc) {
        target = DocumentBasedBoolean.create(DefaultDocumentEventRouter.create(doc),
            doc.getDocumentElement(), ENTRY_TAG, VALUE_ATTR);
      }
View Full Code Here

Examples of org.zkoss.web.servlet.dsp.action.Action

    _nLines = nLines;
  }

  void interpret(InterpretContext ic)
  throws DspException, IOException {
    final Action parent = ic.action;
    try {
      ic.action = newAction();
      //1. apply attributes
      if (_attrs != null) {
        for (Iterator it = _attrs.iterator(); it.hasNext();)
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.