Example #1
0
 @Override
 protected void createColumns(final Object... params) {
   final CoreConfiguration c = Client.config();
   createColumn(
       S.WAREHOUSE_LOGTABLE_WHEN.s(),
       c.TableColumnWidth_Warehouse_Log_Date,
       c.TableColumnWidth_Default_DateTimeNoSeconds);
   createColumn(
       S.WAREHOUSE_LOGTABLE_BY.s(),
       c.TableColumnWidth_Warehouse_Log_By,
       c.TableColumnWidth_Default_Username);
   createColumn(
       S.WAREHOUSE_LOGTABLE_CHANGE.s(),
       c.TableColumnWidth_Warehouse_Log_Change,
       c.TableColumnWidth_Default);
   createColumn(
       S.WAREHOUSE_LOGTABLE_COMMENTS.s(),
       c.TableColumnWidth_Warehouse_Log_Comments,
       c.TableColumnWidth_Default);
 }
 @Override
 protected void createColumns(final Object... params) {
   final CoreConfiguration c = Client.config();
   createColumn(
       S.WAREHOUSE_ITEM_REPORT_DATE.s(),
       c.TableColumnWidth_Default_Date,
       c.TableColumnWidth_Warehouse_ItemReport_Date,
       c.TableColumnWidth_Default);
   createColumn(
       S.WAREHOUSE_ITEM_REPORT_INITIAL.s(),
       c.TableColumnWidth_Warehouse_ItemReport_Ammount,
       c.TableColumnWidth_Default);
   createColumn(
       S.WAREHOUSE_ITEM_REPORT_DELTA.s(),
       c.TableColumnWidth_Warehouse_ItemReport_Ammount,
       c.TableColumnWidth_Default);
   final String[] columns = (String[]) params[0];
   for (final String col : columns) {
     createColumn(
         col, c.TableColumnWidth_Warehouse_ItemReport_Ammount, c.TableColumnWidth_Default);
   }
 }