public void refresh() {
   String introId = getIntroInfo().getId();
   if (introId == null) {
     fIntroCombo.setText(""); // $NON-NLS-1$
   } else {
     fIntroCombo.setText(introId);
   }
   super.refresh();
 }
 private void handleNewIntro() {
   boolean needNewProduct = false;
   if (!productDefined()) {
     needNewProduct = true;
     MessageDialog mdiag =
         new MessageDialog(
             PDEPlugin.getActiveWorkbenchShell(),
             PDEUIMessages.IntroSection_undefinedProductId,
             null,
             PDEUIMessages.IntroSection_undefinedProductIdMessage,
             MessageDialog.QUESTION,
             new String[] {IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL},
             0);
     if (mdiag.open() != Window.OK) return;
   }
   ProductIntroWizard wizard = new ProductIntroWizard(getProduct(), needNewProduct);
   WizardDialog dialog = new WizardDialog(PDEPlugin.getActiveWorkbenchShell(), wizard);
   dialog.create();
   if (dialog.open() == Window.OK) {
     String id = wizard.getIntroId();
     fIntroCombo.add(id, 0);
     fIntroCombo.setText(id);
     getIntroInfo().setId(id);
     addDependenciesAndPlugins();
   }
 }
 private void handleSelection() {
   if (!productDefined()) {
     fIntroCombo.setText(""); // $NON-NLS-1$
     return;
   }
   getIntroInfo().setId(fIntroCombo.getSelection());
   addDependenciesAndPlugins();
 }
 private void updateUIFieldTemplateCombo() {
   // Update this sections enablement
   updateFieldEnablement();
   // Get the splash info if any
   ISplashInfo info = getSplashInfo();
   if (info.isDefinedSplashHandlerType() == false) {
     // No splash handler type defined, set "none" in combo box
     fFieldTemplateCombo.setText(PDEUIMessages.SplashConfigurationSection_none);
     return;
   }
   String splashHandlerType = info.getFieldSplashHandlerType();
   // Update the splash handler type in the combo box
   for (String[] typeChoice : ISplashHandlerConstants.F_SPLASH_SCREEN_TYPE_CHOICES) {
     String key = typeChoice[0];
     if (splashHandlerType.equals(key)) {
       String displayName = typeChoice[1];
       fFieldTemplateCombo.setText(displayName);
     }
   }
 }