Bug 316695 Refactor data set editor pages' codes[26568]
Build Identifier: 20100610 Refactor data set editor pages' codes[26568]. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetParametersPage.java
}
			catch ( SemanticException e )
			{
				return getMiscStatus( IStatus.ERROR,
						Utility.getNonNullString( e.getMessage( ) ) );
			}
			return null;
		}
		private void setDirection( String direction )
		{
			if ( direction == null || direction.equals( "" ) ) 
				return;
			if ( direction.equals( ParameterPageUtil.directions[0] ) )
			{
				structureHandle.setIsInput( true );
				structureHandle.setIsOutput( false );
			}
			else if ( direction.equals( ParameterPageUtil.directions[1] ) )
			{
				structureHandle.setIsInput( false );
				structureHandle.setIsOutput( true );
			}
			else if ( direction.equals( ParameterPageUtil.directions[2] ) )
			{
				structureHandle.setIsInput( true );
				structureHandle.setIsOutput( true );
			}
		}
		/*
		 * (non-Javadoc)