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

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


    @Override
    public void configure(IntegrationEntityPage page) {
        impl.configure(page);
        ProjectPage projectPage = (ProjectPage) page;
        projectPage.setProjectRenamer(new ProjectRenamerImpl(impl.getView()));
        projectPage.setProjectActions(pageActions.toArray(new Action[pageActions.size()]));
        //TODO: Read these from config file, so that we can include enterprise-only actions
        //VIEW_REQUIRED_PLUGINS.get(getView())*/);
    }
View Full Code Here


        tree.setRenameNodeStrategy(new RenameEntityNodeStrategy(view));
        tree.setProjectNodeRenamer(new ProjectNodeRenamer() {

            @Override
            public void rename(IntegrationProject project) {
                new ProjectRenamerImpl(view).renameProject(project);
            }
        });
        tree.setBackground(Colors.TREE_BACKGROUND);
        tree.addKongaTreeListener(new EntityTreePathPublisher(tree));
        tree.setSelectionMode(SelectionMode.DISCONTIGUOUS_TREE_SELECTION);
View Full Code Here

    }

    @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

Related Classes of org.jitterbit.integration.client.ui.interchange.entity.project.ProjectRenamerImpl

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.