propName.addPropertyListener(new ConfigurableComponentPropertyAdapter() { public void propertyValueChanged(PropertyEvent e) { updateAgent((String)e.getProperty().getValue()); } });
  public void initProperties() {    propName = addProperty(PROP_NAME, PROP_NAME_DFLT);    propName.addPropertyListener(new ConfigurableComponentPropertyAdapter() {        public void propertyValueChanged(PropertyEvent e) {          updateAgent((String)e.getProperty().getValue());        }      });    propName.setToolTip(PROP_NAME_DESC);    propClassName = addProperty(PROP_CLASSNAME, PROP_CLASSNAME_DFLT);    propClassName.setToolTip(PROP_CLASSNAME_DESC);    propType = addProperty(PROP_TYPE, PROP_TYPE_DFLT);    propType.setToolTip(PROP_TYPE_DESC);    propNomenclature = addProperty(PROP_NOMENCLATURE, PROP_NOMENCLATURE_DFLT);    propNomenclature.setToolTip(PROP_NOMENCLATURE_DESC);    propAltTypeId = addProperty(PROP_ALTTYPEID, PROP_ALTTYPEID_DFLT);    propAltTypeId.setToolTip(PROP_ALTTYPEID_DESC);    propAssetClass = addProperty(PROP_ASSETCLASS, PROP_ASSETCLASS_DFLT);    propAssetClass.setToolTip(PROP_ASSETCLASS_DESC);//     propOrgAsset = addBooleanProperty(PROP_ORGASSET, PROP_ORGASSET_DFLT);//     propOrgAsset.addPropertyListener(new ConfigurableComponentPropertyAdapter() {//         public void propertyValueChanged(PropertyEvent e) {//           updateOrgParameters((Boolean)e.getProperty().getValue());//         }//       });//     propOrgAsset.setToolTip(PROP_ORGASSET_DESC);//     propItemPG = addBooleanProperty(PROP_ITEMPG, PROP_ITEMPG_DFLT);//     propItemPG.setToolTip(PROP_ITEMPG_DESC);    propRelationCount = addProperty(PROP_RELATIONCOUNT, PROP_RELATIONCOUNT_DFLT);    propRelationCount.addPropertyListener(new ConfigurableComponentPropertyAdapter() {        public void propertyValueChanged(PropertyEvent e) {          updateRelationCount((Integer)e.getProperty().getValue());        }      });    propRelationCount.setToolTip(PROP_RELATIONCOUNT_DESC);    propRelationCount.setAllowedValues(Collections.singleton(new IntegerRange(0, Integer.MAX_VALUE)));     }