    private void addContentTab()
    {
        wContentTab=new CTabItem(wTabFolder, SWT.NONE);
        wContentTab.setText(Messages.getString("TextFileInputDialog.ContentTab.TabTitle"));
        FormLayout contentLayout = new FormLayout ();
        contentLayout.marginWidth  = 3;
        contentLayout.marginHeight = 3;
        wContentSComp = new ScrolledComposite(wTabFolder, SWT.V_SCROLL | SWT.H_SCROLL );
        wContentSComp.setLayout(new FillLayout());
        wContentComp = new Composite(wContentSComp, SWT.NONE );
        props.setLook(wContentComp);
        wContentComp.setLayout(contentLayout);
        wlFiletype=new Label(wContentComp, SWT.RIGHT);
        wlFiletype.setText(Messages.getString("TextFileInputDialog.Filetype.Label"));
        props.setLook(wlFiletype);
        fdlFiletype=new FormData();
        fdlFiletype.left = new FormAttachment(0, 0);
        fdlFiletype.top  = new FormAttachment(0, 0);
        fdlFiletype.right= new FormAttachment(middle, -margin);
        wlFiletype.setLayoutData(fdlFiletype);
        wFiletype=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY);
        wFiletype.setText(Messages.getString("TextFileInputDialog.Filetype.Label"));
        props.setLook(wFiletype);
        wFiletype.add("CSV");
        wFiletype.add("Fixed");
        wFiletype.select(0);
        wFiletype.addModifyListener(lsMod);
        fdFiletype=new FormData();
        fdFiletype.left = new FormAttachment(middle, 0);
        fdFiletype.top  = new FormAttachment(0, 0);
        fdFiletype.right= new FormAttachment(100, 0);
        wFiletype.setLayoutData(fdFiletype);
        wlSeparator=new Label(wContentComp, SWT.RIGHT);
        wlSeparator.setText(Messages.getString("TextFileInputDialog.Separator.Label"));
        props.setLook(wlSeparator);
        fdlSeparator=new FormData();
        fdlSeparator.left = new FormAttachment(0, 0);
        fdlSeparator.top  = new FormAttachment(wFiletype, margin);
        fdlSeparator.right= new FormAttachment(middle, -margin);
        wlSeparator.setLayoutData(fdlSeparator);
        wbSeparator=new Button(wContentComp, SWT.PUSH| SWT.CENTER);
        props.setLook(wbSeparator);
        wbSeparator.setText(Messages.getString("TextFileInputDialog.Separator.Button"));
        fdbSeparator=new FormData();
        fdbSeparator.right= new FormAttachment(100, 0);
        fdbSeparator.top  = new FormAttachment(wFiletype, 0);
        wbSeparator.setLayoutData(fdbSeparator);
        wSeparator=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wSeparator);
        wSeparator.addModifyListener(lsMod);
        fdSeparator=new FormData();
        fdSeparator.left = new FormAttachment(middle, 0);
        fdSeparator.top  = new FormAttachment(wFiletype, margin);
        fdSeparator.right= new FormAttachment(wbSeparator, -margin);
        wSeparator.setLayoutData(fdSeparator);
        wlEnclosure=new Label(wContentComp, SWT.RIGHT);
        wlEnclosure.setText(Messages.getString("TextFileInputDialog.Enclosure.Label"));
        props.setLook(wlEnclosure);
        fdlEnclosure=new FormData();
        fdlEnclosure.left = new FormAttachment(0, 0);
        fdlEnclosure.top  = new FormAttachment(wSeparator, margin);
        fdlEnclosure.right= new FormAttachment(middle, -margin);
        wlEnclosure.setLayoutData(fdlEnclosure);
        wEnclosure=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wEnclosure);
        wEnclosure.addModifyListener(lsMod);
        fdEnclosure=new FormData();
        fdEnclosure.left = new FormAttachment(middle, 0);
        fdEnclosure.top  = new FormAttachment(wSeparator, margin);
        fdEnclosure.right= new FormAttachment(100, 0);
        wEnclosure.setLayoutData(fdEnclosure);
        wlEnclBreaks=new Label(wContentComp, SWT.RIGHT);
        wlEnclBreaks.setText(Messages.getString("TextFileInputDialog.EnclBreaks.Label"));
        props.setLook(wlEnclBreaks);
        fdlEnclBreaks=new FormData();
        fdlEnclBreaks.left = new FormAttachment(0, 0);
        fdlEnclBreaks.top  = new FormAttachment(wEnclosure, margin);
        fdlEnclBreaks.right= new FormAttachment(middle, -margin);
        wlEnclBreaks.setLayoutData(fdlEnclBreaks);
        wEnclBreaks=new Button(wContentComp, SWT.CHECK);
        props.setLook(wEnclBreaks);
        fdEnclBreaks=new FormData();
        fdEnclBreaks.left = new FormAttachment(middle, 0);
        fdEnclBreaks.top  = new FormAttachment(wEnclosure, margin);
        wEnclBreaks.setLayoutData(fdEnclBreaks);
        wlEnclBreaks.setEnabled(false);
        wEnclBreaks.setEnabled(false);
        wlEscape=new Label(wContentComp, SWT.RIGHT);
        wlEscape.setText(Messages.getString("TextFileInputDialog.Escape.Label"));
        props.setLook(wlEscape);
        fdlEscape=new FormData();
        fdlEscape.left = new FormAttachment(0, 0);
        fdlEscape.top  = new FormAttachment(wlEnclBreaks, margin);
        fdlEscape.right= new FormAttachment(middle, -margin);
        wlEscape.setLayoutData(fdlEscape);
        wEscape=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wEscape);
        wEscape.addModifyListener(lsMod);
        fdEscape=new FormData();
        fdEscape.left = new FormAttachment(middle, 0);
        fdEscape.top  = new FormAttachment(wlEnclBreaks, margin);
        fdEscape.right= new FormAttachment(100, 0);
        wEscape.setLayoutData(fdEscape);
        wlHeader=new Label(wContentComp, SWT.RIGHT);
        wlHeader.setText(Messages.getString("TextFileInputDialog.Header.Label"));
        props.setLook(wlHeader);
        fdlHeader=new FormData();
        fdlHeader.left = new FormAttachment(0, 0);
        fdlHeader.top  = new FormAttachment(wEscape, margin);
        fdlHeader.right= new FormAttachment(middle, -margin);
        wlHeader.setLayoutData(fdlHeader);
        wHeader=new Button(wContentComp, SWT.CHECK);
        props.setLook(wHeader);
        fdHeader=new FormData();
        fdHeader.left = new FormAttachment(middle, 0);
        fdHeader.top  = new FormAttachment(wEscape, margin);
        wHeader.setLayoutData(fdHeader);
        wlNrHeader=new Label(wContentComp, SWT.RIGHT);
        wlNrHeader.setText(Messages.getString("TextFileInputDialog.NrHeader.Label"));
        props.setLook(wlNrHeader);
        fdlNrHeader=new FormData();
        fdlNrHeader.left = new FormAttachment(wHeader, margin);
        fdlNrHeader.top  = new FormAttachment(wEscape, margin);
        wlNrHeader.setLayoutData(fdlNrHeader);
        wNrHeader=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrHeader.setTextLimit(3);
        props.setLook(wNrHeader);
        wNrHeader.addModifyListener(lsMod);
        fdNrHeader=new FormData();
        fdNrHeader.left = new FormAttachment(wlNrHeader, margin);
        fdNrHeader.top  = new FormAttachment(wEscape, margin);
        fdNrHeader.right  = new FormAttachment(100, 0);
        wNrHeader.setLayoutData(fdNrHeader);
        wlFooter=new Label(wContentComp, SWT.RIGHT);
        wlFooter.setText(Messages.getString("TextFileInputDialog.Footer.Label"));
        props.setLook(wlFooter);
        fdlFooter=new FormData();
        fdlFooter.left = new FormAttachment(0, 0);
        fdlFooter.top  = new FormAttachment(wHeader, margin);
        fdlFooter.right= new FormAttachment(middle, -margin);
        wlFooter.setLayoutData(fdlFooter);
        wFooter=new Button(wContentComp, SWT.CHECK);
        props.setLook(wFooter);
        fdFooter=new FormData();
        fdFooter.left = new FormAttachment(middle, 0);
        fdFooter.top  = new FormAttachment(wHeader, margin);
        wFooter.setLayoutData(fdFooter);
        wlNrFooter=new Label(wContentComp, SWT.RIGHT);
        wlNrFooter.setText(Messages.getString("TextFileInputDialog.NrFooter.Label"));
        props.setLook(wlNrFooter);
        fdlNrFooter=new FormData();
        fdlNrFooter.left = new FormAttachment(wFooter, margin);
        fdlNrFooter.top  = new FormAttachment(wHeader, margin);
        wlNrFooter.setLayoutData(fdlNrFooter);
        wNrFooter=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrFooter.setTextLimit(3);
        props.setLook(wNrFooter);
        wNrFooter.addModifyListener(lsMod);
        fdNrFooter=new FormData();
        fdNrFooter.left = new FormAttachment(wlNrFooter, margin);
        fdNrFooter.top  = new FormAttachment(wHeader, margin);
        fdNrFooter.right  = new FormAttachment(100, 0);
        wNrFooter.setLayoutData(fdNrFooter);
        wlWraps=new Label(wContentComp, SWT.RIGHT);
        wlWraps.setText(Messages.getString("TextFileInputDialog.Wraps.Label"));
        props.setLook(wlWraps);
        fdlWraps=new FormData();
        fdlWraps.left = new FormAttachment(0, 0);
        fdlWraps.top  = new FormAttachment(wFooter, margin);
        fdlWraps.right= new FormAttachment(middle, -margin);
        wlWraps.setLayoutData(fdlWraps);
        wWraps=new Button(wContentComp, SWT.CHECK);
        props.setLook(wWraps);
        fdWraps=new FormData();
        fdWraps.left = new FormAttachment(middle, 0);
        fdWraps.top  = new FormAttachment(wFooter, margin);
        wWraps.setLayoutData(fdWraps);
        wlNrWraps=new Label(wContentComp, SWT.RIGHT);
        wlNrWraps.setText(Messages.getString("TextFileInputDialog.NrWraps.Label"));
        props.setLook(wlNrWraps);
        fdlNrWraps=new FormData();
        fdlNrWraps.left = new FormAttachment(wWraps, margin);
        fdlNrWraps.top  = new FormAttachment(wFooter, margin);
        wlNrWraps.setLayoutData(fdlNrWraps);
        wNrWraps=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrWraps.setTextLimit(3);
        props.setLook(wNrWraps);
        wNrWraps.addModifyListener(lsMod);
        fdNrWraps=new FormData();
        fdNrWraps.left = new FormAttachment(wlNrWraps, margin);
        fdNrWraps.top  = new FormAttachment(wFooter, margin);
        fdNrWraps.right  = new FormAttachment(100, 0);
        wNrWraps.setLayoutData(fdNrWraps);
        wlLayoutPaged=new Label(wContentComp, SWT.RIGHT);
        wlLayoutPaged.setText(Messages.getString("TextFileInputDialog.LayoutPaged.Label"));
        props.setLook(wlLayoutPaged);
        fdlLayoutPaged=new FormData();
        fdlLayoutPaged.left = new FormAttachment(0, 0);
        fdlLayoutPaged.top  = new FormAttachment(wWraps, margin);
        fdlLayoutPaged.right= new FormAttachment(middle, -margin);
        wlLayoutPaged.setLayoutData(fdlLayoutPaged);
        wLayoutPaged=new Button(wContentComp, SWT.CHECK);
        props.setLook(wLayoutPaged);
        fdLayoutPaged=new FormData();
        fdLayoutPaged.left = new FormAttachment(middle, 0);
        fdLayoutPaged.top  = new FormAttachment(wWraps, margin);
        wLayoutPaged.setLayoutData(fdLayoutPaged);
        wlNrLinesPerPage=new Label(wContentComp, SWT.RIGHT);
        wlNrLinesPerPage.setText(Messages.getString("TextFileInputDialog.NrLinesPerPage.Label"));
        props.setLook(wlNrLinesPerPage);
        fdlNrLinesPerPage=new FormData();
        fdlNrLinesPerPage.left = new FormAttachment(wLayoutPaged, margin);
        fdlNrLinesPerPage.top  = new FormAttachment(wWraps, margin);
        wlNrLinesPerPage.setLayoutData(fdlNrLinesPerPage);
        wNrLinesPerPage=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrLinesPerPage.setTextLimit(3);
        props.setLook(wNrLinesPerPage);
        wNrLinesPerPage.addModifyListener(lsMod);
        fdNrLinesPerPage=new FormData();
        fdNrLinesPerPage.left = new FormAttachment(wlNrLinesPerPage, margin);
        fdNrLinesPerPage.top  = new FormAttachment(wWraps, margin);
        fdNrLinesPerPage.right  = new FormAttachment(100, 0);
        wNrLinesPerPage.setLayoutData(fdNrLinesPerPage);
        wlNrLinesDocHeader=new Label(wContentComp, SWT.RIGHT);
        wlNrLinesDocHeader.setText(Messages.getString("TextFileInputDialog.NrLinesDocHeader.Label"));
        props.setLook(wlNrLinesDocHeader);
        fdlNrLinesDocHeader=new FormData();
        fdlNrLinesDocHeader.left = new FormAttachment(wLayoutPaged, margin);
        fdlNrLinesDocHeader.top  = new FormAttachment(wNrLinesPerPage, margin);
        wlNrLinesDocHeader.setLayoutData(fdlNrLinesDocHeader);
        wNrLinesDocHeader=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrLinesDocHeader.setTextLimit(3);
        props.setLook(wNrLinesDocHeader);
        wNrLinesDocHeader.addModifyListener(lsMod);
        fdNrLinesDocHeader=new FormData();
        fdNrLinesDocHeader.left = new FormAttachment(wlNrLinesPerPage, margin);
        fdNrLinesDocHeader.top  = new FormAttachment(wNrLinesPerPage, margin);
        fdNrLinesDocHeader.right = new FormAttachment(100, 0);
        wNrLinesDocHeader.setLayoutData(fdNrLinesDocHeader);
        wlCompression=new Label(wContentComp, SWT.RIGHT);
        wlCompression.setText(Messages.getString("TextFileInputDialog.Compression.Label"));
        props.setLook(wlCompression);
        fdlCompression=new FormData();
        fdlCompression.left = new FormAttachment(0, 0);
        fdlCompression.top  = new FormAttachment(wNrLinesDocHeader, margin);
        fdlCompression.right= new FormAttachment(middle, -margin);
        wlCompression.setLayoutData(fdlCompression);
        wCompression=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY);
        wCompression.setText(Messages.getString("TextFileInputDialog.Compression.Label"));
        wCompression.setToolTipText(Messages.getString("TextFileInputDialog.Zipped.Tooltip"));
        props.setLook(wCompression);
        wCompression.add("None");
        wCompression.add("Zip");
        wCompression.add("GZip");
        wCompression.select(0);
        wCompression.addModifyListener(lsMod);
        fdCompression=new FormData();
        fdCompression.left = new FormAttachment(middle, 0);
        fdCompression.top  = new FormAttachment(wNrLinesDocHeader, margin);
        fdCompression.right= new FormAttachment(100, 0);
        wCompression.setLayoutData(fdCompression);
        wlNoempty=new Label(wContentComp, SWT.RIGHT);
        wlNoempty.setText(Messages.getString("TextFileInputDialog.NoEmpty.Label"));
        props.setLook(wlNoempty);
        fdlNoempty=new FormData();
        fdlNoempty.left = new FormAttachment(0, 0);
        fdlNoempty.top  = new FormAttachment(wCompression, margin);
        fdlNoempty.right= new FormAttachment(middle, -margin);
        wlNoempty.setLayoutData(fdlNoempty);
        wNoempty=new Button(wContentComp, SWT.CHECK );
        props.setLook(wNoempty);
        wNoempty.setToolTipText(Messages.getString("TextFileInputDialog.NoEmpty.Tooltip"));
        fdNoempty=new FormData();
        fdNoempty.left = new FormAttachment(middle, 0);
        fdNoempty.top  = new FormAttachment(wCompression, margin);
        fdNoempty.right= new FormAttachment(100, 0);
        wNoempty.setLayoutData(fdNoempty);
        wlInclFilename=new Label(wContentComp, SWT.RIGHT);
        wlInclFilename.setText(Messages.getString("TextFileInputDialog.InclFilename.Label"));
        props.setLook(wlInclFilename);
        fdlInclFilename=new FormData();
        fdlInclFilename.left = new FormAttachment(0, 0);
        fdlInclFilename.top  = new FormAttachment(wNoempty, margin);
        fdlInclFilename.right= new FormAttachment(middle, -margin);
        wlInclFilename.setLayoutData(fdlInclFilename);
        wInclFilename=new Button(wContentComp, SWT.CHECK );
        props.setLook(wInclFilename);
        wInclFilename.setToolTipText(Messages.getString("TextFileInputDialog.InclFilename.Tooltip"));
        fdInclFilename=new FormData();
        fdInclFilename.left = new FormAttachment(middle, 0);
        fdInclFilename.top  = new FormAttachment(wNoempty, margin);
        wInclFilename.setLayoutData(fdInclFilename);
        wlInclFilenameField=new Label(wContentComp, SWT.LEFT);
        wlInclFilenameField.setText(Messages.getString("TextFileInputDialog.InclFilenameField.Label"));
        props.setLook(wlInclFilenameField);
        fdlInclFilenameField=new FormData();
        fdlInclFilenameField.left = new FormAttachment(wInclFilename, margin);
        fdlInclFilenameField.top  = new FormAttachment(wNoempty, margin);
        wlInclFilenameField.setLayoutData(fdlInclFilenameField);
        wInclFilenameField=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wInclFilenameField);
        wInclFilenameField.addModifyListener(lsMod);
        fdInclFilenameField=new FormData();
        fdInclFilenameField.left = new FormAttachment(wlInclFilenameField, margin);
        fdInclFilenameField.top  = new FormAttachment(wNoempty, margin);
        fdInclFilenameField.right= new FormAttachment(100, 0);
        wInclFilenameField.setLayoutData(fdInclFilenameField);
        wlInclRownum=new Label(wContentComp, SWT.RIGHT);
        wlInclRownum.setText(Messages.getString("TextFileInputDialog.InclRownum.Label"));
        props.setLook(wlInclRownum);
        fdlInclRownum=new FormData();
        fdlInclRownum.left = new FormAttachment(0, 0);
        fdlInclRownum.top  = new FormAttachment(wInclFilenameField, margin);
        fdlInclRownum.right= new FormAttachment(middle, -margin);
        wlInclRownum.setLayoutData(fdlInclRownum);
        wInclRownum=new Button(wContentComp, SWT.CHECK );
        props.setLook(wInclRownum);
        wInclRownum.setToolTipText(Messages.getString("TextFileInputDialog.InclRownum.Tooltip"));
        fdRownum=new FormData();
        fdRownum.left = new FormAttachment(middle, 0);
        fdRownum.top  = new FormAttachment(wInclFilenameField, margin);
        wInclRownum.setLayoutData(fdRownum);
        wlInclRownumField=new Label(wContentComp, SWT.RIGHT);
        wlInclRownumField.setText(Messages.getString("TextFileInputDialog.InclRownumField.Label"));
        props.setLook(wlInclRownumField);
        fdlInclRownumField=new FormData();
        fdlInclRownumField.left = new FormAttachment(wInclRownum, margin);
        fdlInclRownumField.top  = new FormAttachment(wInclFilenameField, margin);
        wlInclRownumField.setLayoutData(fdlInclRownumField);
        wInclRownumField=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wInclRownumField);
        wInclRownumField.addModifyListener(lsMod);
        fdInclRownumField=new FormData();
        fdInclRownumField.left = new FormAttachment(wlInclRownumField, margin);
        fdInclRownumField.top  = new FormAttachment(wInclFilenameField, margin);
        fdInclRownumField.right= new FormAttachment(100, 0);
        wInclRownumField.setLayoutData(fdInclRownumField);
        wlFormat=new Label(wContentComp, SWT.RIGHT);
        wlFormat.setText(Messages.getString("TextFileInputDialog.Format.Label"));
        props.setLook(wlFormat);
        fdlFormat=new FormData();
        fdlFormat.left = new FormAttachment(0, 0);
        fdlFormat.top  = new FormAttachment(wInclRownumField, margin);
        fdlFormat.right= new FormAttachment(middle, -margin);
        wlFormat.setLayoutData(fdlFormat);
        wFormat=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY);
        wFormat.setText(Messages.getString("TextFileInputDialog.Format.Label"));
        props.setLook(wFormat);
        wFormat.add("DOS");
        wFormat.add("Unix");
        wFormat.add("mixed");
        wFormat.select(0);
        wFormat.addModifyListener(lsMod);
        fdFormat=new FormData();
        fdFormat.left = new FormAttachment(middle, 0);
        fdFormat.top  = new FormAttachment(wInclRownumField, margin);
        fdFormat.right= new FormAttachment(100, 0);
        wFormat.setLayoutData(fdFormat);
        wlEncoding=new Label(wContentComp, SWT.RIGHT);
        wlEncoding.setText(Messages.getString("TextFileInputDialog.Encoding.Label"));
        props.setLook(wlEncoding);
        fdlEncoding=new FormData();
        fdlEncoding.left = new FormAttachment(0, 0);
        fdlEncoding.top  = new FormAttachment(wFormat, margin);
        fdlEncoding.right= new FormAttachment(middle, -margin);
        wlEncoding.setLayoutData(fdlEncoding);
        wEncoding=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY);
        wEncoding.setEditable(true);
        props.setLook(wEncoding);
        wEncoding.addModifyListener(lsMod);
        fdEncoding=new FormData();
        fdEncoding.left = new FormAttachment(middle, 0);
        fdEncoding.top  = new FormAttachment(wFormat, margin);
        fdEncoding.right= new FormAttachment(100, 0);
        wEncoding.setLayoutData(fdEncoding);
        wEncoding.addFocusListener(new FocusListener()
            {
                public void focusLost(org.eclipse.swt.events.FocusEvent e)
                {
                }
                public void focusGained(org.eclipse.swt.events.FocusEvent e)
                {
                    Cursor busy = new Cursor(shell.getDisplay(), SWT.CURSOR_WAIT);
                    shell.setCursor(busy);
                    setEncodings();
                    shell.setCursor(null);
                    busy.dispose();
                }
            }
        );
        wlLimit=new Label(wContentComp, SWT.RIGHT);
        wlLimit.setText(Messages.getString("TextFileInputDialog.Limit.Label"));
        props.setLook(wlLimit);
        fdlLimit=new FormData();
        fdlLimit.left = new FormAttachment(0, 0);
        fdlLimit.top  = new FormAttachment(wEncoding, margin);
        fdlLimit.right= new FormAttachment(middle, -margin);
        wlLimit.setLayoutData(fdlLimit);
        wLimit=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wLimit);
        wLimit.addModifyListener(lsMod);
        fdLimit=new FormData();
        fdLimit.left = new FormAttachment(middle, 0);
        fdLimit.top  = new FormAttachment(wEncoding, margin);
        fdLimit.right= new FormAttachment(100, 0);
        wLimit.setLayoutData(fdLimit);
        wlDateLenient=new Label(wContentComp, SWT.RIGHT);
        wlDateLenient.setText(Messages.getString("TextFileInputDialog.DateLenient.Label"));
        props.setLook(wlDateLenient);
        fdlDateLenient=new FormData();
        fdlDateLenient.left = new FormAttachment(0, 0);
        fdlDateLenient.top  = new FormAttachment(wLimit, margin);
        fdlDateLenient.right= new FormAttachment(middle, -margin);
        wlDateLenient.setLayoutData(fdlDateLenient);
        wDateLenient=new Button(wContentComp, SWT.CHECK);
        wDateLenient.setToolTipText(Messages.getString("TextFileInputDialog.DateLenient.Tooltip"));
        props.setLook(wDateLenient);
        fdDateLenient=new FormData();
        fdDateLenient.left = new FormAttachment(middle, 0);
        fdDateLenient.top  = new FormAttachment(wLimit, margin);
        wDateLenient.setLayoutData(fdDateLenient);
        wlDateLocale=new Label(wContentComp, SWT.RIGHT);
        wlDateLocale.setText(Messages.getString("TextFileInputDialog.DateLocale.Label"));
        props.setLook(wlDateLocale);
        fdlDateLocale=new FormData();
        fdlDateLocale.left = new FormAttachment(0, 0);
        fdlDateLocale.top  = new FormAttachment(wDateLenient, margin);
        fdlDateLocale.right= new FormAttachment(middle, -margin);
        wlDateLocale.setLayoutData(fdlDateLocale);
        wDateLocale=new CCombo(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wDateLocale.setToolTipText(Messages.getString("TextFileInputDialog.DateLocale.Tooltip"));
        props.setLook(wDateLocale);
        wDateLocale.addModifyListener(lsMod);
        fdDateLocale=new FormData();
        fdDateLocale.left = new FormAttachment(middle, 0);
        fdDateLocale.top  = new FormAttachment(wDateLenient, margin);
        fdDateLocale.right= new FormAttachment(100, 0);
        wDateLocale.setLayoutData(fdDateLocale);
        Runnable runnable = new Runnable()
		{
			public void run()
			{
                Thread thread = new Thread(new Runnable()
                    {
                        public void run()
                        {
                            Locale locale[] =  Locale.getAvailableLocales();
                            dateLocale = new String[locale.length];
                            for (int i=0;i<locale.length;i++)
                            {
                                dateLocale[i] =  locale[i].toString();
                            }
                        }
                    }
                );
                thread.start();
                try { thread.join(); } catch(InterruptedException e) {}
                if (dateLocale!=null)
                {
                    wDateLocale.setItems(dateLocale);
                }
			}
		};
        shell.getDisplay().asyncExec(runnable);
        wContentComp.pack();
        Rectangle bounds = wContentComp.getBounds();
        wContentSComp.setContent(wContentComp);
        wContentSComp.setExpandHorizontal(true);
        wContentSComp.setExpandVertical(true);
        wContentSComp.setMinWidth(bounds.width);
        wContentSComp.setMinHeight(bounds.height);
        fdContentComp = new FormData();
        fdContentComp.left  = new FormAttachment(0, 0);
        fdContentComp.top   = new FormAttachment(0, 0);
        fdContentComp.right = new FormAttachment(100, 0);
        fdContentComp.bottom= new FormAttachment(100, 0);
        wContentComp.setLayoutData(fdContentComp);
        wContentTab.setControl(wContentSComp);
    }

    private void addContentTab()
    {
        wContentTab=new CTabItem(wTabFolder, SWT.NONE);
        wContentTab.setText(Messages.getString("TextFileInputDialog.ContentTab.TabTitle"));
        FormLayout contentLayout = new FormLayout ();
        contentLayout.marginWidth  = 3;
        contentLayout.marginHeight = 3;
        wContentSComp = new ScrolledComposite(wTabFolder, SWT.V_SCROLL | SWT.H_SCROLL );
        wContentSComp.setLayout(new FillLayout());
        wContentComp = new Composite(wContentSComp, SWT.NONE );
        props.setLook(wContentComp);
        wContentComp.setLayout(contentLayout);
        wlFiletype=new Label(wContentComp, SWT.RIGHT);
        wlFiletype.setText(Messages.getString("TextFileInputDialog.Filetype.Label"));
        props.setLook(wlFiletype);
        fdlFiletype=new FormData();
        fdlFiletype.left = new FormAttachment(0, 0);
        fdlFiletype.top  = new FormAttachment(0, 0);
        fdlFiletype.right= new FormAttachment(middle, -margin);
        wlFiletype.setLayoutData(fdlFiletype);
        wFiletype=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY);
        wFiletype.setText(Messages.getString("TextFileInputDialog.Filetype.Label"));
        props.setLook(wFiletype);
        wFiletype.add("CSV");
        wFiletype.add("Fixed");
        wFiletype.select(0);
        wFiletype.addModifyListener(lsMod);
        fdFiletype=new FormData();
        fdFiletype.left = new FormAttachment(middle, 0);
        fdFiletype.top  = new FormAttachment(0, 0);
        fdFiletype.right= new FormAttachment(100, 0);
        wFiletype.setLayoutData(fdFiletype);
        wlSeparator=new Label(wContentComp, SWT.RIGHT);
        wlSeparator.setText(Messages.getString("TextFileInputDialog.Separator.Label"));
        props.setLook(wlSeparator);
        fdlSeparator=new FormData();
        fdlSeparator.left = new FormAttachment(0, 0);
        fdlSeparator.top  = new FormAttachment(wFiletype, margin);
        fdlSeparator.right= new FormAttachment(middle, -margin);
        wlSeparator.setLayoutData(fdlSeparator);
        wbSeparator=new Button(wContentComp, SWT.PUSH| SWT.CENTER);
        props.setLook(wbSeparator);
        wbSeparator.setText(Messages.getString("TextFileInputDialog.Separator.Button"));
        fdbSeparator=new FormData();
        fdbSeparator.right= new FormAttachment(100, 0);
        fdbSeparator.top  = new FormAttachment(wFiletype, 0);
        wbSeparator.setLayoutData(fdbSeparator);
        wSeparator=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wSeparator);
        wSeparator.addModifyListener(lsMod);
        fdSeparator=new FormData();
        fdSeparator.left = new FormAttachment(middle, 0);
        fdSeparator.top  = new FormAttachment(wFiletype, margin);
        fdSeparator.right= new FormAttachment(wbSeparator, -margin);
        wSeparator.setLayoutData(fdSeparator);
        wlEnclosure=new Label(wContentComp, SWT.RIGHT);
        wlEnclosure.setText(Messages.getString("TextFileInputDialog.Enclosure.Label"));
        props.setLook(wlEnclosure);
        fdlEnclosure=new FormData();
        fdlEnclosure.left = new FormAttachment(0, 0);
        fdlEnclosure.top  = new FormAttachment(wSeparator, margin);
        fdlEnclosure.right= new FormAttachment(middle, -margin);
        wlEnclosure.setLayoutData(fdlEnclosure);
        wEnclosure=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wEnclosure);
        wEnclosure.addModifyListener(lsMod);
        fdEnclosure=new FormData();
        fdEnclosure.left = new FormAttachment(middle, 0);
        fdEnclosure.top  = new FormAttachment(wSeparator, margin);
        fdEnclosure.right= new FormAttachment(100, 0);
        wEnclosure.setLayoutData(fdEnclosure);
        wlEnclBreaks=new Label(wContentComp, SWT.RIGHT);
        wlEnclBreaks.setText(Messages.getString("TextFileInputDialog.EnclBreaks.Label"));
        props.setLook(wlEnclBreaks);
        fdlEnclBreaks=new FormData();
        fdlEnclBreaks.left = new FormAttachment(0, 0);
        fdlEnclBreaks.top  = new FormAttachment(wEnclosure, margin);
        fdlEnclBreaks.right= new FormAttachment(middle, -margin);
        wlEnclBreaks.setLayoutData(fdlEnclBreaks);
        wEnclBreaks=new Button(wContentComp, SWT.CHECK);
        props.setLook(wEnclBreaks);
        fdEnclBreaks=new FormData();
        fdEnclBreaks.left = new FormAttachment(middle, 0);
        fdEnclBreaks.top  = new FormAttachment(wEnclosure, margin);
        wEnclBreaks.setLayoutData(fdEnclBreaks);
        wlEnclBreaks.setEnabled(false);
        wEnclBreaks.setEnabled(false);
        wlEscape=new Label(wContentComp, SWT.RIGHT);
        wlEscape.setText(Messages.getString("TextFileInputDialog.Escape.Label"));
        props.setLook(wlEscape);
        fdlEscape=new FormData();
        fdlEscape.left = new FormAttachment(0, 0);
        fdlEscape.top  = new FormAttachment(wlEnclBreaks, margin);
        fdlEscape.right= new FormAttachment(middle, -margin);
        wlEscape.setLayoutData(fdlEscape);
        wEscape=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wEscape);
        wEscape.addModifyListener(lsMod);
        fdEscape=new FormData();
        fdEscape.left = new FormAttachment(middle, 0);
        fdEscape.top  = new FormAttachment(wlEnclBreaks, margin);
        fdEscape.right= new FormAttachment(100, 0);
        wEscape.setLayoutData(fdEscape);
        wlHeader=new Label(wContentComp, SWT.RIGHT);
        wlHeader.setText(Messages.getString("TextFileInputDialog.Header.Label"));
        props.setLook(wlHeader);
        fdlHeader=new FormData();
        fdlHeader.left = new FormAttachment(0, 0);
        fdlHeader.top  = new FormAttachment(wEscape, margin);
        fdlHeader.right= new FormAttachment(middle, -margin);
        wlHeader.setLayoutData(fdlHeader);
        wHeader=new Button(wContentComp, SWT.CHECK);
        props.setLook(wHeader);
        fdHeader=new FormData();
        fdHeader.left = new FormAttachment(middle, 0);
        fdHeader.top  = new FormAttachment(wEscape, margin);
        wHeader.setLayoutData(fdHeader);
        wlNrHeader=new Label(wContentComp, SWT.RIGHT);
        wlNrHeader.setText(Messages.getString("TextFileInputDialog.NrHeader.Label"));
        props.setLook(wlNrHeader);
        fdlNrHeader=new FormData();
        fdlNrHeader.left = new FormAttachment(wHeader, margin);
        fdlNrHeader.top  = new FormAttachment(wEscape, margin);
        wlNrHeader.setLayoutData(fdlNrHeader);
        wNrHeader=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrHeader.setTextLimit(3);
        props.setLook(wNrHeader);
        wNrHeader.addModifyListener(lsMod);
        fdNrHeader=new FormData();
        fdNrHeader.left = new FormAttachment(wlNrHeader, margin);
        fdNrHeader.top  = new FormAttachment(wEscape, margin);
        fdNrHeader.right  = new FormAttachment(100, 0);
        wNrHeader.setLayoutData(fdNrHeader);
        wlFooter=new Label(wContentComp, SWT.RIGHT);
        wlFooter.setText(Messages.getString("TextFileInputDialog.Footer.Label"));
        props.setLook(wlFooter);
        fdlFooter=new FormData();
        fdlFooter.left = new FormAttachment(0, 0);
        fdlFooter.top  = new FormAttachment(wHeader, margin);
        fdlFooter.right= new FormAttachment(middle, -margin);
        wlFooter.setLayoutData(fdlFooter);
        wFooter=new Button(wContentComp, SWT.CHECK);
        props.setLook(wFooter);
        fdFooter=new FormData();
        fdFooter.left = new FormAttachment(middle, 0);
        fdFooter.top  = new FormAttachment(wHeader, margin);
        wFooter.setLayoutData(fdFooter);
        wlNrFooter=new Label(wContentComp, SWT.RIGHT);
        wlNrFooter.setText(Messages.getString("TextFileInputDialog.NrFooter.Label"));
        props.setLook(wlNrFooter);
        fdlNrFooter=new FormData();
        fdlNrFooter.left = new FormAttachment(wFooter, margin);
        fdlNrFooter.top  = new FormAttachment(wHeader, margin);
        wlNrFooter.setLayoutData(fdlNrFooter);
        wNrFooter=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrFooter.setTextLimit(3);
        props.setLook(wNrFooter);
        wNrFooter.addModifyListener(lsMod);
        fdNrFooter=new FormData();
        fdNrFooter.left = new FormAttachment(wlNrFooter, margin);
        fdNrFooter.top  = new FormAttachment(wHeader, margin);
        fdNrFooter.right  = new FormAttachment(100, 0);
        wNrFooter.setLayoutData(fdNrFooter);
        wlWraps=new Label(wContentComp, SWT.RIGHT);
        wlWraps.setText(Messages.getString("TextFileInputDialog.Wraps.Label"));
        props.setLook(wlWraps);
        fdlWraps=new FormData();
        fdlWraps.left = new FormAttachment(0, 0);
        fdlWraps.top  = new FormAttachment(wFooter, margin);
        fdlWraps.right= new FormAttachment(middle, -margin);
        wlWraps.setLayoutData(fdlWraps);
        wWraps=new Button(wContentComp, SWT.CHECK);
        props.setLook(wWraps);
        fdWraps=new FormData();
        fdWraps.left = new FormAttachment(middle, 0);
        fdWraps.top  = new FormAttachment(wFooter, margin);
        wWraps.setLayoutData(fdWraps);
        wlNrWraps=new Label(wContentComp, SWT.RIGHT);
        wlNrWraps.setText(Messages.getString("TextFileInputDialog.NrWraps.Label"));
        props.setLook(wlNrWraps);
        fdlNrWraps=new FormData();
        fdlNrWraps.left = new FormAttachment(wWraps, margin);
        fdlNrWraps.top  = new FormAttachment(wFooter, margin);
        wlNrWraps.setLayoutData(fdlNrWraps);
        wNrWraps=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrWraps.setTextLimit(3);
        props.setLook(wNrWraps);
        wNrWraps.addModifyListener(lsMod);
        fdNrWraps=new FormData();
        fdNrWraps.left = new FormAttachment(wlNrWraps, margin);
        fdNrWraps.top  = new FormAttachment(wFooter, margin);
        fdNrWraps.right  = new FormAttachment(100, 0);
        wNrWraps.setLayoutData(fdNrWraps);
        wlLayoutPaged=new Label(wContentComp, SWT.RIGHT);
        wlLayoutPaged.setText(Messages.getString("TextFileInputDialog.LayoutPaged.Label"));
        props.setLook(wlLayoutPaged);
        fdlLayoutPaged=new FormData();
        fdlLayoutPaged.left = new FormAttachment(0, 0);
        fdlLayoutPaged.top  = new FormAttachment(wWraps, margin);
        fdlLayoutPaged.right= new FormAttachment(middle, -margin);
        wlLayoutPaged.setLayoutData(fdlLayoutPaged);
        wLayoutPaged=new Button(wContentComp, SWT.CHECK);
        props.setLook(wLayoutPaged);
        fdLayoutPaged=new FormData();
        fdLayoutPaged.left = new FormAttachment(middle, 0);
        fdLayoutPaged.top  = new FormAttachment(wWraps, margin);
        wLayoutPaged.setLayoutData(fdLayoutPaged);
        wlNrLinesPerPage=new Label(wContentComp, SWT.RIGHT);
        wlNrLinesPerPage.setText(Messages.getString("TextFileInputDialog.NrLinesPerPage.Label"));
        props.setLook(wlNrLinesPerPage);
        fdlNrLinesPerPage=new FormData();
        fdlNrLinesPerPage.left = new FormAttachment(wLayoutPaged, margin);
        fdlNrLinesPerPage.top  = new FormAttachment(wWraps, margin);
        wlNrLinesPerPage.setLayoutData(fdlNrLinesPerPage);
        wNrLinesPerPage=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrLinesPerPage.setTextLimit(3);
        props.setLook(wNrLinesPerPage);
        wNrLinesPerPage.addModifyListener(lsMod);
        fdNrLinesPerPage=new FormData();
        fdNrLinesPerPage.left = new FormAttachment(wlNrLinesPerPage, margin);
        fdNrLinesPerPage.top  = new FormAttachment(wWraps, margin);
        fdNrLinesPerPage.right  = new FormAttachment(100, 0);
        wNrLinesPerPage.setLayoutData(fdNrLinesPerPage);
        wlNrLinesDocHeader=new Label(wContentComp, SWT.RIGHT);
        wlNrLinesDocHeader.setText(Messages.getString("TextFileInputDialog.NrLinesDocHeader.Label"));
        props.setLook(wlNrLinesDocHeader);
        fdlNrLinesDocHeader=new FormData();
        fdlNrLinesDocHeader.left = new FormAttachment(wLayoutPaged, margin);
        fdlNrLinesDocHeader.top  = new FormAttachment(wNrLinesPerPage, margin);
        wlNrLinesDocHeader.setLayoutData(fdlNrLinesDocHeader);
        wNrLinesDocHeader=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wNrLinesDocHeader.setTextLimit(3);
        props.setLook(wNrLinesDocHeader);
        wNrLinesDocHeader.addModifyListener(lsMod);
        fdNrLinesDocHeader=new FormData();
        fdNrLinesDocHeader.left = new FormAttachment(wlNrLinesPerPage, margin);
        fdNrLinesDocHeader.top  = new FormAttachment(wNrLinesPerPage, margin);
        fdNrLinesDocHeader.right = new FormAttachment(100, 0);
        wNrLinesDocHeader.setLayoutData(fdNrLinesDocHeader);
        wlCompression=new Label(wContentComp, SWT.RIGHT);
        wlCompression.setText(Messages.getString("TextFileInputDialog.Compression.Label"));
        props.setLook(wlCompression);
        fdlCompression=new FormData();
        fdlCompression.left = new FormAttachment(0, 0);
        fdlCompression.top  = new FormAttachment(wNrLinesDocHeader, margin);
        fdlCompression.right= new FormAttachment(middle, -margin);
        wlCompression.setLayoutData(fdlCompression);
        wCompression=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY);
        wCompression.setText(Messages.getString("TextFileInputDialog.Compression.Label"));
        wCompression.setToolTipText(Messages.getString("TextFileInputDialog.Compression.Tooltip"));
        props.setLook(wCompression);
        wCompression.add("None");
        wCompression.add("Zip");
        wCompression.add("GZip");
        wCompression.select(0);
        wCompression.addModifyListener(lsMod);
        fdCompression=new FormData();
        fdCompression.left = new FormAttachment(middle, 0);
        fdCompression.top  = new FormAttachment(wNrLinesDocHeader, margin);
        fdCompression.right= new FormAttachment(100, 0);
        wCompression.setLayoutData(fdCompression);
        wlNoempty=new Label(wContentComp, SWT.RIGHT);
        wlNoempty.setText(Messages.getString("TextFileInputDialog.NoEmpty.Label"));
        props.setLook(wlNoempty);
        fdlNoempty=new FormData();
        fdlNoempty.left = new FormAttachment(0, 0);
        fdlNoempty.top  = new FormAttachment(wCompression, margin);
        fdlNoempty.right= new FormAttachment(middle, -margin);
        wlNoempty.setLayoutData(fdlNoempty);
        wNoempty=new Button(wContentComp, SWT.CHECK );
        props.setLook(wNoempty);
        wNoempty.setToolTipText(Messages.getString("TextFileInputDialog.NoEmpty.Tooltip"));
        fdNoempty=new FormData();
        fdNoempty.left = new FormAttachment(middle, 0);
        fdNoempty.top  = new FormAttachment(wCompression, margin);
        fdNoempty.right= new FormAttachment(100, 0);
        wNoempty.setLayoutData(fdNoempty);
        wlInclFilename=new Label(wContentComp, SWT.RIGHT);
        wlInclFilename.setText(Messages.getString("TextFileInputDialog.InclFilename.Label"));
        props.setLook(wlInclFilename);
        fdlInclFilename=new FormData();
        fdlInclFilename.left = new FormAttachment(0, 0);
        fdlInclFilename.top  = new FormAttachment(wNoempty, margin);
        fdlInclFilename.right= new FormAttachment(middle, -margin);
        wlInclFilename.setLayoutData(fdlInclFilename);
        wInclFilename=new Button(wContentComp, SWT.CHECK );
        props.setLook(wInclFilename);
        wInclFilename.setToolTipText(Messages.getString("TextFileInputDialog.InclFilename.Tooltip"));
        fdInclFilename=new FormData();
        fdInclFilename.left = new FormAttachment(middle, 0);
        fdInclFilename.top  = new FormAttachment(wNoempty, margin);
        wInclFilename.setLayoutData(fdInclFilename);
        wlInclFilenameField=new Label(wContentComp, SWT.LEFT);
        wlInclFilenameField.setText(Messages.getString("TextFileInputDialog.InclFilenameField.Label"));
        props.setLook(wlInclFilenameField);
        fdlInclFilenameField=new FormData();
        fdlInclFilenameField.left = new FormAttachment(wInclFilename, margin);
        fdlInclFilenameField.top  = new FormAttachment(wNoempty, margin);
        wlInclFilenameField.setLayoutData(fdlInclFilenameField);
        wInclFilenameField=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wInclFilenameField);
        wInclFilenameField.addModifyListener(lsMod);
        fdInclFilenameField=new FormData();
        fdInclFilenameField.left = new FormAttachment(wlInclFilenameField, margin);
        fdInclFilenameField.top  = new FormAttachment(wNoempty, margin);
        fdInclFilenameField.right= new FormAttachment(100, 0);
        wInclFilenameField.setLayoutData(fdInclFilenameField);
        wlInclRownum=new Label(wContentComp, SWT.RIGHT);
        wlInclRownum.setText(Messages.getString("TextFileInputDialog.InclRownum.Label"));
        props.setLook(wlInclRownum);
        fdlInclRownum=new FormData();
        fdlInclRownum.left = new FormAttachment(0, 0);
        fdlInclRownum.top  = new FormAttachment(wInclFilenameField, margin);
        fdlInclRownum.right= new FormAttachment(middle, -margin);
        wlInclRownum.setLayoutData(fdlInclRownum);
        wInclRownum=new Button(wContentComp, SWT.CHECK );
        props.setLook(wInclRownum);
        wInclRownum.setToolTipText(Messages.getString("TextFileInputDialog.InclRownum.Tooltip"));
        fdRownum=new FormData();
        fdRownum.left = new FormAttachment(middle, 0);
        fdRownum.top  = new FormAttachment(wInclFilenameField, margin);
        wInclRownum.setLayoutData(fdRownum);
        wlInclRownumField=new Label(wContentComp, SWT.RIGHT);
        wlInclRownumField.setText(Messages.getString("TextFileInputDialog.InclRownumField.Label"));
        props.setLook(wlInclRownumField);
        fdlInclRownumField=new FormData();
        fdlInclRownumField.left = new FormAttachment(wInclRownum, margin);
        fdlInclRownumField.top  = new FormAttachment(wInclFilenameField, margin);
        wlInclRownumField.setLayoutData(fdlInclRownumField);
        wInclRownumField=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wInclRownumField);
        wInclRownumField.addModifyListener(lsMod);
        fdInclRownumField=new FormData();
        fdInclRownumField.left = new FormAttachment(wlInclRownumField, margin);
        fdInclRownumField.top  = new FormAttachment(wInclFilenameField, margin);
        fdInclRownumField.right= new FormAttachment(100, 0);
        wInclRownumField.setLayoutData(fdInclRownumField);
        wlFormat=new Label(wContentComp, SWT.RIGHT);
        wlFormat.setText(Messages.getString("TextFileInputDialog.Format.Label"));
        props.setLook(wlFormat);
        fdlFormat=new FormData();
        fdlFormat.left = new FormAttachment(0, 0);
        fdlFormat.top  = new FormAttachment(wInclRownumField, margin);
        fdlFormat.right= new FormAttachment(middle, -margin);
        wlFormat.setLayoutData(fdlFormat);
        wFormat=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY);
        wFormat.setText(Messages.getString("TextFileInputDialog.Format.Label"));
        props.setLook(wFormat);
        wFormat.add("DOS");
        wFormat.add("Unix");
        wFormat.add("mixed");
        wFormat.select(0);
        wFormat.addModifyListener(lsMod);
        fdFormat=new FormData();
        fdFormat.left = new FormAttachment(middle, 0);
        fdFormat.top  = new FormAttachment(wInclRownumField, margin);
        fdFormat.right= new FormAttachment(100, 0);
        wFormat.setLayoutData(fdFormat);
        wlEncoding=new Label(wContentComp, SWT.RIGHT);
        wlEncoding.setText(Messages.getString("TextFileInputDialog.Encoding.Label"));
        props.setLook(wlEncoding);
        fdlEncoding=new FormData();
        fdlEncoding.left = new FormAttachment(0, 0);
        fdlEncoding.top  = new FormAttachment(wFormat, margin);
        fdlEncoding.right= new FormAttachment(middle, -margin);
        wlEncoding.setLayoutData(fdlEncoding);
        wEncoding=new CCombo(wContentComp, SWT.BORDER | SWT.READ_ONLY);
        wEncoding.setEditable(true);
        props.setLook(wEncoding);
        wEncoding.addModifyListener(lsMod);
        fdEncoding=new FormData();
        fdEncoding.left = new FormAttachment(middle, 0);
        fdEncoding.top  = new FormAttachment(wFormat, margin);
        fdEncoding.right= new FormAttachment(100, 0);
        wEncoding.setLayoutData(fdEncoding);
        wEncoding.addFocusListener(new FocusListener()
            {
                public void focusLost(org.eclipse.swt.events.FocusEvent e)
                {
                }
                public void focusGained(org.eclipse.swt.events.FocusEvent e)
                {
                    Cursor busy = new Cursor(shell.getDisplay(), SWT.CURSOR_WAIT);
                    shell.setCursor(busy);
                    setEncodings();
                    shell.setCursor(null);
                    busy.dispose();
                }
            }
        );
        wlLimit=new Label(wContentComp, SWT.RIGHT);
        wlLimit.setText(Messages.getString("TextFileInputDialog.Limit.Label"));
        props.setLook(wlLimit);
        fdlLimit=new FormData();
        fdlLimit.left = new FormAttachment(0, 0);
        fdlLimit.top  = new FormAttachment(wEncoding, margin);
        fdlLimit.right= new FormAttachment(middle, -margin);
        wlLimit.setLayoutData(fdlLimit);
        wLimit=new Text(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        props.setLook(wLimit);
        wLimit.addModifyListener(lsMod);
        fdLimit=new FormData();
        fdLimit.left = new FormAttachment(middle, 0);
        fdLimit.top  = new FormAttachment(wEncoding, margin);
        fdLimit.right= new FormAttachment(100, 0);
        wLimit.setLayoutData(fdLimit);
        wlDateLenient=new Label(wContentComp, SWT.RIGHT);
        wlDateLenient.setText(Messages.getString("TextFileInputDialog.DateLenient.Label"));
        props.setLook(wlDateLenient);
        fdlDateLenient=new FormData();
        fdlDateLenient.left = new FormAttachment(0, 0);
        fdlDateLenient.top  = new FormAttachment(wLimit, margin);
        fdlDateLenient.right= new FormAttachment(middle, -margin);
        wlDateLenient.setLayoutData(fdlDateLenient);
        wDateLenient=new Button(wContentComp, SWT.CHECK);
        wDateLenient.setToolTipText(Messages.getString("TextFileInputDialog.DateLenient.Tooltip"));
        props.setLook(wDateLenient);
        fdDateLenient=new FormData();
        fdDateLenient.left = new FormAttachment(middle, 0);
        fdDateLenient.top  = new FormAttachment(wLimit, margin);
        wDateLenient.setLayoutData(fdDateLenient);
        wlDateLocale=new Label(wContentComp, SWT.RIGHT);
        wlDateLocale.setText(Messages.getString("TextFileInputDialog.DateLocale.Label"));
        props.setLook(wlDateLocale);
        fdlDateLocale=new FormData();
        fdlDateLocale.left = new FormAttachment(0, 0);
        fdlDateLocale.top  = new FormAttachment(wDateLenient, margin);
        fdlDateLocale.right= new FormAttachment(middle, -margin);
        wlDateLocale.setLayoutData(fdlDateLocale);
        wDateLocale=new CCombo(wContentComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
        wDateLocale.setToolTipText(Messages.getString("TextFileInputDialog.DateLocale.Tooltip"));
        props.setLook(wDateLocale);
        wDateLocale.addModifyListener(lsMod);
        fdDateLocale=new FormData();
        fdDateLocale.left = new FormAttachment(middle, 0);
        fdDateLocale.top  = new FormAttachment(wDateLenient, margin);
        fdDateLocale.right= new FormAttachment(100, 0);
        wDateLocale.setLayoutData(fdDateLocale);
        Runnable runnable = new Runnable()
		{
			public void run()
			{
                Thread thread = new Thread(new Runnable()
                    {
                        public void run()
                        {
                            Locale locale[] =  Locale.getAvailableLocales();
                            dateLocale = new String[locale.length];
                            for (int i=0;i<locale.length;i++)
                            {
                                dateLocale[i] =  locale[i].toString();
                            }
                        }
                    }
                );
                thread.start();
                try { thread.join(); } catch(InterruptedException e) {}
                if (dateLocale!=null)
                {
                    wDateLocale.setItems(dateLocale);
                }
			}
		};
        shell.getDisplay().asyncExec(runnable);
        wContentComp.pack();
        Rectangle bounds = wContentComp.getBounds();
        wContentSComp.setContent(wContentComp);
        wContentSComp.setExpandHorizontal(true);
        wContentSComp.setExpandVertical(true);
        wContentSComp.setMinWidth(bounds.width);
        wContentSComp.setMinHeight(bounds.height);
        fdContentComp = new FormData();
        fdContentComp.left  = new FormAttachment(0, 0);
        fdContentComp.top   = new FormAttachment(0, 0);
        fdContentComp.right = new FormAttachment(100, 0);
        fdContentComp.bottom= new FormAttachment(100, 0);
        wContentComp.setLayoutData(fdContentComp);
        wContentTab.setControl(wContentSComp);
    }
