@Override public void run() throws Exception { result[0]= fContribution.getCleanUpCount(); } });
@Override public void run() throws Exception { result[0]= fContribution.getCleanUpCount(); } });
private void updateCountLabel() { int size= 0, count= 0; for (int i= 0; i < fPages.length; i++) { size+= fPages[i].getCleanUpCount(); count+= fPages[i].getSelectedCleanUpCount(); } fCountLabel.setText(Messages.format(CleanUpMessages.CleanUpModifyDialog_XofYSelected_Label, new Object[] {Integer.valueOf(count), Integer.valueOf(size)})); }
private void updateCountLabel() { int size= 0, count= 0; for (int i= 0; i < fPages.length; i++) { size+= fPages[i].getCleanUpCount(); count+= fPages[i].getSelectedCleanUpCount(); } fCountLabel.setText(Messages.format(CleanUpMessages.CleanUpModifyDialog_XofYSelected_Label, new Object[] {new Integer(count), new Integer(size)})); }