commit | 389e8c521f39bc0c35fc3e6fe11e28606a0b055c | [log] [tgz] |
---|---|---|
author | tobbaumann <tobbaumann@gmail.com> | Fri Jan 17 22:16:01 2014 +0100 |
committer | Markus Alexander Kuppe <bugs.eclipse.org@lemmster.de> | Fri Jan 17 23:10:05 2014 +0100 |
tree | 7592e4eb1de52f8711dc4e468164321eeddea86a | |
parent | f51c0fa2ab48dbf860745e509d66b7db57f9665d [diff] |
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>
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 7643488..c15752e 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 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 7e0e85a..5f5e9a8 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_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 e215abf..36efe14 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 @@ 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);