diff options
author | sminto | 2005-06-24 20:57:18 +0000 |
---|---|---|
committer | sminto | 2005-06-24 20:57:18 +0000 |
commit | 5e2eda737bb40da435cbfc30b5c234773326e58e (patch) | |
tree | 26be1ec5a5282588f0382e1fc24266efe7c76c18 | |
parent | f8308460942e136cd4515a43b840b3cf80f26deb (diff) | |
download | org.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
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:"; + } } |