RFR: JDK-8297007: IGV: Link/Unlink node selection of open tabs
Tobias Holenstein
tholenstein at openjdk.org
Tue Nov 15 16:18:47 UTC 2022
In IGV graphs can be opened in several tabs and then display them side-by-side. Previously, when the user selected nodes in tab A the selection was also applied in tab B.
We now introduce a new global button to link and unlink the selection of different tabs.

If the button is **pressed**, the selection is **linked** globally across tabs:

If the button is **not pressed**, the selection is **not linked** across tabs. This is the default setting:

# Implementation
The `SelectionCoordinator` is responsible to update the other tabs when the selection changes. We simply disable the `SelectionCoordinator` when the link button is not pressed, and enable it otherwise.
-------------
Commit messages:
- GlobalSelectionAction
Changes: https://git.openjdk.org/jdk/pull/11171/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11171&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8297007
Stats: 93 lines in 5 files changed: 74 ins; 5 del; 14 mod
Patch: https://git.openjdk.org/jdk/pull/11171.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11171/head:pull/11171
PR: https://git.openjdk.org/jdk/pull/11171
More information about the hotspot-compiler-dev
mailing list