Class LightListViewer<T>

    • Constructor Detail

      • LightListViewer

        public LightListViewer​(ILightComposite parent)
        Constructor. Constructed list items placed in the center and image on the left.
        Parameters:
        parent - - list parent. Cannot be null.
      • LightListViewer

        public LightListViewer​(ILightComposite parent,
                               int textLocation,
                               int imageLocation,
                               int listStyle)
        Constuctor.
        Parameters:
        parent - - list parent. Cannot be null.
        textLocation - - list text location. Can be SWT.LEFT, SWT.CENTER, or SWT.RIGHT
        imageLocation - - list image location. Can be SWT.LEFT or SWT.RIGHT
        listStyle - - list style.
        See Also:
        SWT.CENTER, SWT.RIGHT, SWT.LEFT, AbstractLightItem.setTextLocation(int), AbstractLightItem.setImageLocation(int), SWT.VERTICAL, SWT.HORIZONTAL, SWT.NONE, SWT.SINGLE, SWT.MULTI, LightList
    • Method Detail

      • getSelection

        public org.eclipse.jface.viewers.ISelection getSelection()
      • setSelection

        public void setSelection​(org.eclipse.jface.viewers.ISelection selection)
      • setRenewJobName

        public void setRenewJobName​(String renewJobName)
        Sets list renew job name.
        Parameters:
        renewJobName - - job name that will be shown on list renew. If given value is null default job name will be shown.
      • getRenewJobName

        public String getRenewJobName()
        Returns renew job name.
        Returns:
        job name that will be shown on list renew. Returned null means that there is default job name.