コード例 #1
0
 /** The constructor. */
 public AddLanguageWizard() {
   super();
   setWindowTitle(
       Messages.getString(
           "org.nightlabs.jfire.base.admin.ui.language.AddLanguageWizard.wizardTitle")); //$NON-NLS-1$
   addLanguagePage =
       new AddLanguagePage(
           Messages.getString(
               "org.nightlabs.jfire.base.admin.ui.language.AddLanguageWizard.pageTitle")); //$NON-NLS-1$
   addPage(addLanguagePage);
 }
  /**
   * Create the content for this section.
   *
   * @param section The section to fill
   * @param toolkit The toolkit to use
   */
  protected void createClient(Section section, FormToolkit toolkit) {
    section.setText(
        Messages.getString(
            "org.nightlabs.jfire.base.admin.ui.editor.user.ConfigPreferencesSection.sectionTitle")); //$NON-NLS-1$
    section.setExpanded(true);
    section.setLayout(new GridLayout());
    section.setLayoutData(new GridData(GridData.FILL_BOTH));

    Composite container = EntityEditorUtil.createCompositeClient(toolkit, section, 1);

    configPreferencesEditComposite = new ConfigPreferencesEditComposite2(container, SWT.NONE, true);
    configPreferencesEditComposite.addConfigModuleChangedListener(this);
    configPreferencesEditComposite.setCurrentConfigID(configID);
    configPreferencesEditComposite.updatePreferencesComposite();
  }