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

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


     * Returns a list of actions that can be applied to this result
     */

    public ActionList getActions() {
        if (actionList == null) {
            actionList = new DefaultActionList(getSecurityScan().getName());
            actionList.setDefaultAction(new AbstractAction() {

                public void actionPerformed(ActionEvent e) {
                    UISupport.showInfoMessage("Scan [" + getSecurityScan().getName() + "] ran with status ["
                            + getExecutionProgressStatus() + "]", "SecurityScan Result");
View Full Code Here


            }
        }
    }

    protected XFormDialog createCloneParameterDialog() {
        actionList = new DefaultActionList();
        OkAction okAction = new OkAction();
        actionList.addAction(okAction, true);
        CancelAction cancelAction = new CancelAction();
        actionList.addAction(cancelAction);
        ApplyAction applyAction = new ApplyAction();
View Full Code Here

        if (isDiscarded()) {
            return discardedActionList;
        }

        if (actionList == null) {
            actionList = new DefaultActionList(testStepName);
            actionList.setDefaultAction(new AbstractAction() {

                public void actionPerformed(ActionEvent e) {
                    if (getMessages().length > 0) {
                        StringBuffer buf = new StringBuffer("<html><body>");
View Full Code Here

        if (isDiscarded()) {
            return;
        }

        if (actionList == null) {
            actionList = new DefaultActionList(testStepName);
        }

        actionList.addAction(action);
        if (isDefault) {
            actionList.setDefaultAction(action);
View Full Code Here

        }
        return classpath.toString();
    }

    protected ActionList buildDefaultActions(String helpUrl, T modelItem) {
        ActionList actions = new DefaultActionList("Actions");

        if (helpUrl != null) {
            actions.addAction(new ShowOnlineHelpAction(helpUrl));
            actions.addSeparator();
        }

        Action runAction = createRunOption(modelItem);
        actions.addAction(runAction);
        actions.setDefaultAction(runAction);
        actions.addAction(new CloseAction(modelItem));

        if (toolsSettingsAction != null) {
            actions.addAction(toolsSettingsAction);
        }

        return actions;
    }
View Full Code Here

     * Returns a list of actions that can be applied to this result
     */

    public ActionList getActions() {
        if (actionList == null) {
            actionList = new DefaultActionList(getTestStep().getName());
            actionList.setDefaultAction(new AbstractAction() {

                public void actionPerformed(ActionEvent e) {
                    UISupport.showInfoMessage("Step [" + getTestStep().getName() + "] ran with security status ["
                            + getExecutionProgressStatus() + "]", "TestStep Result");
View Full Code Here

     * Returns a list of actions that can be applied to this result
     */

    public ActionList getActions() {
        if (actionList == null) {
            actionList = new DefaultActionList(getSecurityScan().getName());
        }
        if (!addedAction) {
            actionList.addAction(new ShowMessageExchangeAction(this.getMessageExchange(), "SecurityScanRequest"), true);
            addedAction = true;
        }
View Full Code Here

    /*
     * Creates dialog
     */
    protected XFormDialog createAddParameterDialog() {
        actionList = new DefaultActionList();
        AddAction addAction = new AddAction();
        actionList.addAction(addAction, true);
        AddAndCopy addAndCopy = new AddAndCopy();
        actionList.addAction(addAndCopy);
        Close closeAction = new Close();
View Full Code Here

    }

    protected abstract Component buildContent();

    public ActionList buildActions(String url, boolean okAndCancel) {
        DefaultActionList actions = new DefaultActionList("Actions");
        if (url != null) {
            actions.addAction(new HelpAction(url));
        }

        OKAction okAction = new OKAction();
        actions.addAction(okAction);
        if (okAndCancel) {
            actions.addAction(new CancelAction());
            actions.setDefaultAction(okAction);
        }
        return actions;
    }
View Full Code Here

        this.title = title;
        this.description = description;
        this.icon = icon;
        form = new SimpleForm("10px,left:pref,10px,left:pref,5px");

        actions = new DefaultActionList("Actions");
        if (helpUrl != null) {
            actions.addAction(new ShowOnlineHelpAction(helpUrl));
            actions.addSeparator();
        }
View Full Code Here

TOP

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

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.