Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSopot Cela2012-08-27 16:29:49 -0400
committerSopot Cela2012-08-27 16:29:49 -0400
commit4d0b7202bede50a2f12b86e58c89bd8d301a6442 (patch)
treeb1ce5a51e668f5ced320c06bf448a2cb9e9cc885
parentbb80eeef67e7d6ae818eac47d55cf2d897004499 (diff)
downloadorg.eclipse.e4.tools-4d0b7202bede50a2f12b86e58c89bd8d301a6442.tar.gz
org.eclipse.e4.tools-4d0b7202bede50a2f12b86e58c89bd8d301a6442.tar.xz
org.eclipse.e4.tools-4d0b7202bede50a2f12b86e58c89bd8d301a6442.zip
ASSIGNED - bug 384579: [Tooling] Using the "Add" label for the Add
button also for the Fragment editor https://bugs.eclipse.org/bugs/show_bug.cgi?id=384579
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ModelFragmentsEditor.java1
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/StringModelFragment.java1
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VModelImportsEditor.java1
3 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ModelFragmentsEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ModelFragmentsEditor.java
index c6ac79e0..fe814a0f 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ModelFragmentsEditor.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ModelFragmentsEditor.java
@@ -215,6 +215,7 @@ public class ModelFragmentsEditor extends AbstractComponentEditor {
b = new Button(buttonComp, SWT.PUSH | SWT.FLAT);
b.setImage(createImage(ResourceProvider.IMG_Obj16_table_add));
+ b.setText(Messages.ModelTooling_Common_AddEllipsis);
b.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));
b.addSelectionListener(new SelectionAdapter() {
@Override
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/StringModelFragment.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/StringModelFragment.java
index a34e25ed..fe7bac2d 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/StringModelFragment.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/StringModelFragment.java
@@ -293,6 +293,7 @@ public class StringModelFragment extends AbstractComponentEditor {
b = new Button(buttonComp, SWT.PUSH | SWT.FLAT);
b.setImage(createImage(ResourceProvider.IMG_Obj16_table_add));
+ b.setText(Messages.ModelTooling_Common_AddEllipsis);
b.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));
b.addSelectionListener(new SelectionAdapter() {
@Override
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VModelImportsEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VModelImportsEditor.java
index 80fb9be8..38d0eeb9 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VModelImportsEditor.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VModelImportsEditor.java
@@ -203,6 +203,7 @@ public class VModelImportsEditor extends AbstractComponentEditor {
b = new Button(buttonComp, SWT.PUSH | SWT.FLAT);
b.setImage(createImage(ResourceProvider.IMG_Obj16_table_add));
+ b.setText(Messages.ModelTooling_Common_AddEllipsis);
b.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));
b.addSelectionListener(new SelectionAdapter() {
@Override

Back to the top