hallvard / plantuml

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

add support for multiple PlantUML views #21

Closed anb0s closed 7 years ago

anb0s commented 7 years ago

It would be good to have multiple PlantUML views opened with the possibility to pin one or all of them to different sources (editors).

Similar is possible in other Eclipse views like "Search View": image

or "Console View): image

hallvard commented 7 years ago

I have made a pre-release available at http://files.idi.ntnu.no/publish/plantuml-pre/repository/ that includes preliminary support for pinning a view to a specific editor. Is this what you had in mind? I have not yet implemented means for creating multiple views. Should this happen automatically when you pin a view or should there be a "spawn new view" button?

anb0s commented 7 years ago

Wow, great!

Pinning is working like expected, just two points:

The creating of new view should be done explicitly with a button, like in Console View: image

Thanks!

hallvard commented 7 years ago

I've made another pre-release available, that sets the tooltip of the pin button to indicate the file it is pinned to and that includes a button for opening new views.

anb0s commented 7 years ago

Multiple views are working! I'm very happy with this now :) Thanks!

Some investigations so far:

anb0s commented 7 years ago

From my point of view the issue solved with described corner cases. I will create separate enhancement requests for the "Open / Jump to/ Show In" feature described above and drag&drop support as nice to have. Thank You again!

hallvard commented 7 years ago

I also noticed the first problem you mentioned above, I think it's because I changed slightly the persisted state of the view. Concerning the latter problem, it's not always obvious of when the view should be cleared, and I haven't systematically considered all cases. I'll close this issue after the next release, and then you and others can create new issues where details can be discussed.

anb0s commented 7 years ago

My colleagues are asking me about this enhancement, should i recommend the test build you provided here or should we wait for the official release? Thank You!

hallvard commented 7 years ago

It will be part of a new release coming very soon.