Class SwtLinkView

java.lang.Object
com._1c.g5.aef2.views.View<SwtRenderingParameters,VM,NC>
com._1c.g5.aef2.swt.views.SwtView<VM,NC>
com._1c.g5.aef2.standard.swt.views.SwtStandardView<LinkViewModel,org.eclipse.ui.forms.widgets.Hyperlink>
com._1c.g5.aef2.standard.swt.views.SwtLinkView
All Implemented Interfaces:
IView<SwtRenderingParameters,LinkViewModel,org.eclipse.ui.forms.widgets.Hyperlink>

public class SwtLinkView extends SwtStandardView<LinkViewModel,org.eclipse.ui.forms.widgets.Hyperlink>
SWT link view.
  • Constructor Details

    • SwtLinkView

      public SwtLinkView()
  • Method Details

    • bind

      protected void bind(LinkViewModel viewModel, org.eclipse.ui.forms.widgets.Hyperlink 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<LinkViewModel,org.eclipse.ui.forms.widgets.Hyperlink>
      Parameters:
      viewModel - the view model to bind.
      nativeControl - the native control to bind.
    • createControl

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