public void setRemoteProperties(String name, Properties p) {
   context.log(
       PluginHostContext.LOG_INFORMATION, "Looking if " + name + " is already installed");
   for (int i = 0; i < getRowCount(); i++) {
     PluginDefinition def = getPluginDefinitionAt(i);
     context.log(PluginHostContext.LOG_DEBUG, "Found " + def.getName());
     if (name.equals(def.getName())) {
       context.log(PluginHostContext.LOG_DEBUG, name + " is installed");
       def.setRemoteProperties(p);
       fireTableRowsUpdated(i, i);
       return;
     }
   }
   context.log(PluginHostContext.LOG_DEBUG, name + " is not installed");
   int r = getRowCount();
   definitions.addElement(new PluginDefinition(p));
   fireTableRowsInserted(r, r);
 }