Exemplo n.º 1
0
  public AbstractWsdlModelItem<?> getWsdlModelItemByName(
      Collection<? extends AbstractWsdlModelItem<?>> items, String name) {
    for (AbstractWsdlModelItem<?> item : items) {
      if (item.getName() != null && item.getName().equals(name)) return item;
    }

    return null;
  }
Exemplo n.º 2
0
  public void setUpdating(boolean updating) {
    if (this.updating == updating) return;

    if (updating) {
      List<AbstractWsdlModelItem<?>> messages = getAllMessages();
      for (AbstractWsdlModelItem<?> modelItem : messages) {
        modelItem.beforeSave();
      }
    }

    boolean oldValue = this.updating;
    this.updating = updating;

    notifyPropertyChanged(UPDATING_PROPERTY, oldValue, updating);
  }
Exemplo n.º 3
0
  @Override
  public void release() {
    ((AbstractSoapUIDesktop) SoapUI.getDesktop()).closeDependantPanels(this);
    super.release();
    for (int i = requests.size(); i > 0; i--) {
      // removeRequest(requests.get(i-1));
      requests.get(i - 1).release();
    }
    getOperation().removePropertyChangeListener(this);
    params.release();

    removeTestPropertyListener(testPropertyListener);
  }