hallvard / plantuml

Embed UML diagrams in files and view them in Eclipse
http://plantuml.sourceforge.net/
212 stars 58 forks source link

Added ability to update diagram from last used view #105

Open steghoja opened 4 years ago

steghoja commented 4 years ago

As an extension to issue #93, this commit introduces changes to allow updating the diagram based on the view that PlantUML last used (i.e., the currentPart) instead of the view that is currently in focus. To make this work, PlantUML now ignores its own view (i.e., does not set the view in which it renders the diagram as the current part) and has a new method updateDiagramTextFromCurrentPart() which updates the diagram based on the currently set currentPart.

steghoja commented 4 years ago

I rebased this on the current version today and am hoping that you might be able to include this in 1.1.25. Actually, my comment was inaccurate: this change is an extension to issue #92.