Package com.intellij.util.ui

Examples of com.intellij.util.ui.Table


     * @param pPsiFile the file to edit
     * @param pModel   the model to use
     */
    public CRUDTablePanel(final PsiFile pPsiFile,
                          final ModelType pModel) {
        super(new Table(),
              true,
              false,
              true,
              true,
              pPsiFile.getProject(),
View Full Code Here


  protected OrderPanel(Class<T> entryClass, boolean showSheckboxes) {
    super(new BorderLayout());

    myEntryClass = entryClass;

    myEntryTable = new Table(new MyTableModel(showSheckboxes));
    myEntryTable.setShowGrid(false);
    myEntryTable.setDragEnabled(false);
    myEntryTable.setShowHorizontalLines(false);
    myEntryTable.setShowVerticalLines(false);
    myEntryTable.setIntercellSpacing(new Dimension(0, 0));
View Full Code Here

          ExcludeEntryDescription description = myExcludeEntryDescriptions.get(row);
          description.setIncludeSubdirectories(aValue.equals(Boolean.TRUE));
        }
      };

      myExcludedTable = new Table(dataModel);
      myExcludedTable.setPreferredScrollableViewportSize(new Dimension(300, myExcludedTable.getRowHeight() * 6));
      myExcludedTable.setDefaultRenderer(Boolean.class, new BooleanRenderer());
      myExcludedTable.setDefaultRenderer(Object.class, new MyObjectRenderer());
      myExcludedTable.getColumn(names[0]).setPreferredWidth(350);
      myExcludedTable.getColumn(names[1]).setPreferredWidth(140);
View Full Code Here

  public ClassFilterEditor(Project project, TreeClassChooser.ClassFilter classFilter) {
    super(new GridBagLayout());
    myAddClassButton = new JButton(UIBundle.message("button.add.class"));
    myAddPatternButton = new JButton(getAddPatternButtonText());
    myRemoveButton = new JButton(UIBundle.message("button.remove"));
    myTable = new Table();
    JScrollPane scrollPane = ScrollPaneFactory.createScrollPane(myTable);

    add(scrollPane, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 3, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(4, 4, 4, 6), 0, 0));
    add(myAddClassButton, new GridBagConstraints(1, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(4, 0, 0, 4), 0, 0));
    add(myAddPatternButton, new GridBagConstraints(1, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(4, 0, 0, 4), 0, 0));
View Full Code Here

TOP

Related Classes of com.intellij.util.ui.Table

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.