Package org.pentaho.openformula.ui.table

Examples of org.pentaho.openformula.ui.table.FormulaFragmentCellEditor


    addParameterAction = new AddParameterAction();

    parameterTableModel = new FormulaParameterTableModel();
    parameterTableModel.addTableModelListener(new ParameterChangeHandler());

    systemParameterEditor = new FormulaFragmentCellEditor();
    systemParameterTable = new PropertyTable();
    systemParameterTable.setDefaultEditor(String.class, systemParameterEditor);
    systemParameterTable.setDefaultRenderer(String.class, new FormulaFragmentCellRenderer());
    systemParameterTable.setModel
        (new FilteringParameterTableModel(new FormulaParameterFilterStrategy(FormulaParameterEntity.Type.PARAMETER), parameterTableModel));

    FilteringParameterTableModel dataModel = new FilteringParameterTableModel
        (new FormulaParameterFilterStrategy(FormulaParameterEntity.Type.ARGUMENT), parameterTableModel);
    manualParameterEditor = new FormulaFragmentCellEditor();
    manualParameterTable = new PropertyTable();
    manualParameterTable.setDefaultEditor(String.class, manualParameterEditor);
    manualParameterTable.setDefaultRenderer(String.class, new FormulaFragmentCellRenderer());
    manualParameterTable.setDefaultRenderer(FormulaParameterEntity.class, new ArgumentCountCellRenderer());
    manualParameterTable.setModel(dataModel);
View Full Code Here

TOP

Related Classes of org.pentaho.openformula.ui.table.FormulaFragmentCellEditor

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.