Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
vadere
vadere
Commits
fe8706e6
Commit
fe8706e6
authored
Nov 21, 2018
by
Stefan Schuhbaeck
Browse files
fix
#168
add scenarioChecker to DataProcessingView already in constructor.
parent
e9873189
Pipeline
#76246
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VadereGui/src/org/vadere/gui/projectview/view/DataProcessingView.java
View file @
fe8706e6
...
...
@@ -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
();
}
...
...
VadereGui/src/org/vadere/gui/projectview/view/ScenarioPanel.java
View file @
fe8706e6
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment