// Usage
Label usageLabel = new Label( superiorUsageGroup, SWT.NONE );
usageLabel.setText( "Usage:" );
Combo usageCombo = new Combo( superiorUsageGroup, SWT.READ_ONLY );
usageCombo.setLayoutData( new GridData( SWT.NONE, SWT.NONE, false, false, 2, 1 ) );
usageComboViewer = new ComboViewer( usageCombo );
usageComboViewer.setLabelProvider( new LabelProvider() );
usageComboViewer.setContentProvider( new ArrayContentProvider() );
usageComboViewer.setInput( new String[]
{ DIRECTORY_OPERATION, DISTRIBUTED_OPERATION, DSA_OPERATION, USER_APPLICATIONS } );
usageComboViewer.setSelection( new StructuredSelection( USER_APPLICATIONS ) );
// Syntax Group
Group syntaxGroup = new Group( composite, SWT.NONE );
syntaxGroup.setText( "Syntax" );
syntaxGroup.setLayout( new GridLayout( 2, false ) );
syntaxGroup.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
// Syntax
Label syntaxLabel = new Label( syntaxGroup, SWT.NONE );
syntaxLabel.setText( "Syntax:" );
Combo syntaxCombo = new Combo( syntaxGroup, SWT.READ_ONLY );
syntaxCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
syntaxComboViewer = new ComboViewer( syntaxCombo );
syntaxComboViewer.setContentProvider( new ArrayContentProvider() );
syntaxComboViewer.setLabelProvider( new LabelProvider()
{
public String getText( Object element )
{