| Summary: | [Menu Diagram] Initial State for the actions | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Vincent Lorenzo <vincent.lorenzo> |
| Component: | Core | Assignee: | Vincent Lorenzo <vincent.lorenzo> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | vincent.lorenzo |
| Version: | 0.7.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Vincent Lorenzo
in r2921 : add IStartup + an enableWHen for the autoSize in the toolbar. I think that we should remove the IStartup and find another way to correct this bug. This bug must not be closed! The enable state is never computed for Java-based property testers (Unless force activation is set to true in the plugin.xml, which is not recommended) Possible solutions: - Implement a *lightweight* property tester in a *low level* Papyrus plug-in (With as few dependencies as possible, to avoid starting N plug-ins) - Implement the "isEnabled" state with XML-based Eclipse Expressions (Which are properly executed) In all cases, it is important that testing the Actions enablement/visibility does not require to start any leaf Papyrus plug-in (Which takes time and memory, because all dependencies are loaded, and it is intrusive for non-Papyrus users) |