}
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;
}