We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b285292 commit f284f3dCopy full SHA for f284f3d
1 file changed
org.knime.knip.bdv.panel/src/org/knime/knip/bdv/BigDataViewerUI.java
@@ -30,6 +30,7 @@
30
import org.knime.knip.bdv.uicomponents.SelectionAndGroupingTabs;
31
import org.knime.knip.bdv.uicomponents.SourceProperties;
32
import org.knime.knip.bdv.uicomponents.TransformationPanel;
33
+import org.knime.knip.core.KNIPGateway;
34
import org.scijava.Context;
35
import org.scijava.event.EventService;
36
@@ -141,7 +142,7 @@ public synchronized AccumulateProjectorAlphaBlendingARGB createAccumulateProject
141
142
};
143
144
public BigDataViewerUI(final JFrame frame) {
- Context c = new Context();
145
+ Context c = KNIPGateway.getInstance().ctx();
146
c.inject(this);
147
EventService es = c.getService(EventService.class);
148
es.subscribe(this);
0 commit comments