fSelectedMethodsLabel.setText(WizardMessages.getFormattedString(((checkedMethodCount==1)?"NewTestClassWizPage2.selected_methods.label_one":"NewTestClassWizPage2.selected_methods.label_many"), new Integer(checkedMethodCount)));
String label= ""; if (checkedMethodCount == 1) label= WizardMessages.getFormattedString("NewTestClassWizPage2.selected_methods.label_one", new Integer(checkedMethodCount)); else label= WizardMessages.getFormattedString("NewTestClassWizPage2.selected_methods.label_many", new Integer(checkedMethodCount)); fSelectedMethodsLabel.setText(label);
	private void updateSelectedMethodsLabel() {		Object[] checked= fMethodsTree.getCheckedElements();		int checkedMethodCount= 0;		for (int i= 0; i < checked.length; i++) {			if (checked[i] instanceof IMethod)				checkedMethodCount++;		}		fSelectedMethodsLabel.setText(WizardMessages.getFormattedString(((checkedMethodCount==1)?"NewTestClassWizPage2.selected_methods.label_one":"NewTestClassWizPage2.selected_methods.label_many"), new Integer(checkedMethodCount))); //$NON-NLS-1$ //$NON-NLS-2$	}