fNumWorkspaceChecked++;
{ if ( checked[i] instanceof IProject ) { try { if ( ( (IProject) checked[i] ).hasNature( REPORTPROJECTKID ) ) { fNumWorkspaceBIRTChecked++; } else if ( ( (IProject) checked[i] ).hasNature( JavaCore.NATURE_ID ) ) { fNumWorkspaceJavaChecked++; } } catch ( CoreException e ) { e.printStackTrace( ); }  } }
	private void computeSubset( )	{		Object checked[] = fPluginTreeViewer.getCheckedElements( );		TreeMap map = new TreeMap( );		for ( int i = 0; i < checked.length; i++ )			if ( checked[i] instanceof IProject )			{				IProject model = (IProject) checked[i];				addPluginAndDependencies( model, map );			}		checked = map.values( ).toArray( );		fPluginTreeViewer.setCheckedElements( map.values( ).toArray( ) );		fNumExternalChecked = 0;		fNumWorkspaceChecked = 0;		for ( int i = 0; i < checked.length; i++ )			if ( checked[i] instanceof WorkspacePluginModelBase )				fNumWorkspaceChecked++;			else				fNumExternalChecked++;		adjustGroupState( );	}