this.toolWindowManager = toolWindowManager;
this.mydoggySetContext = mydoggySetContext;
}
public Component getComponent() {
ViewContext viewContext = new MapViewContext();
viewContext.put(ToolWindowManager.class, toolWindowManager);
viewContext.put(JFrame.class, frame);
viewContext.put(MyDoggySetContext.class, mydoggySetContext);
JPanel panel = new JPanel();
panel.setLayout(new ExtendedTableLayout(new double[][]{{-1}, {-1, 3, -1}}));
panel.add(new TestChooserView(viewContext).getComponent(), "0,0,FULL,FULL");
panel.add(new TestRecordingView(viewContext).getComponent(), "0,2,FULL,FULL");