| Summary: | DefaultDeleteFeature.setDoneChanges(setDoneChanges) should be protected | ||
|---|---|---|---|
| Product: | [Modeling] Graphiti | Reporter: | Veit Hoffmann <vhoff> |
| Component: | Core | Assignee: | Project Inbox <graphiti-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | felix.velasco, karsten.thoms, michael.wenz |
| Version: | 0.8.0 | Flags: | michael.wenz:
juno+
|
| Target Milestone: | 0.9.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | Juno M4 Theme_round_offs | ||
|
Description
Veit Hoffmann
Post Indigo enhancement Would like to target for Juno Veit, have you tried overriding hasDoneChanges() instead? It should cover your needs without any code change. (In reply to comment #3) > Veit, have you tried overriding hasDoneChanges() instead? > > It should cover your needs without any code change. Yes, but this would rather be a workaround. The much cleaner way would be to simply set the flag by a call to setDoneChanges from a subclass I have made the method protected and fixed the bug that it was called by the delete method too early. Besides I have have improved some related JavaDoc. Checked-in to head and pushed to eclipse: commit d4c7d106d5d8c893fd9209c8fe0bd0c9ff5a24b2 Author: mwenz <michael.wenz@sap.com> 2011-11-10 14:57:11 Committer: mwenz <michael.wenz@sap.com> 2011-11-10 14:57:11 Parent: 2d6f1a943d3c0373855bc148a3f1a8af28e305c9 (Bug 361932: Set compiler settings to Java 1.5, enforce JDK 1.5 installed and removed override tags for interface method implementations to make Graphiti truly Java 1.5 compatible) Child: 857c60509a4d519bdd715022e39f0bdea3aa0de6 (Hide some irrelevant html and xml warnings) Branches: origin/master, master *** Bug 364311 has been marked as a duplicate of this bug. *** Bookkeeping: Set target release Part of Graphiti 0.9.0 (Eclipse Juno) |