Package com.eviware.soapui.impl.wsdl

Examples of com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder


            if( row == -1 )
            {
              if( holder instanceof MutableTestPropertyHolder )
              {
                MutableTestPropertyHolder mtph = ( MutableTestPropertyHolder )holder;
                String name = UISupport.prompt( "Specify unique name of property", "Add Property", modelItem
                    .getProperty().getName() );
                while( name != null && mtph.hasProperty( name ) )
                {
                  name = UISupport.prompt( "Specify unique name of property", "Add Property", modelItem
                      .getProperty().getName() );
                }

                if( name != null )
                  mtph.addProperty( name ).setValue( propertyExpansion.toString() );
              }
            }
            else
            {
              getPropertiesTable().setValueAt( propertyExpansion.toString(), row, column );
View Full Code Here


    @Override
    public void actionPerformed( ActionEvent arg0 )
    {
      if( sourceProperty == null && sourceStep instanceof MutableTestPropertyHolder )
      {
        MutableTestPropertyHolder step = ( MutableTestPropertyHolder )sourceStep;
        sourceProperty = target.getNameForCreation();

        sourceProperty = UISupport.prompt( "Specify name of source property to create", "Create source property",
            sourceProperty );
        while( sourceProperty != null && step.getProperty( sourceProperty ) != null )
        {
          sourceProperty = UISupport.prompt( "Name is taken, specify unique name of source property to create",
              "Create source property", sourceProperty );
        }
View Full Code Here

    private Component buildToolbar() {
        toolbar = UISupport.createSmallToolbar();

        if (holder instanceof MutableTestPropertyHolder) {
            removePropertyAction = new RemovePropertyAction();
            MutableTestPropertyHolder mutablePropertyHolder = (MutableTestPropertyHolder) holder;
            addPropertyAction = new AddParamAction(propertiesTable, mutablePropertyHolder, "Adds a property to the property list");
            movePropertyUpAction = new MovePropertyUpAction(propertiesTable, mutablePropertyHolder,
                    "Moves selected property up one row");
            movePropertyDownAction = new MovePropertyDownAction(propertiesTable, mutablePropertyHolder,
                    "Moves selected property down one row");
View Full Code Here

                        int column = getPropertiesTable().columnAtPoint(point);
                        int row = getPropertiesTable().rowAtPoint(point);

                        if (row == -1) {
                            if (holder instanceof MutableTestPropertyHolder) {
                                MutableTestPropertyHolder mtph = (MutableTestPropertyHolder) holder;
                                String name = UISupport.prompt("Specify unique name of property", "Add Property", modelItem
                                        .getProperty().getName());
                                while (name != null && mtph.hasProperty(name)) {
                                    name = UISupport.prompt("Specify unique name of property", "Add Property", modelItem
                                            .getProperty().getName());
                                }

                                if (name != null) {
                                    mtph.addProperty(name).setValue(propertyExpansion.toString());
                                }
                            }
                        } else {
                            getPropertiesTable().setValueAt(propertyExpansion.toString(), row, column);
                        }
View Full Code Here

        }

        @Override
        public void actionPerformed(ActionEvent arg0) {
            if (sourceProperty == null && sourceStep instanceof MutableTestPropertyHolder) {
                MutableTestPropertyHolder step = (MutableTestPropertyHolder) sourceStep;
                sourceProperty = target.getNameForCreation();

                sourceProperty = UISupport.prompt("Specify name of source property to create", "Create source property",
                        sourceProperty);
                while (sourceProperty != null && step.getProperty(sourceProperty) != null) {
                    sourceProperty = UISupport.prompt("Name is taken, specify unique name of source property to create",
                            "Create source property", sourceProperty);
                }

                if (sourceProperty == null) {
View Full Code Here

TOP

Related Classes of com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder

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.