use of org.eclipse.jface.dialogs.IDialogSettings in project bndtools by bndtools.
the class NewDSComponentWizardPage method init.
public void init(IStructuredSelection selection) {
IJavaElement jelem = getInitialJavaElement(selection);
initContainerPage(jelem);
initTypePage(jelem);
doStatusUpdate();
boolean createConstructors = false;
boolean createUnimplemented = true;
IDialogSettings dialogSettings = getDialogSettings();
if (dialogSettings != null) {
IDialogSettings section = dialogSettings.getSection(PAGE_NAME);
if (section != null) {
createConstructors = section.getBoolean(SETTINGS_CREATECONSTR);
createUnimplemented = section.getBoolean(SETTINGS_CREATEUNIMPLEMENTED);
}
}
setMethodStubSelection(createConstructors, createUnimplemented, true);
}
Aggregations