Class DefaultXViewerControlFactory

  • All Implemented Interfaces:
    XViewerControlFactory

    public class DefaultXViewerControlFactory
    extends java.lang.Object
    implements XViewerControlFactory
    Possible controls in the DefaultXViewerControlFactory(07.10.2010):
    - org.eclipse.swt.widgets.Text
    - org.eclipse.swt.widgets.Combo
    - org.eclipse.swt.widgets.DateTime

    if you need other controls create your own class implementing the XViewerControlFactory
    • Constructor Detail

      • DefaultXViewerControlFactory

        public DefaultXViewerControlFactory()
    • Method Detail

      • createControl

        public org.eclipse.swt.widgets.Control createControl​(CellEditDescriptor ced,
                                                             XViewer xv)
        Description copied from interface: XViewerControlFactory
        with the CellEditDescriptor u can get the type of the control and the style
        Specified by:
        createControl in interface XViewerControlFactory
        See Also:
        net.uniopt.jface.viewers.XViewerControlFactory#createControl(net.uniopt.jface.viewers.CellEditDescriptor, org.eclipse.nebula.widgets.xviewer.XViewer)