From 06c48f632b90bbaf30d30cbc3cfba6462f44873c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 4 Jul 2016 12:53:33 +0100 Subject: [PATCH] JAL-2137 hack to locate a StructureSelectionManager from some context --- src/jalview/structure/StructureSelectionManager.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index fb96b22..04cb559 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -1328,4 +1328,9 @@ public class StructureSelectionManager return seqmappings; } + public static StructureSelectionManager getStructureSelectionManager() + { + return instances.values().iterator().next(); + } + } -- 1.7.10.2