hallvard / plantuml

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

add "Open" and "Show In" buttons for resource selection #22

Closed anb0s closed 6 years ago

anb0s commented 7 years ago

Related to #21: additionally it would be perfect to have "Jump to" or "Open" and "Show In" buttons that puts to front or opens the resource editor or selects the pinned resource in Project Explorer.

hallvard commented 7 years ago

I'm reluctant to add many more buttons. Would it be OK to just open the resource/bring it to front if you select a plantuml view that is pinned? Then the Project Explorer should follow if it is linked to the current editor.

anb0s commented 7 years ago

Yes, i see, it would be OK too.

I'm just curious if it's also about the "double arrow" button:

hallvard commented 7 years ago

Yes, I should update the text so it's consistent with other Eclipse views, e.g. "Link with Editor".

paulvi commented 6 years ago

Not that "Link with Editor" links with a file, not a particular diagram within it https://github.com/hallvard/plantuml/issues/64

hallvard commented 6 years ago

It links to an editor for a file, so the diagram will change with the selection. I could add a "locked" mode, where it never updates (until the "locked" mode is exited).

paulvi commented 6 years ago

"locked" mode is already there, just pin and disable "Link with Editor"