Package org.jitterbit.integration.client.project

Examples of org.jitterbit.integration.client.project.ProjectDirectory


        String name = getSuggestedProjectName(location);
        return new ProjectLocation(name, location);
    }

    private String getSuggestedProjectName(File suggestedProjectLocation) {
        ProjectDirectory projectDir = projectManager.getProjectDirectory();
        return projectDir.getSuggestedNewProjectName(suggestedProjectLocation);
    }
View Full Code Here


    private void createNewNamedProject(String[] params) throws CommandException {
        String[] nameParts = new String[params.length - 1];
        System.arraycopy(params, 1, nameParts, 0, nameParts.length);
        String name = StringUtils.join(nameParts, " ");
        ProjectDirectory projectsRoot = view.getProjectManager().getProjectDirectory();
        File dir = new File(projectsRoot.getLocation(), name);
        String projectName = getNewProjectName(dir);
        ProjectLocation projectLoc = new ProjectLocation(projectName, dir);
        WaitLock waitLock = view.getWindow().startWait();
        NewProjectCreator creator = new NewProjectCreator(view.getProjectManager(), view.getWindow(), projectLoc, waitLock);
        Application.getWorker().submitForParallel(creator);
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.project.ProjectDirectory

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.