From eb14748bb9c1edc87823d1897243ea100c6bd514 Mon Sep 17 00:00:00 2001 From: "Judy N. Green" Date: Mon, 11 Nov 2002 21:42:41 +0000 Subject: [PATCH] Removed comment and changed reference to use a method rather than access the underlying variable. --- .../wizards/conversion/ConvertProjectWizardPage.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/conversion/ConvertProjectWizardPage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/conversion/ConvertProjectWizardPage.java index c0020320ca7..58d9f6d161a 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/conversion/ConvertProjectWizardPage.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/conversion/ConvertProjectWizardPage.java @@ -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)); }