Examples of JUndoableTextArea


Examples of com.eviware.soapui.support.components.JUndoableTextArea

    protected AbstractAction createOkAction() {
        return new OkAction();
    }

    protected JPanel getPathAreaPanel() {
        pathArea = new JUndoableTextArea();
        pathArea.setToolTipText(assertion.getPathAreaToolTipText());

        JPanel pathPanel = new JPanel(new BorderLayout());
        JXToolBar pathToolbar = UISupport.createToolbar();
        assertion.addPathEditorActions(pathToolbar);
View Full Code Here

Examples of com.eviware.soapui.support.components.JUndoableTextArea

        splitPane.setLeftComponent(p);

        JSplitPane innerSplit = UISupport.createVerticalSplit();
        innerSplit.setBorder(null);
        sourceArea = new JUndoableTextArea();
        sourceArea.setToolTipText("XPath selection from source property");
        sourceArea.setEnabled(false);
        sourceArea.getDocument().addDocumentListener(new SourceAreaDocumentListener());
        componentEnabler.add(sourceArea);

        targetArea = new JUndoableTextArea();
        targetArea.setToolTipText("XPath target in target property");
        targetArea.setEnabled(false);
        targetArea.getDocument().addDocumentListener(new TargetAreaDocumentListener());
        componentEnabler.add(targetArea);
View Full Code Here

Examples of com.eviware.soapui.support.components.JUndoableTextArea

        section.finish();
    }

    private JPanel buildDescriptionPanel() {
        JPanel panel = new JPanel(new BorderLayout());
        descriptionArea = new JUndoableTextArea(getModelItem().getDescription());
        descriptionArea.getDocument().addDocumentListener(new DocumentListenerAdapter() {
            @Override
            public void update(Document document) {
                getModelItem().setDescription(descriptionArea.getText());
            }
View Full Code Here

Examples of com.eviware.soapui.support.components.JUndoableTextArea

        logList = new JLogList("Condition Log for [" + getModelItem().getName() + "]");
        return logList;
    }

    private JPanel buildExpressionArea() {
        expressionArea = new JUndoableTextArea();
        expressionArea.setEnabled(false);
        expressionArea.getDocument().addDocumentListener(new SourceAreaDocumentListener());

        JPanel expressionPanel = new JPanel(new BorderLayout());
        JScrollPane scrollPane = new JScrollPane(expressionArea);
View Full Code Here

Examples of com.eviware.soapui.support.components.JUndoableTextArea

        ButtonBarBuilder builder = new ButtonBarBuilder();
        builder.addFixed(new JLabel("<html><b>Description - Describe what actions to perform</b></html>"));
        panel.add(builder.getPanel(), BorderLayout.NORTH);

        descriptionField = new JUndoableTextArea(getModelItem().getDescription());
        descriptionField.getDocument().addDocumentListener(new DocumentListenerAdapter() {
            @Override
            public void update(Document document) {
                getModelItem().setDescription(descriptionField.getText());
            }
View Full Code Here

Examples of com.eviware.soapui.support.components.JUndoableTextArea

        ButtonBarBuilder builder = new ButtonBarBuilder();
        builder.addFixed(new JLabel("<html><b>Expected Result - Describe the expected outcome</b></html>"));
        panel.add(builder.getPanel(), BorderLayout.NORTH);

        expectedResultField = new JUndoableTextArea(getModelItem().getExpectedResult());
        expectedResultField.getDocument().addDocumentListener(new DocumentListenerAdapter() {
            @Override
            public void update(Document document) {
                getModelItem().setExpectedResult(expectedResultField.getText());
            }
View Full Code Here

Examples of com.eviware.soapui.support.components.JUndoableTextArea

        return new PropertyHolderTable(getModelItem());
    }

    private JPanel buildDescriptionPanel() {
        JPanel panel = new JPanel(new BorderLayout());
        descriptionArea = new JUndoableTextArea(getModelItem().getDescription());
        descriptionArea.getDocument().addDocumentListener(new DocumentListenerAdapter() {
            public void update(Document document) {
                getModelItem().setDescription(descriptionArea.getText());
            }
        });
View Full Code Here

Examples of com.eviware.soapui.support.components.JUndoableTextArea

        table.setDefaultEditor(String.class, getDefaultCellEditor());

        JScrollPane scrollPane = new JScrollPane(table);
        add(scrollPane, BorderLayout.CENTER);

        pathPane = new JUndoableTextArea();
        if (securityScan instanceof BoundarySecurityScan) {
            ((BoundarySecurityScan) securityScan).refreshRestrictionLabel(-1);
        }
        if (securityScan instanceof InvalidTypesSecurityScan) {
            ((InvalidTypesSecurityScan) securityScan).refreshRestrictionLabel(-1);
View Full Code Here

Examples of com.eviware.soapui.support.components.JUndoableTextArea

import com.eviware.soapui.support.components.JUndoableTextArea;
import com.eviware.soapui.support.xml.SyntaxEditorUtil;

public class DefaultEditorFactory implements EditorFactory {
    public JComponent buildXPathEditor(EditorModel editorModel) {
        JUndoableTextArea textArea = new JUndoableTextArea();
        textArea.setText(editorModel.getEditorText());
        textArea.getDocument()
                .addDocumentListener(new JTextComponentEditorModelDocumentListener(editorModel, textArea));
        return new JScrollPane(textArea);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.