Package org.jitterbit.ui.widget.table

Examples of org.jitterbit.ui.widget.table.TableEnumEditor


        MessagePropertiesTableRenderers.install(table);
    }

    private void setEditors(KongaTable table) {
        table.setDefaultEditor(String.class, new TableStringEditor());
        TableEnumEditor typeEditor = new TableEnumEditor(MessagePropertyType.class);
        typeEditor.setComboBoxRenderer(new TypeListRenderer());
        table.setDefaultEditor(MessagePropertyType.class, typeEditor);
    }
View Full Code Here


    private void installEditors(KongaTable table) {
        TableStringEditor stringEditor = new TableStringEditor();
        stringEditor.setClickCountToStart(1);
        table.setCellEditorAt(1, stringEditor);
        TableEnumEditor enumEditor = new TableEnumEditor(SortOrder.class);
        enumEditor.setClickCountToStart(1);
        table.setCellEditorAt(2, enumEditor);
        table.setTerminateEditOnFocusLost(true);
    }
View Full Code Here

    }

    private void setOccurrenceEditor(DocDefTableUi ui) {
        // Use a combobox with the different SegmentOccurrence enumerations
        // as editor for the Occurrence column:
        ui.setCellEditorFor(SegmentTableModel.OCCURRENCE, new TableEnumEditor(SegmentOccurrence.class));
    }
View Full Code Here

    @Override
    protected void setEditors(DocDefTableUi ui) {
        TableColumnMetaData md = getTypeColumn();
        int index = ui.indexOfColumn(md);
        TableColumn column = ui.getColumnModel().getColumn(index);
        column.setCellEditor(new TableEnumEditor(validTypes));
    }
View Full Code Here

        return new KongaRowTable(table);
    }

    private void installEditors(KongaTable table) {
        table.setCellEditorFor(Model.NAME, new TableStringEditor());
        table.setCellEditorFor(Model.DATA_TYPE, new TableEnumEditor(AttributeDataType.class));
        table.setCellEditorFor(Model.USE, new TableEnumEditor(AttributeUse.class));
        table.setCellEditorFor(Model.CARDINALITY, new TableEnumEditor(AttributeCardinality.class));
    }
View Full Code Here

        return new KongaRowTable(table);
    }

    private void installRenderersAndEditors(KongaTable table) {
        table.setCellRendererFor(OperationTableModel.OPERATION, new NameRenderer());
        table.setCellEditorFor(OperationTableModel.MODE, new TableEnumEditor(OperationRunMode.class));
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.table.TableEnumEditor

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.