protected void nameChanged() { if (!pageReady) { new UIJob(I18n.get("job")) { @Override public IStatus runInUIThread(IProgressMonitor monitor) { nameChanged(); return Status.OK_STATUS; } }.schedule(); return; } getConfig().setGroupName(nameCombo.getText()); parent.getFiledPage().initialize(nameCombo.getText()); GroupData group = getConfig().getModule().getConfigGroup(getConfig().getSectionName(), nameCombo.getText()); if (group != null) { labelText.setText(group.getLabel()); sortOrderSpinner.setSelection(group.getSortOrder()); defaultCheckbox.setSelection(group.isVisibleDefault()); websiteCheckbox.setSelection(group.isVisibleWebsite()); shopCheckbox.setSelection(group.isVisibleStore()); } else { labelText.setText(""); sortOrderSpinner.setSelection(0); defaultCheckbox.setSelection(false); websiteCheckbox.setSelection(false); shopCheckbox.setSelection(false); } dialogChanged(); }
public Configuration getConfig() { return parent.getConfiguration(); }