Package org.fife.ui.rtextarea

Examples of org.fife.ui.rtextarea.RTextScrollPane


    
        JPopupMenu popup = jep.getPopupMenu();
        popup.addSeparator();
        popup.add(new JMenuItem(new plotSignalAction()));
       
        scrPane = new RTextScrollPane(jep);
        //scrPane.setFoldIndicatorEnabled(true);
       
        JPanel  overlayPanel = new JPanel();
        overlayPanel.setLayout(new OverlayLayout(overlayPanel ));
        overlayPanel.add(progressBar);
View Full Code Here


        cudaArea.setFont(new Font(GlobalValues.paneFontName, Font.PLAIN, GlobalValues.paneFontSize));
     
        cudaArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_SCALA);
        cudaArea.setCodeFoldingEnabled(true);
       
     RTextScrollPane  cudaScrPane = new RTextScrollPane(cudaArea);
    
     JFrame cudaHelpFrame = new JFrame("CUDA Configuration Information");
     cudaHelpFrame.add(cudaScrPane);
     cudaHelpFrame.setLocation(200, 200);
     cudaHelpFrame.pack();
View Full Code Here

          }
        }
      }
    });
    RTextScrollPane sp = new RTextScrollPane(textArea);
    sp.setFoldIndicatorEnabled(true);
    sp.setIconRowHeaderEnabled(true);
   
    Gutter gutter = sp.getGutter();
    try {
      Icon icon = new ImageIcon(ImageIO.read(getClass().getResource("/breakpoint.png")));
      GutterIconInfo info = gutter.addLineTrackingIcon(0, icon);
     
   
View Full Code Here

    syntaxBox.addActionListener(new SyntaxHighlightAction());
    syntaxSelectionPane.add(syntaxBox);

    final JPanel contentPane = new JPanel();
    contentPane.setLayout(new BorderLayout());
    contentPane.add(new RTextScrollPane(500, 300, textArea, true), BorderLayout.CENTER);
    contentPane.add(syntaxBox, BorderLayout.NORTH);

    tab = new JTabbedPane();
    tab.addTab(UtilMessages.getInstance().getString("QuerySelectorDialog.DefinedQueries"), new JScrollPane(fieldList));
    tab.addTab(UtilMessages.getInstance().getString("QuerySelectorDialog.CustomQuery"), contentPane);
View Full Code Here

    textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_NONE);

    final JPanel queryContentHolder = new JPanel(new BorderLayout());
    queryContentHolder.add(BorderLayout.NORTH,
        new JLabel(EditorExpressionsMessages.getString("ScriptingExpressionEditor.Script")));
    queryContentHolder.add(BorderLayout.CENTER, new RTextScrollPane(500, 300, textArea, true));


    panel = new JPanel();
    panel.setLayout(new BorderLayout());
    panel.add(queryContentHolder, BorderLayout.CENTER);
View Full Code Here

    syntaxSelectionPane.setLayout(new FlowLayout());
    syntaxSelectionPane.add(syntaxBox);

    final JPanel contentPane = new JPanel();
    contentPane.setLayout(new BorderLayout());
    contentPane.add(new RTextScrollPane(500, 300, (RSyntaxTextArea) getTextArea(), true), BorderLayout.CENTER);
    contentPane.add(syntaxBox, BorderLayout.NORTH);

    return contentPane;
  }
View Full Code Here

  protected Component createContentPane()
  {
    final JPanel initScriptContentHolder = new JPanel(new BorderLayout());
    initScriptContentHolder.add(BorderLayout.NORTH, new JLabel(Messages.getString("ScriptableDataSourceEditor.InitScript")));
    initScriptContentHolder.add(BorderLayout.CENTER, new RTextScrollPane(500, 600, initScriptTextArea, true));

    final JPanel shutdownScriptContentHolder = new JPanel(new BorderLayout());
    shutdownScriptContentHolder.add(BorderLayout.NORTH, new JLabel(Messages.getString("ScriptableDataSourceEditor.ShutdownScript")));
    shutdownScriptContentHolder.add(BorderLayout.CENTER, new RTextScrollPane(500, 600, shutdownScriptTextArea, true));

    final JPanel queryDetailsNamePanel = new JPanel(new BorderLayout());
    queryDetailsNamePanel.add(new JLabel(Messages.getString("ScriptableDataSourceEditor.QueryName")), BorderLayout.NORTH);
    queryDetailsNamePanel.add(queryNameTextField, BorderLayout.CENTER);

    final JPanel queryContentHolder = new JPanel(new BorderLayout());
    queryContentHolder.add(BorderLayout.NORTH, new JLabel(Messages.getString("ScriptableDataSourceEditor.QueryLabel")));
    queryContentHolder.add(BorderLayout.CENTER, new RTextScrollPane(500, 300, queryTextArea, true));

    // Create the query details panel
    final JPanel queryDetailsPanel = new JPanel(new BorderLayout());
    queryDetailsPanel.setBorder(new EmptyBorder(0, 8, 8, 8));
    queryDetailsPanel.add(BorderLayout.NORTH, queryDetailsNamePanel);
View Full Code Here

    queryScriptHeader.add(queryLanguageField);
    queryScriptHeader.add(queryHeader2);

    final JPanel queryScriptContentHolder = new JPanel(new BorderLayout());
    queryScriptContentHolder.add(queryScriptHeader, BorderLayout.NORTH);
    queryScriptContentHolder.add(new RTextScrollPane(700, 300, queryScriptTextArea, true), BorderLayout.CENTER);
    return queryScriptContentHolder;
  }
View Full Code Here

    globalScriptHeader.add(globalLanguageField);
    globalScriptHeader.add(globalHeader2);

    final JPanel globalScriptContentHolder = new JPanel(new BorderLayout());
    globalScriptContentHolder.add(globalScriptHeader, BorderLayout.NORTH);
    globalScriptContentHolder.add(new RTextScrollPane(700, 600, globalScriptTextArea, true), BorderLayout.CENTER);
    return globalScriptContentHolder;
  }
View Full Code Here

    }
  }

  protected JComponent getQueryEditor()
  {
    return new RTextScrollPane(500, 300, queryTextArea, true);
  }
View Full Code Here

TOP

Related Classes of org.fife.ui.rtextarea.RTextScrollPane

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.