Composite tableInnerComposite = BaseWidgetUtils.createColumnContainer( tableComposite, 3, 1 );
BaseWidgetUtils.createLabel( tableInnerComposite, "Select CSV copy format options:", 3 );
BaseWidgetUtils.createSpacer( tableInnerComposite, 3 );
tableAttributeDelimiterWidget = new OptionsInput( "Attribute Delimiter", "Tabulator (\\t)", "\t", new String[]
{ "Tabulator (\\t)", "Comma (,)", "Semikolon (;)" }, new String[]
{ "\t", ",", ";" }, getPreferenceStore().getString(
BrowserUIConstants.PREFERENCE_FORMAT_TABLE_ATTRIBUTEDELIMITER ), false, true );
tableAttributeDelimiterWidget.createWidget( tableInnerComposite );
tableAttributeDelimiterWidget.addWidgetModifyListener( this );
tableValueDelimiterWidget = new OptionsInput( "Value Delimiter", "Pipe (|)", "|", new String[]
{ "Pipe (|)", "Comma (,)", "Semikolon (;)", "Newline (\\n)" }, new String[]
{ "|", ",", ";", "\n" }, getPreferenceStore().getString(
BrowserUIConstants.PREFERENCE_FORMAT_TABLE_VALUEDELIMITER ), false, true );
tableValueDelimiterWidget.createWidget( tableInnerComposite );
tableValueDelimiterWidget.addWidgetModifyListener( this );
tableQuoteWidget = new OptionsInput( "Quote Character", "Double Quote (\")", "\"", new String[]
{ "Double Quote (\")", "Single Quote (')" }, new String[]
{ "\"", "'" }, getPreferenceStore().getString( BrowserUIConstants.PREFERENCE_FORMAT_TABLE_QUOTECHARACTER ),
false, true );
tableQuoteWidget.createWidget( tableInnerComposite );
tableQuoteWidget.addWidgetModifyListener( this );