Package com.eviware.soapui.support.xml.actions

Examples of com.eviware.soapui.support.xml.actions.LoadXmlTextAreaAction


  {
    this.inputPopup = inputPopup;
    validateXmlAction = new ValidateMessageXmlAction();
    formatXmlAction = new FormatXmlAction( editArea );
    saveXmlTextAreaAction = new SaveXmlTextAreaAction( editArea, "Save" );
    loadXmlTextAreaAction = new LoadXmlTextAreaAction( editArea, "Load" );
    insertBase64FileTextAreaAction = new InsertBase64FileTextAreaAction( editArea, "Insert File as Base64" );
    toggleLineNumbersMenuItem = new JCheckBoxMenuItem( "Show Line Numbers", lineNumbersPanel.isVisible() );
    toggleLineNumbersMenuItem.setAccelerator( UISupport.getKeyStroke( "alt L" ) );
    toggleLineNumbersMenuItem.addActionListener( new ActionListener()
    {
View Full Code Here


      inputPopup.addSeparator();
      inputPopup.add( editArea.getGoToLineAction() );

      inputPopup.addSeparator();
      inputPopup.add( new SaveXmlTextAreaAction( editArea, "Save Editor Content" ) );
      inputPopup.add( new LoadXmlTextAreaAction( editArea, "Load Editor Content" ) );

      editArea.setRightClickPopup( inputPopup );
    }

    return editArea;
View Full Code Here

        popupMenu.add(goToLineAction);
        popupMenu.add(enableLineNumbersAction);
        popupMenu.addSeparator();
        popupMenu.add(saveXmlTextAreaAction);

        LoadXmlTextAreaAction loadXmlTextAreaAction = null;
        if (!readOnly) {
            loadXmlTextAreaAction = new LoadXmlTextAreaAction(editor, "Load");
            popupMenu.add(loadXmlTextAreaAction);
            popupMenu.add(new InsertBase64FileTextAreaAction(editor, "Insert File as Base64"));
        }

        if (UISupport.isMac()) {
View Full Code Here

        enableLineNumbersAction = new EnableLineNumbersAction(editorScrollPane, "Toggle Line Numbers");
        goToLineAction = new GoToLineAction(editArea, "Go To Line");
        findAndReplaceDialog = new FindAndReplaceDialogView("Find / Replace");

        if (!readOnly) {
            loadXmlTextAreaAction = new LoadXmlTextAreaAction(editArea, "Load");
            insertBase64FileTextAreaAction = new InsertBase64FileTextAreaAction(editArea, "Insert File as Base64");
        }

        int cnt = inputPopup.getComponentCount();
        for (int i = cnt - 1; i >= 0; i--) {
View Full Code Here

TOP

Related Classes of com.eviware.soapui.support.xml.actions.LoadXmlTextAreaAction

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.