catch ( NumberFormatException e2 ) { ExceptionHandler.openErrorMessageBox( ERROR_TITLE_INVALID_LIST_LIMIT, MessageFormat.format( ERROR_MSG_INVALID_LIST_LIMIT, new Object[]{ Integer.toString( Integer.MAX_VALUE ) } ) ); }
	private void createOptionsPart( Composite parent )	{		optionsGroup = new Group( parent, SWT.NULL );		optionsGroup.setText( LABEL_GROUP_MORE_OPTIONS );		optionsGroup.setLayout( new GridLayout( 2, false ) );		optionsGroup.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		createLabel( optionsGroup, LABEL_HELP_TEXT );		helpTextEditor = new Text( optionsGroup, SWT.BORDER );		helpTextEditor.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		helpTextEditor.addModifyListener( new ModifyListener( ) {			public void modifyText( ModifyEvent e )			{				if ( selectedParameter != null						&& selectedParameter != newParameter )				{					try					{						selectedParameter.setHelpText( UIUtil.convertToModelString( helpTextEditor.getText( ),								false ) );					}					catch ( Exception e1 )					{						ExceptionHandler.handle( e1 );						return;					}				}			}		} );		Label lable = new Label( optionsGroup, SWT.NULL );		lable.setText( LABEL_FORMAT_AS );		GridData data = new GridData( );		data.verticalSpan = 2;		data.verticalAlignment = GridData.BEGINNING;		lable.setLayoutData( data );		Composite formatArea = new Composite( optionsGroup, SWT.NONE );		GridLayout layout = new GridLayout( 2, false );		layout.marginWidth = 0;		layout.marginHeight = 0;		formatArea.setLayout( layout );		data = new GridData( GridData.FILL_HORIZONTAL );		data.verticalSpan = 2;		formatArea.setLayoutData( data );		formatField = new Text( formatArea, SWT.BORDER				| SWT.SINGLE				| SWT.READ_ONLY );		formatField.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		changeFormat = new Button( formatArea, SWT.PUSH );		changeFormat.setText( LABEL_CHANGE_FORMAT_BUTTON );		setButtonLayoutData( changeFormat );		changeFormat.addSelectionListener( new SelectionAdapter( ) {			public void widgetSelected( SelectionEvent e )			{				popupFormatBuilder( true );			}		} );		Group preview = new Group( formatArea, SWT.NULL );		preview.setText( LABEL_PREVIEW_WITH_FORMAT );		data = new GridData( GridData.FILL_HORIZONTAL );		preview.setLayoutData( data );		preview.setLayout( new GridLayout( ) );		previewLable = new Label( preview, SWT.CENTER				| SWT.HORIZONTAL				| SWT.VIRTUAL );		previewLable.setText( "" ); //$NON-NLS-1$		previewLable.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		createLabel( optionsGroup, LABEL_LIST_LIMIT );		Composite limitArea = new Composite( optionsGroup, SWT.NULL );		layout = new GridLayout( 2, false );		layout.marginWidth = 0;		layout.marginHeight = 0;		limitArea.setLayout( layout );		data = new GridData( GridData.FILL_HORIZONTAL );		data.verticalSpan = 2;		limitArea.setLayoutData( data );		listLimit = new Text( limitArea, SWT.BORDER );		listLimit.setLayoutData( new GridData( ) );		listLimit.addVerifyListener( new VerifyListener( ) {			public void verifyText( VerifyEvent e )			{				e.doit = ( "1234567890\0".indexOf( e.character ) != -1 ); //$NON-NLS-1$			}		} );		listLimit.addModifyListener( new ModifyListener( ) {			public void modifyText( ModifyEvent e )			{				if ( selectedParameter != null						&& selectedParameter != newParameter )				{					try					{						if ( StringUtil.isBlank( listLimit.getText( ) ) )						{							selectedParameter.setProperty( ScalarParameterHandle.LIST_LIMIT_PROP,									null );						}						else						{							selectedParameter.setListlimit( Integer.parseInt( listLimit.getText( ) ) );						}					}					catch ( SemanticException e1 )					{						ExceptionHandler.handle( e1 );					}					catch ( NumberFormatException e2 )					{						ExceptionHandler.openErrorMessageBox( ERROR_TITLE_INVALID_LIST_LIMIT,								MessageFormat.format( ERROR_MSG_INVALID_LIST_LIMIT,										new Object[]{											Integer.toString( Integer.MAX_VALUE )										} ) );					}				}			}		} );		Label values = new Label( limitArea, SWT.NULL );		values.setText( LABEL_VALUES );		values.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );	}