Bug 177274 Default projects of different drill through target file are the same[04]
Default projects of different drill through target file are the same[04] Build number: 2.2.0.v20070313-0630 1.new a report project ,name:aa 2.new a report test1.rptdesign in aa,drag a label in layout and input "test1" 3.new a report project, name:bb 4.new a report test2.rptdesign in bb,drag a label in layout and input "test2" 5.select the label in test1.rptdesign,switch to hyperlink,choose drill-through,click the button "Browse For File",you'll see aa project 6.select the label in test2.rptdesign,same as step 5,you'll still see aa project Expected result: in step5,you see aa project in step6,you see bb project Actual result: both are aa project error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java
}
		else if ( DesignChoiceConstants.ACTION_LINK_TYPE_BOOKMARK_LINK.equals( selectedType ) )
		{
			okEnable = !StringUtil.isBlank( bookmarkEditor.getText( ) );
		}
		else if ( DesignChoiceConstants.ACTION_LINK_TYPE_DRILL_THROUGH.equals( selectedType ) )
		{
			okEnable = targetReportHandle != null
					&& !StringUtil.isBlank( locationEditor.getText( ) )
					|| !StringUtil.isBlank( documentEditor.getText( ) )
					&& messageLine.getImage( ) == null;
		}
		getOkButton( ).setEnabled( okEnable );
	}
	private void buildParameterChoices( String selectedParameter )
	{
		ArrayList avaliavleList = new ArrayList( );
		for ( Iterator iter = parameterList.iterator( ); iter.hasNext( ); )
		{
			ParameterHandle parameter = (ParameterHandle) iter.next( );
			avaliavleList.add( parameter.getQualifiedName( ) );
		}
		for ( Iterator iter = bindingList.iterator( ); iter.hasNext( ); )
		{
			ParamBinding paramBinding = (ParamBinding) iter.next( );
			if ( !paramBinding.getParamName( ).equals( selectedParameter ) )
			{
				avaliavleList.remove( paramBinding.getParamName( ) );
			}
		}