Package org.jbpm.ui.dialog

Examples of org.jbpm.ui.dialog.UserInputDialog


            if (!INPUT_VALUE.equals(combo.getItem(combo.getSelectionIndex()))) {
                return;
            }
            String oldUserInput = (String) combo.getData(DATA_KEY);
            String type = (String) combo.getData(TYPE_KEY);
            UserInputDialog inputDialog = dialogClassesForTypes.get(type);
            inputDialog.setInitialValue(oldUserInput);
            if (Dialog.OK == inputDialog.open()) {
                String userInput = inputDialog.getUserInput();
                if (oldUserInput != null) {
                    combo.remove(0);
                }
                combo.setData(DATA_KEY, userInput);
                combo.add(userInput, 0);
View Full Code Here


        }
        return v;
    }

    public UserInputDialog createUserInputDialog(String title, String initialValue) {
        return new UserInputDialog(title, initialValue);
    }
View Full Code Here

TOP

Related Classes of org.jbpm.ui.dialog.UserInputDialog

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.