| Summary: | [OCL] ocl.examples.interpreter: add page up/down history | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] OCL | Reporter: | Nicolas Rouquette <nicolas.f.rouquette> | ||||
| Component: | Core | Assignee: | OCL Inbox <mdt-ocl-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ed | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Hi, Nicolas, Thanks for the contribution! But, unfortunately, it is already obsoleted by work-in-progress on a completely revamped OCL example: bug 259922. Perhaps you would like to follow the progress of that enhancement, and even give the new example a whirl? I'll post a preview, shortly. In bug 259922, the history is superseded by an OCL environment browser: every constraint/query that is parsed in the "console" is added to the environment currently selected in the browser, where it can be simply double-clicked at any time later to check/evaluate it (according to whether it is a constraint or a query) at will. There will be lots to polish, which perhaps you could help with. :-) Nicolas: Apologies. I didn't find this till after committing 294200, which also contributes Page Up/Down. So until the new browser materialises the old one is at least a bit better. *** This bug has been marked as a duplicate of bug 294200 *** |
Created attachment 122211 [details] Patch for org.eclipse.emf.ocl.examples.interpreter.console.OCLConsolePage Build ID: 20090101-1511 Steps To Reproduce: The current OCL interpreter example can save the last OCL expression. It would be nice to have a ring buffer history of the last N expressions and use the page up/down keys to flip through the history. More information: See patch for a suggested ocl history mechanism.