Examples of renameProject()


Examples of org.gephi.project.api.ProjectController.renameProject()

    public void save(Project project) {
        ProjectInformation info = project.getLookup().lookup(ProjectInformation.class);
        if (info != null) {
            if (!nameTextField.getText().isEmpty() && !nameTextField.getText().equals(info.getName())) {
                ProjectController pc = Lookup.getDefault().lookup(ProjectController.class);
                pc.renameProject(project, nameTextField.getText());
            }
        }
        ProjectMetaData metaData = project.getLookup().lookup(ProjectMetaData.class);
        if (metaData != null) {
            metaData.setTitle(titleTextField.getText());
View Full Code Here

Examples of org.gephi.project.api.ProjectController.renameProject()

    public void save(Project project) {
        ProjectInformation info = project.getLookup().lookup(ProjectInformation.class);
        if (info != null) {
            if (!nameTextField.getText().isEmpty() && !nameTextField.getText().equals(info.getName())) {
                ProjectController pc = Lookup.getDefault().lookup(ProjectController.class);
                pc.renameProject(project, nameTextField.getText());
            }
        }
        ProjectMetaData metaData = project.getLookup().lookup(ProjectMetaData.class);
        if (metaData != null) {
            metaData.setTitle(titleTextField.getText());
View Full Code Here

Examples of org.jitterbit.integration.client.project.ManagedProject.renameProject()

        public void run() {
            IntegrationProjectLock.acquire();
            try {
                view.saveUiState();
                ManagedProject mp = project.getExtensionObject(ManagedProject.class);
                mp.renameProject(newName);
            } finally {
                IntegrationProjectLock.release();
                waitLock.release();
            }
        }
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.project.ProjectRenamerImpl.renameProject()

    @Override
    public void renameEntity(IntegrationEntity e) {
        if (e instanceof IntegrationProject) {
            ProjectRenamerImpl renamer = new ProjectRenamerImpl(view);
            renamer.renameProject((IntegrationProject) e);
        } else {
            MultiTreeSection section  = getSectionFor(e);
            if (section != null) {
                section.rename(e);
            }
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.