| Summary: | Custom Widget Documentation is outdated | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | M V <mv> |
| Component: | Documentation | Assignee: | Laurent Fasani <laurent.fasani> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | laurent.fasani, maxime.porhel, pierre-charles.david, pierre.guilet |
| Version: | 5.0.0 | Keywords: | triaged |
| Target Milestone: | 5.1.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://git.eclipse.org/r/111805 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c23c07f3bfd324828dc9e8426f63319461b7780d https://git.eclipse.org/r/115291 https://git.eclipse.org/r/115849 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=5a5a7c4e5e9b2cb7282397c199c84036e474ad3a |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 530732 | ||
|
Description
M V
Hi M V, Thank for the bug report, the doc should be corrected in 5.1.1. Regards New Gerrit change created: https://git.eclipse.org/r/111805 Gerrit change https://git.eclipse.org/r/111805 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c23c07f3bfd324828dc9e8426f63319461b7780d Fixed by c23c07f3bfd324828dc9e8426f63319461b7780d. To validate: * create a plug-in project with the proper dependencies (Sirius and EEF); * create a class with the source code in the document (TableLifecycleManager extends AbstractEEFWidgetLifecycleManager); * verify that it compiles without errors (ideally without warnings either). being validated... There are still compilation error In TableLifecycleManager * A contextAdapter field is needed. Its initialization should be done in constructor. * Add setEnabled(boolean) unimplemented method In TableController * java.util.function.Consumer should be used instead of IConsumer * A contextAdapter field is needed. Its initialization should be done in constructor. * adapt code because this.getCustomExpression return an Optional<String> and a String is needed By the way there is probably the same kind of change in "Sirius Properties – Advanced Custom Widget" New Gerrit change created: https://git.eclipse.org/r/115291 New Gerrit change created: https://git.eclipse.org/r/115849 Gerrit change https://git.eclipse.org/r/115849 was merged to [v5.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=5a5a7c4e5e9b2cb7282397c199c84036e474ad3a Fixed by 5a5a7c4e5e9b2cb7282397c199c84036e474ad3a. Available in Sirius 5.1.1. See https://wiki.eclipse.org/Sirius/5.1.1 for details. |