Exemplo n.º 1
0
  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);
  }
Exemplo n.º 2
0
 public void updateName() {
   setName("Properties (" + holder.getPropertyNames().length + ")");
 }
Exemplo n.º 3
0
 public PropertiesModelItem(TestPropertyHolder holder) {
   super(
       "Properties (" + holder.getPropertyNames().length + ")",
       UISupport.createImageIcon("/properties_step.gif"));
   this.holder = holder;
 }