Package org.pentaho.reporting.designer.core.util.table

Examples of org.pentaho.reporting.designer.core.util.table.ElementMetaDataTable


  private CrosstabOptionsTableModel tableModel;

  public CrosstabOptionsPane()
  {
    tableModel = createOptions();
    metaDataTable = new ElementMetaDataTable();
    metaDataTable.setModel(new GroupedMetaTableModel(tableModel));

    setLayout(new BorderLayout());
    add(new JScrollPane(metaDataTable));
  }
View Full Code Here


    dateFormatModel = new ArrayTableModel();
    dateFormatModel.setColumnTitle(SettingsMessages.getInstance().getString("FormatEditorDialog.DateFormat"));
    numberFormatModel = new ArrayTableModel();
    numberFormatModel.setColumnTitle(SettingsMessages.getInstance().getString("FormatEditorDialog.NumberFormat"));

    dateFormatTable = new ElementMetaDataTable();
    dateFormatTable.setModel(dateFormatModel);
    numberFormatTable = new ElementMetaDataTable();
    numberFormatTable.setModel(numberFormatModel);

    final JPanel panel = new JPanel(new GridLayout(1, 2));
    panel.add(createTablePanel(numberFormatTable, numberFormatModel));
    panel.add(createTablePanel(dateFormatTable, dateFormatModel));
View Full Code Here

  {
    setLayout(new BorderLayout());

    dataModel = new ExpressionPropertiesTableModel();

    table = new ElementMetaDataTable();
    table.setModel(new GroupedMetaTableModel(dataModel));
    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());

    headerPanel = new SortHeaderPanel(dataModel);
View Full Code Here

  {
    setLayout(new BorderLayout());

    dataModel = createDataModel();

    table = new ElementMetaDataTable();
    table.setModel(new GroupedMetaTableModel(dataModel));
    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());
    applyHeaderSize(table.getColumnModel().getColumn(1));
    applyHeaderSize(table.getColumnModel().getColumn(3));
View Full Code Here

    advancedEditorAction = new ShowAdvancedEditorAction();

    parameterTableModel = new DrillDownParameterTableModel();
    parameterTableModel.addTableModelListener(new DrillDownParameterChangeHandler());

    allInOneTable = new ElementMetaDataTable();
    allInOneTable.setFormulaFragment(true);
    allInOneTable.setDefaultEditor(GroupedName.class, new GroupedNameCellEditor());
    allInOneTable.setDefaultRenderer(String.class, new FormulaFragmentCellRenderer());
    allInOneTable.setModel(new GroupedMetaTableModel(parameterTableModel));

    allInOneRemoveAction = new RemoveParameterAction(allInOneTable);

    systemParameterTable = new ElementMetaDataTable();
    systemParameterTable.setFormulaFragment(true);
    systemParameterTable.setDefaultEditor(GroupedName.class, new GroupedNameCellEditor());
    systemParameterTable.setDefaultRenderer(String.class, new FormulaFragmentCellRenderer());
    systemParameterTable.setModel
        (new FilteringParameterTableModel(DrillDownParameter.Type.SYSTEM, parameterTableModel, true));

    manualParameterTable = new ElementMetaDataTable();
    manualParameterTable.setFormulaFragment(true);
    manualParameterTable.setDefaultEditor(GroupedName.class, new GroupedNameCellEditor());
    manualParameterTable.setDefaultRenderer(String.class, new FormulaFragmentCellRenderer());
    manualParameterTable.setModel
        (new FilteringParameterTableModel(DrillDownParameter.Type.MANUAL, parameterTableModel));
    manualParameterRemoveAction = new RemoveParameterAction(manualParameterTable);

    predefinedParameterTable = new ElementMetaDataTable();
    predefinedParameterTable.setFormulaFragment(true);
    predefinedParameterTable.setDefaultEditor(GroupedName.class, new GroupedNameCellEditor());
    predefinedParameterTable.setDefaultRenderer(String.class, new FormulaFragmentCellRenderer());
    predefinedParameterTable.setModel
        (new FilteringParameterTableModel(DrillDownParameter.Type.PREDEFINED, parameterTableModel));
View Full Code Here

    {
      throw new NullPointerException();
    }

    setTitle(Messages.getString("SystemParameterDialog.Title"));
    systemParameterTable = new ElementMetaDataTable();
    systemParameterTable.setReportDesignerContext(reportDesignerContext);
    systemParameterTable.setFormulaFragment(true);
    systemParameterTable.setDefaultEditor(GroupedName.class, new GroupedNameCellEditor());
    systemParameterTable.setDefaultRenderer(String.class, new FormulaFragmentCellRenderer());
    systemParameterTable.setModel(new FilteringParameterTableModel(DrillDownParameter.Type.SYSTEM, parameterTableModel));
View Full Code Here

    this.editorContext = editorContext;

    dataModel = new SimpleStyleTableModel();


    table = new ElementMetaDataTable();
    table.setModel(new GroupedMetaTableModel(dataModel));
    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());
    applyHeaderSize(table.getColumnModel().getColumn(1));

    changeHandler = new ReportModelChangeHandler(editorContext);
View Full Code Here

    {
      setLayout(new BorderLayout());

      dataModel = new ReportPreProcessorPropertiesTableModel();

      table = new ElementMetaDataTable();
      table.setModel(dataModel);

      headerPanel = new SortHeaderPanel(dataModel);

      add(headerPanel, BorderLayout.NORTH);
View Full Code Here

  {
    setLayout(new BorderLayout());
    changeHandler = new ReportModelChangeHandler();
    dataModel = new AttributeTableModel();

    table = new ElementMetaDataTable();
    table.setModel(dataModel);
    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());

    headerPanel = new SortHeaderPanel(dataModel);
View Full Code Here

    setLayout(new BorderLayout());

    dataModel = new VisualAttributeTableModel();
    changeHandler = new ReportModelChangeHandler();

    table = new ElementMetaDataTable();
    table.setModel(new GroupedMetaTableModel(dataModel));
    table.getColumnModel().getColumn(0).setCellRenderer(new GroupedNameCellRenderer());
    applyHeaderSize(table.getColumnModel().getColumn(2));

    headerPanel = new SortHeaderPanel(dataModel);
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.util.table.ElementMetaDataTable

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.