Class AbstractHeavyWrapperView<VM extends ControlViewModel,​LC extends SwtLightControl,​NC extends org.eclipse.swt.widgets.Control>

    • Constructor Detail

      • AbstractHeavyWrapperView

        public AbstractHeavyWrapperView()
    • Method Detail

      • createHeavyControl

        protected abstract NC createHeavyControl​(org.eclipse.swt.widgets.Composite composite,
                                                 VM viewModel)
        Creates SWT control.
        Parameters:
        composite - the composite.
        viewModel - the view model.
        Returns:
        the newly created SWT control.
      • wrapHeavyControl

        protected abstract LC wrapHeavyControl​(NC control)
        Wraps heavy control into light control.
        Parameters:
        control - the native control.
        Returns:
        light control.