Package com.eviware.soapui.support.action.swing

Examples of com.eviware.soapui.support.action.swing.ActionList


          e.printStackTrace();
        }
      }
    }

    ActionList defaultActions = formAnnotation.helpUrl() == null ? builder.buildOkCancelActions() : builder
        .buildOkCancelHelpActions( formAnnotation.helpUrl() );

    if( actions == null )
      actions = defaultActions;
    else
View Full Code Here


          e.printStackTrace();
        }
      }
    }

    ActionList defaultActions = formAnnotation.helpUrl() == null ? null : builder.buildHelpActions( formAnnotation
        .helpUrl() );

    if( actions == null )
      actions = defaultActions;
    else
    {
      // since there is only one action do it like this
      actions.insertAction( defaultActions.getActionAt( 0 ), 0 );
    }
    XFormDialog dialog = builder.buildDialog( actions, messages.get( formAnnotation.description() ),
        UISupport.createImageIcon( formAnnotation.icon() ) );

    return dialog;
View Full Code Here

          SoapUI.logError( e );
        }
      }
    }

    ActionList defaultActions = formAnnotation.helpUrl().length() == 0 ? builder.buildOkCancelActions() : builder
        .buildOkCancelHelpActions( formAnnotation.helpUrl() );

    if( actions == null )
      actions = defaultActions;
    else
View Full Code Here

          SoapUI.logError( e );
        }
      }
    }

    ActionList defaultActions = formAnnotation.helpUrl().length() == 0 ? null : builder
        .buildHelpActions( formAnnotation.helpUrl() );

    if( actions == null )
      actions = defaultActions;
    else
    {
      defaultActions.addActions( actions );
      actions = defaultActions;
    }

    XFormDialog dialog = builder.buildDialog( actions, formAnnotation.description(),
        UISupport.createImageIcon( formAnnotation.icon() ) );
View Full Code Here

  private JMenu buildFileMenu()
  {
    fileMenu = new JMenu( "File" );
    fileMenu.setMnemonic( KeyEvent.VK_F );

    ActionList actions = ActionListBuilder.buildActions( workspace );
    actions.removeAction( actions.getActionCount() - 1 );

    ActionSupport.addActions( actions, fileMenu );

    fileMenu.add( SoapUIPreferencesAction.getInstance() );
    fileMenu.add( new SavePreferencesAction() );
View Full Code Here

      private DefaultActionList defaultActions;

      @Override
      protected ActionList getActionsForRow( JList list, int row )
      {
        ActionList actions = super.getActionsForRow( list, row );

        actions.insertAction( SwingActionDelegate.createDelegate( NewMockResponseAction.SOAPUI_ACTION_ID,
            getModelItem(), null, "/addToMockService.gif" ), 0 );

        actions.insertAction( SwingActionDelegate.createDelegate(
            OpenRequestForMockOperationAction.SOAPUI_ACTION_ID, getModelItem(), null, "/open_request.gif" ), 1 );

        if( actions.getActionCount() > 2 )
          actions.insertAction( ActionSupport.SEPARATOR_ACTION, 2 );

        return actions;
      }

      @Override
View Full Code Here

    add( Box.createVerticalGlue() );
    setBackground( Color.WHITE );

    testSuite.addTestSuiteListener( testSuiteListener );

    ActionList actions = ActionListBuilder.buildActions( testSuite );
    actions.removeAction( 0 );
    actions.removeAction( 0 );
    setComponentPopupMenu( ActionSupport.buildPopup( actions ) );

    DragSource dragSource = DragSource.getDefaultDragSource();

    SoapUIDragAndDropHandler dragAndDropHandler = new SoapUIDragAndDropHandler(
View Full Code Here

      progressBar.setString( "" );
    }

    private void initPopup( WsdlTestCase testCase )
    {
      ActionList actions = ActionListBuilder.buildActions( testCase );
      actions.insertAction(
          SwingActionDelegate.createDelegate( AddNewTestCaseAction.SOAPUI_ACTION_ID, testSuite, null, null ), 0 );
      actions.insertAction( ActionSupport.SEPARATOR_ACTION, 1 );

      setComponentPopupMenu( ActionSupport.buildPopup( actions ) );
    }
View Full Code Here

          UISupport.selectAndShow( testCase );
          e.consume();
        }
        else
        {
          ActionList actions = ActionListBuilder.buildActions( testCase );
          if( actions != null )
            actions.dispatchKeyEvent( e );
        }
      }
View Full Code Here

    add( Box.createVerticalGlue() );
    setBackground( Color.WHITE );

    testSuite.addProjectListener( testSuiteListener );

    ActionList actions = ActionListBuilder.buildActions( testSuite );
    actions.removeAction( 0 );
    actions.removeAction( 0 );
    setComponentPopupMenu( ActionSupport.buildPopup( actions ) );

    DragSource dragSource = DragSource.getDefaultDragSource();

    SoapUIDragAndDropHandler dragAndDropHandler = new SoapUIDragAndDropHandler( new TestSuiteListDragAndDropable(
View Full Code Here

TOP

Related Classes of com.eviware.soapui.support.action.swing.ActionList

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.