Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WebGUI
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kieker
WebGUI
Commits
95a505b9
Commit
95a505b9
authored
11 years ago
by
Nils Christian Ehmke
Browse files
Options
Downloads
Patches
Plain Diff
Bugfixing
parent
8a62ba34
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Kieker.WebGUI/src/main/java/kieker/webgui/web/beans/view/CockpitEditorBean.java
+9
-7
9 additions, 7 deletions
.../java/kieker/webgui/web/beans/view/CockpitEditorBean.java
Kieker.WebGUI/src/main/webapp/pages/CockpitPage.xhtml
+1
-1
1 addition, 1 deletion
Kieker.WebGUI/src/main/webapp/pages/CockpitPage.xhtml
with
10 additions
and
8 deletions
Kieker.WebGUI/src/main/java/kieker/webgui/web/beans/view/CockpitEditorBean.java
+
9
−
7
View file @
95a505b9
...
...
@@ -134,7 +134,7 @@ public final class CockpitEditorBean {
this
.
loadProject
();
if
(
this
.
project
!=
null
)
{
this
.
resetTimeStamp
();
this
.
resetTimeStamp
FromLastSaving
();
this
.
reloadAvailableComponents
();
this
.
createDashboardComponent
();
...
...
@@ -181,11 +181,13 @@ public final class CockpitEditorBean {
return
Collections
.
nCopies
(
3
,
null
);
}
/**
* This method sets the time stamp to the current system time.
*/
public
void
resetTimeStamp
()
{
this
.
timeStampSinceLastSaving
=
System
.
currentTimeMillis
();
private
void
resetTimeStampFromLastSaving
()
{
// TODO Handle exceptions correctly
try
{
this
.
timeStampSinceLastSaving
=
this
.
projectService
.
getCurrTimeStamp
(
this
.
projectName
);
}
catch
(
final
ProjectNotExistingException
ex
)
{
ex
.
printStackTrace
();
}
}
public
MIView
getSelectedView
()
{
...
...
@@ -426,7 +428,7 @@ public final class CockpitEditorBean {
this
.
cockpitLayout
.
serializeToString
());
GlobalPropertiesBean
.
showMessage
(
FacesMessage
.
SEVERITY_INFO
,
this
.
globalPropertiesBean
.
getMsgProjectSaved
());
// Update the time stamp!
this
.
resetTimeStamp
();
this
.
resetTimeStamp
FromLastSaving
();
this
.
clearModificationsFlag
();
}
catch
(
final
IOException
ex
)
{
...
...
This diff is collapsed.
Click to expand it.
Kieker.WebGUI/src/main/webapp/pages/CockpitPage.xhtml
+
1
−
1
View file @
95a505b9
...
...
@@ -56,7 +56,7 @@
title=
"#{display.name}"
value=
"#{cockpitBean.getXYPlotUpdate(display.name)}"
rendered=
"#{cockpitBean.getDisplayType(display.name) == XY_PLOT}"
/>
<p:meterGaugeChart
title=
"#{display.name}"
value=
"#{cockpitBean.getMeterGaugeUpdate(display.name)}"
rendered=
"#{cockpitBean.getDisplayType(display.name) == METER_GAUGE}"
/>
<h:outputText
value=
"#{cockpitBean.getPlainTextUpdate(display.name)}"
rendered=
"#{cockpitBean.getDisplayType(display.name) == PLAIN_TEXT}"
/>
<h:outputText
value=
"N/A"
rendered=
"#{
empty
cockpitBean.getDisplayType(display.name)}"
/>
<h:outputText
value=
"N/A"
rendered=
"#{cockpitBean.getDisplayType(display.name)
== UNKNOWN
}"
/>
<p:pieChart
fill=
"#{cockpitBean.getPieChartDisplaySettings(display.name).usingFilledChart}"
shadow=
"#{cockpitBean.getPieChartDisplaySettings(display.name).usingShadows}"
showDataLabels=
"#{cockpitBean.getPieChartDisplaySettings(display.name).usingVisibleDataLabels}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment