Class SwtSeparatorView

    • Constructor Detail

      • SwtSeparatorView

        public SwtSeparatorView()
    • Method Detail

      • createControl

        protected org.eclipse.swt.widgets.Label createControl​(org.eclipse.swt.widgets.Composite parent,
                                                              SeparatorViewModel viewModel)
        Description copied from class: SwtStandardView
        Creates a native control for the view without decorations.
        Specified by:
        createControl in class SwtStandardView<SeparatorViewModel,​org.eclipse.swt.widgets.Label>
        Parameters:
        parent - the parent composite to place a control in.
        viewModel - the view mode to create a control for.
        Returns:
        the newly created control
      • computeNativeStyle

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