Bug 530732 - Custom Widget Documentation is outdated
Summary: Custom Widget Documentation is outdated
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Documentation (show other bugs)
Version: 5.0.0   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: 6.0.0   Edit
Assignee: Projet Inbox CLA
QA Contact: Guillaume Coutable CLA
URL:
Whiteboard:
Keywords: triaged
Depends on: 526081
Blocks:
  Show dependency tree
 
Reported: 2018-02-05 08:27 EST by Pierre-Charles David CLA
Modified: 2018-06-27 11:55 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2018-02-05 08:27:54 EST
+++ This bug was initially created as a clone of Bug #526081 +++

The Code examples are outdated

https://www.eclipse.org/sirius/doc/developer/extensions-properties_provide_custom_widget_basic.html

e.g

[outdate]
public class TableLifecycleManager extends AbstractEEFWidgetLifecycleManager {
...

	private IConsumer<Object> newValueConsumer;
...
}

Correct
public class TableLifecycleManager extends AbstractEEFWidgetLifecycleManager {
...

	private Consumer<Object> newValueConsumer;
...
}
Comment 1 Pierre-Charles David CLA 2018-02-05 08:28:16 EST
Clone to report the fix on master for Sirius 6.0.
Comment 2 Eclipse Genie CLA 2018-02-05 08:48:03 EST
New Gerrit change created: https://git.eclipse.org/r/116707
Comment 4 Pierre-Charles David CLA 2018-02-06 09:37:44 EST
Fixed by 32abcf540e421c4f6ec7913348acc14e423758c1.
Comment 5 Guillaume Coutable CLA 2018-05-24 05:56:29 EDT
Validated with sirius 6.0M7
Comment 6 Laurent Redor CLA 2018-06-27 11:55:09 EDT
Available in Sirius 6.0.0, see https://wiki.eclipse.org/Sirius/6.0.0 for details