Class EnterNumberDialog

  • Direct Known Subclasses:
    GetFieldsSampleDataDialog

    public class EnterNumberDialog
    extends org.eclipse.swt.widgets.Dialog
    This dialog allows you to enter a number.
    Since:
    19-06-2003
    Author:
    Matt
    • Field Detail

      • wNumber

        protected org.eclipse.swt.widgets.Text wNumber
      • wOK

        protected org.eclipse.swt.widgets.Button wOK
      • wCancel

        protected org.eclipse.swt.widgets.Button wCancel
      • wCheckbox

        protected org.eclipse.swt.widgets.Button wCheckbox
      • shell

        protected org.eclipse.swt.widgets.Shell shell
      • samples

        protected int samples
    • Constructor Detail

      • EnterNumberDialog

        @Deprecated
        public EnterNumberDialog​(org.eclipse.swt.widgets.Shell parent,
                                 PropsUI props,
                                 int samples,
                                 String shellText,
                                 String lineText)
        Deprecated.
        Use the CT without the Props parameter (at 2nd position)
      • EnterNumberDialog

        public EnterNumberDialog​(org.eclipse.swt.widgets.Shell parent,
                                 int samples,
                                 String shellText,
                                 String lineText)
      • EnterNumberDialog

        public EnterNumberDialog​(org.eclipse.swt.widgets.Shell parent,
                                 int samples,
                                 String shellText,
                                 String lineText,
                                 String checkboxLabel,
                                 int width)
      • EnterNumberDialog

        public EnterNumberDialog​(org.eclipse.swt.widgets.Shell parent,
                                 int samples,
                                 String shellText,
                                 String lineText,
                                 String checkboxLabel)
    • Method Detail

      • open

        public int open()
      • dispose

        public void dispose()
      • getData

        public void getData()
      • ok

        protected void ok()
      • setHideCancel

        public void setHideCancel​(boolean hideCancel)