rooHomeGroup.setText("Roo Installation");
rooHomeGroup.setLayout(initGridLayout(new GridLayout(1, false), true));
useDefault = new Button(rooHomeGroup, SWT.RADIO);
IRooInstall defaultInstall = RooCoreActivator.getDefault().getInstallManager().getDefaultRooInstall();
if (defaultInstall != null) {
useDefault.setText(NewRooWizardMessages.bind(
NewRooWizardMessages.NewRooProjectWizardPageOne_useDefaultRooInstallation,
defaultInstall.getName()));
}
else {
setErrorMessage(NewRooWizardMessages.NewRooProjectWizardPageOne_noRooInstallationConfigured);
setPageComplete(false);
useDefault.setText(NewRooWizardMessages.NewRooProjectWizardPageOne_useDefaultRooInstallationNoCurrent);