diff options
| author | tobbaumann | 2014-01-17 21:16:01 +0000 |
|---|---|---|
| committer | Markus Alexander Kuppe | 2014-01-17 22:10:05 +0000 |
| commit | 389e8c521f39bc0c35fc3e6fe11e28606a0b055c (patch) | |
| tree | 7592e4eb1de52f8711dc4e468164321eeddea86a | |
| parent | f51c0fa2ab48dbf860745e509d66b7db57f9665d (diff) | |
| download | org.eclipse.e4.tools-389e8c521f39bc0c35fc3e6fe11e28606a0b055c.tar.gz org.eclipse.e4.tools-389e8c521f39bc0c35fc3e6fe11e28606a0b055c.tar.xz org.eclipse.e4.tools-389e8c521f39bc0c35fc3e6fe11e28606a0b055c.zip | |
Bug 405728: Add tooltips to model editor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=405728
Add tooltip to IconURI selection in part editor.
Change-Id: I068fad75e48ab3ff959ef88b289ef9eda9aaf409
Signed-off-by: tobbaumann <tobbaumann@gmail.com>
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/Messages.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/Messages.java index 7643488c..c15752e3 100644 --- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/Messages.java +++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/Messages.java @@ -189,6 +189,7 @@ public class Messages { public String PartEditor_LabelLabel; public String PartEditor_Tooltip; public String PartEditor_IconURI; + public String PartEditor_IconURI_Tooltip; public String PartEditor_ClassURI; public String PartEditor_Closeable; public String PartEditor_Closeable_Tooltip; diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/Messages.properties b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/Messages.properties index 7e0e85a4..5f5e9a8e 100644 --- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/Messages.properties +++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/Messages.properties @@ -193,6 +193,7 @@ PartEditor_Description=Part Bla Bla Bla Bla PartEditor_LabelLabel=Label PartEditor_Tooltip=Tooltip PartEditor_IconURI=Icon URI +PartEditor_IconURI_Tooltip=Choose the icon of your part here PartEditor_ClassURI=Class URI PartEditor_Closeable=Closeable PartEditor_Closeable_Tooltip=If checked, the part can be closed by the user diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/PartEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/PartEditor.java index e215abfc..36efe145 100644 --- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/PartEditor.java +++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/PartEditor.java @@ -187,6 +187,7 @@ public class PartEditor extends AbstractComponentEditor { Label l = new Label(parent, SWT.NONE); l.setText(Messages.PartEditor_IconURI); l.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END)); + l.setToolTipText(Messages.PartEditor_IconURI_Tooltip); final Text t = new Text(parent, SWT.BORDER); TextPasteHandler.createFor(t); |
