Package org.jitterbit.integration.client.ui.project

Examples of org.jitterbit.integration.client.ui.project.ProjectNameInput.showInDialog()


    private void askForNewName(final ProjectLocation location) {
        TextFieldInput input = new ProjectNameInput(Strings.get("Recent.Rename.Title"),
                        Strings.get("Recent.Rename.Caption"));
        input.setInitialValue(location.getProjectName());
        String newName = input.showInDialog();
        processName(location, newName);
    }

    private void processName(ProjectLocation location, String newName) {
        if (isNewName(location, newName)) {
View Full Code Here


            waitLock = view.getWindow().startWait();
            try {
                TextFieldInput input = new ProjectNameInput(getString("Project.Rename.NewName.Title"),
                                getString("Project.Rename.NewName.Label"));
                input.setInitialValue(project.getName());
                String newName = input.showInDialog();
                callback.handle(newName);
            } catch (Exception ex) {
                waitLock.release();
                throw new RuntimeException(ex);
            }
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.