Search in sources :

Example 1 with ColumnsTableField

use of org.eclipse.scout.rt.client.ui.basic.table.organizer.ShowInvisibleColumnsForm.MainBox.GroupBox.ColumnsTableField in project scout.rt by eclipse.

the class ShowInvisibleColumnsFormTest method testModifyHandler.

@Test
public void testModifyHandler() {
    ShowInvisibleColumnsForm form = getForm();
    form.startModify();
    ColumnsTableField tableField = form.getColumnsTableField();
    Table table = tableField.getTable();
    List<IColumn<?>> columns = table.getKeyColumn().getValues();
    assertEquals(Arrays.asList(m_column3, m_column1), columns);
    form.touch();
    form.doClose();
}
Also used : Table(org.eclipse.scout.rt.client.ui.basic.table.organizer.ShowInvisibleColumnsForm.MainBox.GroupBox.ColumnsTableField.Table) ITable(org.eclipse.scout.rt.client.ui.basic.table.ITable) ColumnsTableField(org.eclipse.scout.rt.client.ui.basic.table.organizer.ShowInvisibleColumnsForm.MainBox.GroupBox.ColumnsTableField) IColumn(org.eclipse.scout.rt.client.ui.basic.table.columns.IColumn) Test(org.junit.Test)

Aggregations

ITable (org.eclipse.scout.rt.client.ui.basic.table.ITable)1 IColumn (org.eclipse.scout.rt.client.ui.basic.table.columns.IColumn)1 ColumnsTableField (org.eclipse.scout.rt.client.ui.basic.table.organizer.ShowInvisibleColumnsForm.MainBox.GroupBox.ColumnsTableField)1 Table (org.eclipse.scout.rt.client.ui.basic.table.organizer.ShowInvisibleColumnsForm.MainBox.GroupBox.ColumnsTableField.Table)1 Test (org.junit.Test)1