1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Removed comment and changed reference to use a method rather than access the underlying variable.

This commit is contained in:
Judy N. Green 2002-11-11 21:42:41 +00:00
parent d3ebea6093
commit eb14748bb9

View file

@ -109,11 +109,7 @@ public abstract class ConvertProjectWizardPage
public void createControl(Composite parent) {
Composite container = new Composite(parent, SWT.NONE);
/* Later ... [jng]
We need to add help, but cannot extend org.eclipse.ui.IHelpContextIds
and there is no constant defined that we can use.
see org.eclipse.cdt.ui.wizards.CProjectWizardPage::createControl
*/
GridLayout layout = new GridLayout();
layout.marginHeight = 0;
layout.marginWidth = 0;
@ -261,7 +257,7 @@ public abstract class ConvertProjectWizardPage
protected void updateSelectionButtons() {
// update select and deselect buttons as required
Object[] checkedObjects = tableViewer.getCheckedElements();
Object[] checkedObjects = getCheckedElements();
int totalItems = tableViewer.getTable().getItemCount();
boolean allSelected = checkedObjects.length == totalItems;
boolean noneSelected = checkedObjects.length == 0;
@ -290,7 +286,7 @@ public abstract class ConvertProjectWizardPage
*/
protected boolean validatePage() {
Object[] selection = tableViewer.getCheckedElements();
Object[] selection = getCheckedElements();
return ((selection != null) && (selection.length > 0));
}