コード例 #1
0
 /* (non-Javadoc)
  * @see org.eclipse.ui.forms.AbstractFormPart#dispose()
  */
 public void dispose() {
   IProductModel model = getModel();
   if (model != null) {
     model.removeModelChangedListener(this);
   }
   super.dispose();
 }
コード例 #2
0
 public void refresh() {
   String introId = getIntroInfo().getId();
   if (introId == null) {
     fIntroCombo.setText(""); // $NON-NLS-1$
   } else {
     fIntroCombo.setText(introId);
   }
   super.refresh();
 }