Class AbstractMultiGridView<T extends org.jbpm.workbench.common.model.GenericSummary,​V extends AbstractMultiGridPresenter>

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.RequiresResize, ListView<T,​V>, MultiGridView<T,​V>, org.uberfire.client.mvp.HasPresenter<V>, org.uberfire.client.mvp.UberView<V>, org.uberfire.ext.widgets.common.client.common.HasBusyIndicator

    public abstract class AbstractMultiGridView<T extends org.jbpm.workbench.common.model.GenericSummary,​V extends AbstractMultiGridPresenter>
    extends com.google.gwt.user.client.ui.Composite
    implements MultiGridView<T,​V>, com.google.gwt.user.client.ui.RequiresResize
    • Field Detail

      • notification

        @Inject
        protected javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notification
      • conditionalKebabActionCell

        @Inject
        protected org.jboss.errai.ioc.client.api.ManagedInstance<ConditionalKebabActionCell> conditionalKebabActionCell
      • placeManager

        @Inject
        protected org.uberfire.client.mvp.PlaceManager placeManager
      • preferences

        @Inject
        protected org.jbpm.workbench.common.preferences.ManagePreferences preferences
      • userPreferencesService

        protected org.jboss.errai.common.client.api.Caller<org.uberfire.ext.services.shared.preferences.UserPreferencesService> userPreferencesService
      • listTable

        protected ListTable<T extends org.jbpm.workbench.common.model.GenericSummary> listTable
      • column

        @Inject
        @DataField("column")
        protected elemental2.dom.HTMLDivElement column
      • filters

        @Inject
        @DataField("active-filters")
        protected ActiveFilters filters
      • alert

        @Inject
        @DataField("alert")
        protected BlockingError alert
    • Constructor Detail

      • AbstractMultiGridView

        public AbstractMultiGridView()
    • Method Detail

      • init

        public void init​(V presenter)
        Specified by:
        init in interface org.uberfire.client.mvp.HasPresenter<T extends org.jbpm.workbench.common.model.GenericSummary>
      • controlBulkOperations

        protected void controlBulkOperations​(ListTable<T> extendedPagedTable)
      • enableWidgets

        protected void enableWidgets​(com.google.gwt.user.client.ui.Widget widget,
                                     boolean enable)
      • addColumnSortHandler

        protected void addColumnSortHandler​(ExtendedPagedTable listTable)
      • addNewTableToColumn

        protected void addNewTableToColumn​(ListTable<T> newListGrid)
      • initGenericColumn

        protected com.google.gwt.user.cellview.client.Column initGenericColumn​(String key)
      • showBusyIndicator

        public void showBusyIndicator​(String message)
        Specified by:
        showBusyIndicator in interface org.uberfire.ext.widgets.common.client.common.HasBusyIndicator
      • hideBusyIndicator

        public void hideBusyIndicator()
        Specified by:
        hideBusyIndicator in interface org.uberfire.ext.widgets.common.client.common.HasBusyIndicator
      • initColumns

        public abstract void initColumns​(ListTable<T> extendedPagedTable)
      • initSelectionModel

        public void initSelectionModel​(ListTable<T> extendedPagedTable)
      • hasBulkActions

        protected boolean hasBulkActions()
      • getEmptyTableCaption

        public abstract String getEmptyTableCaption()
      • getInitColumns

        public abstract List<String> getInitColumns()
      • getBannedColumns

        public abstract List<String> getBannedColumns()
      • setUserPreferencesService

        @Inject
        public void setUserPreferencesService​(org.jboss.errai.common.client.api.Caller<org.uberfire.ext.services.shared.preferences.UserPreferencesService> userPreferencesService)
      • createTextColumn

        public com.google.gwt.user.cellview.client.Column<T,​String> createTextColumn​(String columnId,
                                                                                           Function<T,​String> valueFunction)
      • initBulkActions

        protected void initBulkActions​(ExtendedPagedTable<T> extendedPagedTable)
      • getBulkActionsItems

        protected List<org.gwtbootstrap3.client.ui.AnchorListItem> getBulkActionsItems​(ExtendedPagedTable<T> extendedPagedTable)
      • createNumberColumn

        public com.google.gwt.user.cellview.client.Column<T,​Number> createNumberColumn​(String columnId,
                                                                                             Function<T,​Number> valueFunction)
      • initChecksColumn

        public org.uberfire.ext.widgets.table.client.ColumnMeta<T> initChecksColumn​(ListTable<T> extendedPagedTable)
      • isColumnAdded

        protected boolean isColumnAdded​(List<org.uberfire.ext.widgets.table.client.ColumnMeta<T>> columnMetas,
                                        String caption)
      • existsColumnWithSameName

        protected boolean existsColumnWithSameName​(org.uberfire.ext.services.shared.preferences.GridColumnPreference gridColumnPreference,
                                                   List<org.uberfire.ext.widgets.table.client.ColumnMeta<T>> columns)
      • initActionsColumn

        public org.uberfire.ext.widgets.table.client.ColumnMeta<T> initActionsColumn()
      • renameVariables

        public List<org.uberfire.ext.widgets.table.client.ColumnMeta<T>> renameVariables​(ListTable<T> extendedPagedTable,
                                                                                         List<org.uberfire.ext.widgets.table.client.ColumnMeta<T>> columnMetas)
      • addDomainSpecifColumns

        public void addDomainSpecifColumns​(Set<String> columns)
      • removeDomainSpecifColumns

        public void removeDomainSpecifColumns()
      • onResize

        public void onResize()
        Specified by:
        onResize in interface com.google.gwt.user.client.ui.RequiresResize
      • reloadColumnSortList

        protected void reloadColumnSortList()