AbstractMultiGridView extends Composite implements MultiGridView<T, V>,
                                                                                                                                         RequiresResize { public ColumnMeta<T> initActionsColumn() { final ConditionalKebabActionCell<T> cell = conditionalKebabActionCell.get(); cell.setActions(getConditionalActions()); Column<T, T> actionsColumn = new Column<T, T>(cell) { @Override public T getValue(T object) { return object; } }; actionsColumn.setDataStoreName(COL_ID_ACTIONS); actionsColumn.setCellStyleNames("kie-table-view-pf-actions text-center"); Header header = new TextHeader(Constants.INSTANCE.Actions()); header.setHeaderStyleNames("text-center"); final ColumnMeta<T> actionsColMeta = new ColumnMeta<T>(actionsColumn, ""); actionsColMeta.setHeader(header); actionsColMeta.setVisibleIndex(false); return actionsColMeta; }  void displayNotification(String text); @Override void displayBlockingError(String summary,
                                     String content); @Override void clearBlockingError(); void init(final V presenter); @Override void loadListTable(final String key,
                              final Consumer<ListTable<T>> readyCallback); void showBusyIndicator(final String message); void hideBusyIndicator(); ListTable<T> getListGrid(); abstract void initColumns(ListTable<T> extendedPagedTable); void initSelectionModel(final ListTable<T> extendedPagedTable); abstract String getEmptyTableCaption(); abstract List<String> getInitColumns(); abstract List<String> getBannedColumns(); @Inject void setUserPreferencesService(final Caller<UserPreferencesService> userPreferencesService); Column<T, String> createTextColumn(final String columnId,
                                              final Function<T, String> valueFunction); Column<T, Number> createNumberColumn(final String columnId,
                                                final Function<T, Number> valueFunction); ColumnMeta<T> initChecksColumn(final ListTable<T> extendedPagedTable); ColumnMeta<T> initActionsColumn(); List<ColumnMeta<T>> renameVariables(ListTable<T> extendedPagedTable, List<ColumnMeta<T>> columnMetas); void addDomainSpecifColumns(Set<String> columns); void removeDomainSpecifColumns(); @Override void setSaveFilterCallback(final BiConsumer<String, Consumer<String>> filterNameCallback); @Override void addActiveFilter(final ActiveFilterItem<T> filter); @Override void removeActiveFilter(final ActiveFilterItem<T> filter); @Override void removeAllActiveFilters(); @Override void onResize(); @Override String getSortColumn(); @Override Boolean isSortAscending(); static final String COL_ID_SELECT; static final String COL_ID_ACTIONS; static final int ACTIONS_COLUMN_WIDTH; static final int CHECK_COLUMN_WIDTH; static final int ERROR_COLUMN_WIDTH; }
@Test public void testInitActionsColumn() { ColumnMeta columnMeta = getView().initActionsColumn(); assertEquals(false, columnMeta.isVisibleIndex()); }