Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Bégaudeau2016-07-21 04:09:51 -0400
committerStephane Begaudeau2016-08-22 09:34:05 -0400
commit938ba9c34208acec20dbcf72f76ee4d5be8630fb (patch)
tree549ec4b1ae06fd78650ebd8021428fb6623827fe /samples
parentce404106fce42a8d0218d757647a22d32e911f4f (diff)
downloadorg.eclipse.eef-938ba9c34208acec20dbcf72f76ee4d5be8630fb.tar.gz
org.eclipse.eef-938ba9c34208acec20dbcf72f76ee4d5be8630fb.tar.xz
org.eclipse.eef-938ba9c34208acec20dbcf72f76ee4d5be8630fb.zip
[496057] Add support for advanced custom widgets
1) Add a new reference widget configured using the name of an EReference 2) Add the method getEditingDomain() on EditingContextAdapter 3) Fix a potential NPE with the lifecycle manager providers Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=496057 Change-Id: Ib6597e1df8caa345c5e89fe44a6b40eee30d63e2 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
Diffstat (limited to 'samples')
-rw-r--r--samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.properties5
-rw-r--r--samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.xml4
2 files changed, 6 insertions, 3 deletions
diff --git a/samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.properties b/samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.properties
index d602c4f31..fb03e687d 100644
--- a/samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.properties
+++ b/samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.properties
@@ -6,4 +6,7 @@
# Contributors: Obeo - initial API and implementation
pluginName=EEF Color Picker Custom Widget
-providerName=Eclipse Modeling Project \ No newline at end of file
+providerName=Eclipse Modeling Project
+
+eefLifecycleManagerProvider.Label=Color Picker Widget
+eefLifecycleManagerProvider.Description=Provides a color picker custom widget \ No newline at end of file
diff --git a/samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.xml b/samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.xml
index d172b2424..70e800dc3 100644
--- a/samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.xml
+++ b/samples/org.eclipse.eef.sample.custom.widget.colorpicker/plugin.xml
@@ -5,9 +5,9 @@
point="org.eclipse.eef.ide.ui.eefLifecycleManagerProvider">
<descriptor
class="org.eclipse.eef.sample.custom.widget.colorpicker.ColorPickerProvider"
- description="Provides a color picker custom widget"
+ description="%eefLifecycleManagerProvider.Description"
id="org.eclipse.eef.sample.custom.widget.colorpicker"
- label="Color Picker Widget">
+ label="%eefLifecycleManagerProvider.Label">
</descriptor>
</extension>

Back to the top