*/
public class CustomerPage extends AbstractDataPageView<Customer> {
@Override
public void addTableColumns() {
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.CompanyName"),
"companyName", String.class, 300));
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.FirstName"),
"contactFirstName", String.class, 200));
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.LastName"),
"contactLastName", String.class, 200));
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.Category"),
"category", Category.class, 200));
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.Phone"),
"phone", String.class, 150));
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.Mobile"),
"mobile", String.class, 150, false, false));
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.Fax"),
"fax", String.class, 150, false, false));
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.Email"),
"email", String.class, 150));
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.Homepage"),
"homepage", String.class, 150, false, false));
getTableModel().addColumn(new EntityTableColumn(
I18n.CUSTOMERS.getString("Customer.Page.Active"),
"active", Boolean.class, 50, false, false));
}