Package org.jboss.bpm.console.client.model

Examples of org.jboss.bpm.console.client.model.TokenReference


      processInstance.getProcessInstanceId() + "",
      processInstance.getProcessId(),
      processInstance.getStart(),
      processInstance.getEnd(),
      false);
    TokenReference token = new TokenReference(
      processInstance.getProcessInstanceId() + "", null, "");
    result.setRootToken(token);
    return result;
  }
View Full Code Here


                                    new Event(SignalExecutionAction.ID,
                                            new SignalInstanceEvent(getCurrentDefinition(), getSelection(), listBoxTokens.getItem(selectedToken), eventData.getText(), selectedToken)));

                        } else if (signalRef.getText().length() > 0) {
                         
                          TokenReference token = new TokenReference();
                          token.setId(getSelection().getId());
                          token.setName(signalRef.getText());
                          int foundMatch = -1;
                          int index = 0;
                          // try to find matching element from the list to avoid double signal problems
                          for (TokenReference ref : tokensToSignal)
                          {
                            if (ref.getName().equals(token.getName())) {
                              foundMatch = index;
                              break;
                            }
                            index++;
                          }
View Full Code Here

                                    new Event(SignalExecutionAction.ID,
                                            new SignalInstanceEvent(getCurrentDefinition(), getSelection(), listBoxTokens.getItem(selectedToken), eventData.getText(), selectedToken)));

                        } else if (signalRef.getText().length() > 0) {
                         
                          TokenReference token = new TokenReference();
                          token.setId(getSelection().getId());
                          token.setName(signalRef.getText());
                          int foundMatch = -1;
                          int index = 0;
                          // try to find matching element from the list to avoid double signal problems
                          for (TokenReference ref : tokensToSignal)
                          {
                            if (ref.getName().equals(token.getName())) {
                              foundMatch = index;
                              break;
                            }
                            index++;
                          }
View Full Code Here

                    public void onRowSelection(RowSelectionEvent rowSelectionEvent)
                    {
                        int index = listBoxTokens.getSelectedIndex();
                        if(index!=-1)
                        {
                            TokenReference item = listBoxTokens.getItem(index);
                            renderAvailableSignals(item);

                        }
                    }
                }
View Full Code Here

TOP

Related Classes of org.jboss.bpm.console.client.model.TokenReference

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.