inputParameters.remove( choice ); valueTable.refresh( );
try { inputParameterGroup.getParameters( ).drop( choice ); } catch ( SemanticException e ) { ExceptionHandler.handle( e ); return; } refreshValueTable( );
	private void deleteRow( )	{		int index = valueTable.getTable( ).getSelectionIndex( );		ScalarParameterHandle choice = (ScalarParameterHandle) ( (IStructuredSelection) valueTable.getSelection( ) ).getFirstElement( );		if ( choice == null )		{			return;		}		inputParameters.remove( choice );		valueTable.refresh( );		index--;		if ( index < 0 && valueTable.getTable( ).getItemCount( ) > 1 )		{			index = 0;		}		StructuredSelection selection = null;		if ( index != -1 )		{			selection = new StructuredSelection( valueTable.getTable( )					.getItem( index )					.getData( ) );		}		else		{			selection = StructuredSelection.EMPTY;		}		valueTable.setSelection( selection );	}