Package com.eviware.soapui.model.propertyexpansion

Examples of com.eviware.soapui.model.propertyexpansion.MutablePropertyExpansion


      PropertyExpansion[] propertyExpansions = PropertyExpansionUtils.getPropertyExpansions( getTestCase(), true,
          true );
      for( PropertyExpansion pe : propertyExpansions )
      {
        MutablePropertyExpansion mpe = ( MutablePropertyExpansion )pe;
        ModelItem modelItem = mpe.getProperty().getModelItem();
        if( modelItem == this
            || ( ( modelItem instanceof WsdlTestRequest && ( ( WsdlTestRequest )modelItem ).getTestStep() == this ) ) )
        {
          properties.add( mpe );
        }
      }

      String oldLabel = getLabel();
      super.setName( name );

      String label = getLabel();
      if( !oldLabel.equals( label ) )
      {
        notifyPropertyChanged( LABEL_PROPERTY, oldLabel, label );
      }

      for( MutablePropertyExpansion mpe : properties )
      {
        try
        {
          mpe.update();
          result.add( mpe );
        }
        catch( Exception e )
        {
          e.printStackTrace();
View Full Code Here


            List<MutablePropertyExpansion> properties = new ArrayList<MutablePropertyExpansion>();

            PropertyExpansion[] propertyExpansions = PropertyExpansionUtils.getPropertyExpansions(getTestCase(), true,
                    true);
            for (PropertyExpansion pe : propertyExpansions) {
                MutablePropertyExpansion mpe = (MutablePropertyExpansion) pe;
                ModelItem modelItem = mpe.getProperty().getModelItem();
                if (modelItem == this
                        || ((modelItem instanceof WsdlTestRequest && ((WsdlTestRequest) modelItem).getTestStep() == this))) {
                    properties.add(mpe);
                }
            }

            String oldLabel = getLabel();
            super.setName(name);

            String label = getLabel();
            if (!oldLabel.equals(label)) {
                notifyPropertyChanged(LABEL_PROPERTY, oldLabel, label);
            }

            for (MutablePropertyExpansion mpe : properties) {
                try {
                    mpe.update();
                    result.add(mpe);
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.model.propertyexpansion.MutablePropertyExpansion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.