Class ShortcutView

    • Constructor Detail

      • ShortcutView

        public ShortcutView()
    • Method Detail

      • bind

        public void bind​(ShortcutViewModel 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 AbstractDtEditorBarView<ShortcutViewModel,​org.eclipse.swt.widgets.Text>
        Parameters:
        viewModel - the view model to bind.
        nativeControl - the native control to bind.
      • computeNativeStyle

        protected int computeNativeStyle​(ShortcutViewModel viewModel)
        Description copied from class: SwtView
        Computes an SWT widget style flags. Override it to customize the flags.
        Overrides:
        computeNativeStyle in class SwtView<ShortcutViewModel,​org.eclipse.swt.widgets.Composite>
        Parameters:
        viewModel - the view model to compute a style from.
        Returns:
        the computed style.
        See Also:
        Widget.getStyle()