Class DtPictureView

    • Constructor Detail

      • DtPictureView

        public DtPictureView()
    • Method Detail

      • bind

        protected void bind​(PictureViewModel viewModel,
                            org.eclipse.swt.widgets.Label 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<PictureViewModel,​org.eclipse.swt.widgets.Label>
        Parameters:
        viewModel - the view model to bind.
        nativeControl - the native control to bind.
      • createControl

        protected org.eclipse.swt.widgets.Label createControl​(org.eclipse.swt.widgets.Composite parent,
                                                              PictureViewModel viewModel)
        Description copied from class: SwtStandardView
        Creates a native control for the view without decorations.
        Specified by:
        createControl in class SwtStandardView<PictureViewModel,​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