Package pl.net.bluesoft.util.lang

Examples of pl.net.bluesoft.util.lang.Tuple


            descr = state.getName();
          }
        }
        items.add(new Pair<String, Tuple>(
            descr,
            new Tuple(processDefinition.getProcessName(), state.getName())
        ));
      }
    }
    items = orderByFirst(items);
    dialog.setAvailableItems(items);
    dialog.setItems(from(getCurrentlySelectedStates()).select(new F<ProcessStateConfiguration, Tuple>() {
      @Override
      public Tuple invoke(ProcessStateConfiguration x) {
        return new Tuple(x.getDefinition().getProcessName(), x.getName());
      }
    }).toSet());
    dialog.show(getApplication());
  }
View Full Code Here


          descr = getMessage(action.getLabel());
        }

        items.add(new Pair<String, Tuple>(
            descr,
            new Tuple(state.getDefinition().getProcessName(), state.getName(), action.getBpmName())
        ));
      }
    }
    items = orderByFirst(items);
    dialog.setAvailableItems(items);
    dialog.setItems(from(getCurrentlySelectedActions()).select(new F<ProcessStateAction, Tuple>() {
      @Override
      public Tuple invoke(ProcessStateAction x) {
        return new Tuple(x.getConfig().getDefinition().getProcessName(), x.getConfig().getName(), x.getBpmName());
      }
    }).toSet());
    dialog.show(getApplication());
  }
View Full Code Here

TOP

Related Classes of pl.net.bluesoft.util.lang.Tuple

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.