public PropertiesTreeNode( T modelItem, ModelItem parentItem, TestPropertyHolder holder, SoapUITreeModel treeModel) { super(modelItem, parentItem, treeModel); this.holder = holder; for (String name : holder.getPropertyNames()) { PropertyTreeNode propertyTreeNode = new PropertyTreeNode(holder.getProperty(name), getModelItem(), holder, treeModel); propertyNodes.add(propertyTreeNode); propertyMap.put(name, propertyTreeNode); getTreeModel().mapModelItem(propertyTreeNode); } testPropertyListener = new InternalTestPropertyListener(); holder.addTestPropertyListener(testPropertyListener); }
public void updateName() { setName("Properties (" + holder.getPropertyNames().length + ")"); }
public PropertiesModelItem(TestPropertyHolder holder) { super( "Properties (" + holder.getPropertyNames().length + ")", UISupport.createImageIcon("/properties_step.gif")); this.holder = holder; }