Icon icon = null;
Component comp = null;
if (BATCH_PANEL.equals(viewName)) {
comp = new BatchViewer(/*application,*/ sequencer);
BatchViewerTableModel tableModel = ((BatchViewer)comp).getModel();
if (tableModel != null) {
sequencer.addObserver(tableModel);
}
icon = Icons.getIcon("bossanova.batch");
} else if (PARAMETERS_PANEL.equals(viewName)) {