Skip to content

Commit f284f3d

Browse files
author
Gabriel Einsdorf
committed
BigdataViewerUI: use Scijava context from KNIPGateway
1 parent b285292 commit f284f3d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

org.knime.knip.bdv.panel/src/org/knime/knip/bdv/BigDataViewerUI.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import org.knime.knip.bdv.uicomponents.SelectionAndGroupingTabs;
3131
import org.knime.knip.bdv.uicomponents.SourceProperties;
3232
import org.knime.knip.bdv.uicomponents.TransformationPanel;
33+
import org.knime.knip.core.KNIPGateway;
3334
import org.scijava.Context;
3435
import org.scijava.event.EventService;
3536

@@ -141,7 +142,7 @@ public synchronized AccumulateProjectorAlphaBlendingARGB createAccumulateProject
141142
};
142143

143144
public BigDataViewerUI(final JFrame frame) {
144-
Context c = new Context();
145+
Context c = KNIPGateway.getInstance().ctx();
145146
c.inject(this);
146147
EventService es = c.getService(EventService.class);
147148
es.subscribe(this);

0 commit comments

Comments
 (0)