Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShuai Li2016-05-23 14:37:10 +0000
committerGerrit Code Review @ Eclipse.org2016-05-24 07:52:06 +0000
commitac233284410bf2a2fb8257fbecfb4e6718395e3b (patch)
treec6be82b2dfea8415af68ddc09314e43e1ac4896f /plugins/infra/properties
parent67a5513c1d746dff3551d9c3bf25e86219464df3 (diff)
downloadorg.eclipse.papyrus-ac233284410bf2a2fb8257fbecfb4e6718395e3b.tar.gz
org.eclipse.papyrus-ac233284410bf2a2fb8257fbecfb4e6718395e3b.tar.xz
org.eclipse.papyrus-ac233284410bf2a2fb8257fbecfb4e6718395e3b.zip
Bug 494318 - [Rich Text] Preferences
- Add preference to choose renderer and editor (by we use the simple renderer and editor) - Comment body wrapper editor - Fix some potential NPEs Change-Id: I78153204d554f59b21ef7ecd2725a3dfe2d2a870 Signed-off-by: Shuai Li <shuai.li@cea.fr>
Diffstat (limited to 'plugins/infra/properties')
-rw-r--r--plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringMultilineWithReferences.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringMultilineWithReferences.java b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringMultilineWithReferences.java
index 87a30a6816e..4bab663273d 100644
--- a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringMultilineWithReferences.java
+++ b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringMultilineWithReferences.java
@@ -173,11 +173,11 @@ public class StringMultilineWithReferences extends AbstractPropertyEditor {
return (org.eclipse.papyrus.infra.widgets.editors.StringEditor) valueEditor;
}
- protected void setContentProvider(IStaticContentProvider provider) {
+ public void setContentProvider(IStaticContentProvider provider) {
editor.setReferenceBrowserContentProvider(provider);
}
- protected void setLabelProvider(ILabelProvider labelProvider) {
+ public void setLabelProvider(ILabelProvider labelProvider) {
editor.setLabelProvider(labelProvider);
}
}

Back to the top