Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsminto2005-06-24 20:57:18 +0000
committersminto2005-06-24 20:57:18 +0000
commit5e2eda737bb40da435cbfc30b5c234773326e58e (patch)
tree26be1ec5a5282588f0382e1fc24266efe7c76c18
parentf8308460942e136cd4515a43b840b3cf80f26deb (diff)
downloadorg.eclipse.mylyn.tasks-5e2eda737bb40da435cbfc30b5c234773326e58e.tar.gz
org.eclipse.mylyn.tasks-5e2eda737bb40da435cbfc30b5c234773326e58e.tar.xz
org.eclipse.mylyn.tasks-5e2eda737bb40da435cbfc30b5c234773326e58e.zip
Updated the label for the table view of the products to be correct
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/AbstractWizardListPage.java4
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/WizardProductPage.java5
2 files changed, 8 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/AbstractWizardListPage.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/AbstractWizardListPage.java
index 5ffb53ebe..47d4c3aa0 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/AbstractWizardListPage.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/AbstractWizardListPage.java
@@ -83,7 +83,7 @@ public abstract class AbstractWizardListPage extends WizardPage implements
// create the bug report label
Label label = new Label(composite, SWT.NONE);
- label.setText("Saved bug report:");
+ label.setText(getTableName());
FontData fontData = label.getFont().getFontData()[0];
fontData.setStyle(SWT.BOLD | fontData.getStyle());
int height = (int) Math.abs(fontData.getHeight() * 1.25);
@@ -108,6 +108,8 @@ public abstract class AbstractWizardListPage extends WizardPage implements
addListeners();
}
+ public abstract String getTableName();
+
/**
* Populate the list of items
*/
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/WizardProductPage.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/WizardProductPage.java
index cd88b12ab..45fc32384 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/WizardProductPage.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/wizard/WizardProductPage.java
@@ -109,5 +109,10 @@ public class WizardProductPage extends AbstractWizardListPage {
prevProduct = model.getProduct();
model.setProduct((listBox.getSelection())[0]);
}
+
+ @Override
+ public String getTableName() {
+ return "Product:";
+ }
}

Back to the top