Class DataExchangeSwtTableView

    • Constructor Detail

      • DataExchangeSwtTableView

        public DataExchangeSwtTableView()
    • Method Detail

      • bind

        public void bind​(TableViewModel viewModel,
                         org.eclipse.swt.widgets.Composite nativeControl)
        Description copied from class: View
        Binds the view model and native control together to this view. Override this method to customize the binding.
        Overrides:
        bind in class DtTableView
        Parameters:
        viewModel - the view model to bind.
        nativeControl - the native control to bind.
      • createColumns

        protected void createColumns​(TableViewModel viewModel,
                                     TableViewer tableViewer,
                                     CellLabelProvider labelProvider)
        Description copied from class: DtTableView
        Create columns for the table. Default implementation creates single column with configured label provider.
        Overrides:
        createColumns in class DtTableView
        Parameters:
        viewModel - the view model, cannot be null
        tableViewer - the table viewer, cannot be null