public boolean setFormInput(Object input) {
   if (input instanceof IProductPlugin) {
     fPluginTable.setSelection(new StructuredSelection(input), true);
     return true;
   }
   return super.setFormInput(input);
 }
 private void addPlugin(String id, String version) {
   IProduct product = getProduct();
   IProductModelFactory factory = product.getModel().getFactory();
   IProductPlugin plugin = factory.createPlugin();
   plugin.setId(id);
   plugin.setVersion(version);
   product.addPlugins(new IProductPlugin[] {plugin});
   fPluginTable.setSelection(new StructuredSelection(plugin));
 }