diff options
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:"; + } } |