Examples of JUndoableTextArea


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

    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 )
      {
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 )
      {
View Full Code Here

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

  }

  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

  }

  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

  }

  protected 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

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

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

{
  private JScrollPane scrollPane;

  public JTextAreaFormField()
  {
    super( new JUndoableTextArea() );

    scrollPane = new JScrollPane( super.getComponent() );
  }
View Full Code Here

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

        "declare namespaces with <code>declare namespace &lt;prefix&gt;='&lt;namespace&gt;';</code>", null ),
        BorderLayout.NORTH );

    JSplitPane splitPane = UISupport.createVerticalSplit();

    pathArea = new JUndoableTextArea();
    pathArea.setToolTipText( "Specifies the XPath expression to select from the message for validation" );

    JPanel pathPanel = new JPanel( new BorderLayout() );
    JXToolBar pathToolbar = UISupport.createToolbar();
    addPathEditorActions( pathToolbar );

    pathPanel.add( pathToolbar, BorderLayout.NORTH );
    pathPanel.add( new JScrollPane( pathArea ), BorderLayout.CENTER );

    splitPane.setTopComponent( UISupport.addTitledBorder( pathPanel, "XPath Expression" ) );

    contentArea = new JUndoableTextArea();
    contentArea.setToolTipText( "Specifies the expected result of the XPath expression" );

    JPanel matchPanel = new JPanel( new BorderLayout() );
    JXToolBar contentToolbar = UISupport.createToolbar();
    addMatchEditorActions( contentToolbar );
View Full Code Here

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

    JPanel pathPanel = new JPanel( new BorderLayout() );
    JXToolBar pathToolbar = UISupport.createToolbar();
    addPathEditorActions( pathToolbar );

    pathArea = new JUndoableTextArea();
    pathArea.setToolTipText( "Specifies the XQuery expression to select from the message for validation" );

    pathPanel.add( pathToolbar, BorderLayout.NORTH );
    pathPanel.add( new JScrollPane( pathArea ), BorderLayout.CENTER );

    splitPane.setTopComponent( UISupport.addTitledBorder( pathPanel, "XQuery Expression" ) );

    JPanel matchPanel = new JPanel( new BorderLayout() );
    JXToolBar contentToolbar = UISupport.createToolbar();
    addMatchEditorActions( contentToolbar );

    contentArea = new JUndoableTextArea();
    contentArea.setToolTipText( "Specifies the expected result of the XQuery expression" );

    matchPanel.add( contentToolbar, BorderLayout.NORTH );
    matchPanel.add( new JScrollPane( contentArea ), BorderLayout.CENTER );
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.