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

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


  protected void buildPopup( JPopupMenu inputPopup, JXEditTextArea editArea )
  {
    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" ) );
View Full Code Here


    if( addPopup )
    {
      JPopupMenu inputPopup = new JPopupMenu();

      inputPopup.add( new FormatXmlAction( editArea ) );
      inputPopup.addSeparator();
      inputPopup.add( editArea.getUndoAction() );
      inputPopup.add( editArea.getRedoAction() );
      inputPopup.add( editArea.createCopyAction() );
      inputPopup.add( editArea.createCutAction() );
View Full Code Here

        for (int i = cnt - 1; i >= 0; i--) {
            if (popupMenu.getComponent(i) instanceof JSeparator) {
                popupMenu.remove(popupMenu.getComponent(i));
            }
        }
        FormatXmlAction formatXmlAction = null;
        if (!readOnly) {
            formatXmlAction = new FormatXmlAction(editor);
            FindAndReplaceDialogView findAndReplaceDialog = new FindAndReplaceDialogView(editor);
            popupMenu.insert(formatXmlAction, 1);
            popupMenu.addSeparator();
            popupMenu.add(findAndReplaceDialog);
            if (UISupport.isMac()) {
View Full Code Here

            }
        }

        inputPopup.insert(validateXmlAction, 0);

        formatXmlAction = new FormatXmlAction(editArea);
        inputPopup.insert(formatXmlAction, 1);
        inputPopup.addSeparator();

        inputPopup.add(findAndReplaceDialog);
        inputPopup.addSeparator();
View Full Code Here

TOP

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

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.