Examples of NewEntityOptionButtonFactory


Examples of org.jitterbit.integration.client.ui.interchange.core.action.NewEntityOptionButtonFactory

            return null;
        }
        EntityType defaultType = wizardTypes.get(0);
        Icon icon = ToolbarMode.getConfiguredMode() == ToolbarMode.MINIMAL ? ClientIcons.JITTERBIT_CONNECT_32
                        : ClientIcons.JITTERBIT_CONNECT_24;
        NewEntityOptionButtonFactory factory = new NewEntityOptionButtonFactory(view, icon, wizardTypes, defaultType);
        factory.setDefaultAction(new OpenJitterbitConnectConsoleAction(view, config.getConnectTypes()));
        StaticOptionButton button = factory.getButton();
        button.setKeepDefaultActionFixed(true);
        view.getProjectManager().addProjectManagerListener(new WizardButtonEnabler(button));
        return button;
    }
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.core.action.NewEntityOptionButtonFactory

    private StaticOptionButton createNewEntityButton() {
        List<EntityType> typesToInclude = getTopLevelTypes();
        EntityType defaultType = typesToInclude.get(0);
        Icon icon = ApplicationResources.getIcon("New.32");
        NewEntityOptionButtonFactory factory = new NewEntityOptionButtonFactory(view, icon, typesToInclude, defaultType);
        return factory.getButton();
    }
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.