Class FormTableViewer

    • Constructor Detail

      • FormTableViewer

        public FormTableViewer​(org.eclipse.swt.widgets.Composite parent)
        Creates a table viewer on a newly-created table control under the given parent. The table control is created using the SWT style bits MULTI, H_SCROLL, V_SCROLL, and BORDER. The viewer has no input, no content provider, a default label provider, no sorter, and no filters. The table has no columns.
        Parameters:
        parent - the parent control
      • FormTableViewer

        public FormTableViewer​(org.eclipse.swt.widgets.Composite parent,
                               int style)
        Creates a table viewer on a newly-created table control under the given parent. The table control is created using the given style bits. The viewer has no input, no content provider, a default label provider, no sorter, and no filters. The table has no columns.
        Parameters:
        parent - the parent control
        style - SWT style bits
      • FormTableViewer

        public FormTableViewer​(org.eclipse.swt.widgets.Table table)
        Creates a table viewer on the given table control. The viewer has no input, no content provider, a default label provider, no sorter, and no filters.
        Parameters:
        table - the table control
    • Method Detail

      • getDomainSelection

        public com._1c.g5.v8.dt.form.internal.ui.editor.DomainSelection getDomainSelection()
        Description copied from interface: com._1c.g5.v8.dt.form.internal.ui.editor.IDomainSelectionProvider
        Returns current domain selection.
        Specified by:
        getDomainSelection in interface com._1c.g5.v8.dt.form.internal.ui.editor.IDomainSelectionProvider
        Returns:
        current domain selection
      • setDomainSelection

        public void setDomainSelection​(com._1c.g5.v8.dt.form.internal.ui.editor.DomainSelection selection)
        Description copied from interface: com._1c.g5.v8.dt.form.internal.ui.editor.IDomainSelectionProvider
        Sets new domain selection.
        Specified by:
        setDomainSelection in interface com._1c.g5.v8.dt.form.internal.ui.editor.IDomainSelectionProvider
        Parameters:
        selection - new domain selection
      • setComparator

        protected void setComparator()
        Sets the named element table viewer comparator.