if (newWizardButton != null) {
// We want the wizard button before the project button.
addOptionButton(newWizardButton, bin);
wizardButtonAdded = true;
}
ApplicationAction action = new NewProjectAction(view.getWindow(), view.getProjectManager());
bin.add(KongaButton.forToolbar(action).setUseMediumActionIcon(true));
} else {
InterchangeActionFactory f = InterchangeActionFactory.getNewEntityFactory(type);
ApplicationAction a = f.get(view);
if (a != null) {