| Summary: | @PreSave not called for Lifecycle-Handler | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Thomas Schindl <tom.schindl> | ||||||
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bokowski, emoffatt | ||||||
| Version: | 0.9 | Flags: | bokowski:
review?
bokowski: review+ |
||||||
| Target Milestone: | 1.0 RC3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Schindl
Beside that we should really make lifecycle stuff available to plug-ins as well! +1 yep, i'm in favor of having states in the model, see bug 279681. Created attachment 175188 [details]
patch
This makes @PreSave work
+1 Just an idea(In reply to comment #1) > Beside that we should really make lifecycle stuff available to plug-ins as > well! As an idea. Should we create an extra context for Addons in 4.1 and shutdown this context before we save the model? This would give their @PreDestroy the chance to clean up the model. Created attachment 175189 [details]
patch
this patch makes the various annotations none mandatory
+1 looks good. released to head - boris your flag is missing but you +1 on IRC |