Class SwtGanttChartScalingView

    • Constructor Detail

      • SwtGanttChartScalingView

        public SwtGanttChartScalingView()
    • Method Detail

      • bind

        public void bind​(GanttChartScalingViewModel viewModel,
                         org.eclipse.swt.widgets.Control 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 SwtStandardView<GanttChartScalingViewModel,​org.eclipse.swt.widgets.Control>
        Parameters:
        viewModel - the view model to bind.
        nativeControl - the native control to bind.
      • unbind

        public void unbind​(GanttChartScalingViewModel viewModel,
                           org.eclipse.swt.widgets.Control nativeControl)
        Description copied from class: View
        Unbinds the view model and the native control from this view. Override this method to customize the unbinding.
        Overrides:
        unbind in class View<SwtRenderingParameters,​GanttChartScalingViewModel,​org.eclipse.swt.widgets.Control>
        Parameters:
        viewModel - the view mode to unbind.
        nativeControl - the native control to unbind.
      • createControl

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