Notice: If you are member of any public project or group, please make sure that your GitLab username is not the same as the LRZ identifier/Kennung (see https://gitlab.lrz.de/profile/account). Please change your username if necessary. For more information see the section "Public projects / Öffentliche Projekte" at https://doku.lrz.de/display/PUBLIC/GitLab . Thank you!

Commit fe8706e6 authored by hm-schuhba1's avatar hm-schuhba1

fix #168 add scenarioChecker to DataProcessingView already in constructor.

parent e9873189
Pipeline #76246 canceled with stages
......@@ -66,7 +66,7 @@ class DataProcessingView extends JPanel implements IJsonView {
private boolean isEditable;
private IScenarioChecker scenarioChecker;
DataProcessingView() {
DataProcessingView(IScenarioChecker scenarioChecker) {
setLayout(new BorderLayout()); // force it to span across the whole available space
viewPanel = new JPanel(new GridLayout(1, 1));
......@@ -87,6 +87,7 @@ class DataProcessingView extends JPanel implements IJsonView {
JPanel togglePanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
togglePanel.add(switchJsonViewModeLabel);
add(togglePanel, BorderLayout.SOUTH);
setScenarioChecker(scenarioChecker);
switchMode();
}
......
......@@ -195,7 +195,7 @@ public class ScenarioPanel extends JPanel implements IProjectChangeListener, Pro
topographyFileView.setScenarioChecker(model);
tabbedPane.addTab(Messages.getString("Tab.Topography.title"), topographyFileView);
dataProcessingGUIview = new DataProcessingView();
dataProcessingGUIview = new DataProcessingView(model);
tabbedPane.addTab(Messages.getString("Tab.OutputProcessors.title"), dataProcessingGUIview);
// online visualization card...
JPanel visualizationCard = new JPanel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment