Skip to content
Snippets Groups Projects
Commit be4bbe0f authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Version for the example-page committed.

parent 871e2e88
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.kieker</groupId> <groupId>kieker</groupId>
<artifactId>Kieker.WebGUI</artifactId> <artifactId>Kieker.WebGUI</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<packaging>war</packaging> <packaging>war</packaging>
...@@ -59,11 +59,11 @@ ...@@ -59,11 +59,11 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.primefaces.themes</groupId> <groupId>org.primefaces.themes</groupId>
<artifactId>ui-darkness</artifactId> <artifactId>glass-x</artifactId>
<version>1.0.2</version> <version>1.0.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>de.kieker</groupId> <groupId>kieker</groupId>
<artifactId>kieker</artifactId> <artifactId>kieker</artifactId>
<version>1.5-SNAPSHOT</version> <version>1.5-SNAPSHOT</version>
<scope>system</scope> <scope>system</scope>
......
...@@ -21,6 +21,20 @@ public class AvailablePluginsBean { ...@@ -21,6 +21,20 @@ public class AvailablePluginsBean {
final TreeNode readerNode = new DefaultTreeNode("Reader", root); final TreeNode readerNode = new DefaultTreeNode("Reader", root);
final TreeNode analysisPluginsNode = new DefaultTreeNode("AnalysisPlugins", root); final TreeNode analysisPluginsNode = new DefaultTreeNode("AnalysisPlugins", root);
TreeNode node00 = new DefaultTreeNode("FSReader", readerNode);
TreeNode node01 = new DefaultTreeNode("JMXReader", readerNode);
TreeNode node10 = new DefaultTreeNode("DummyRecordConsumer", analysisPluginsNode);
TreeNode node11 = new DefaultTreeNode("SilentCountingRecordConsumer", analysisPluginsNode);
TreeNode node12 = new DefaultTreeNode("TraceEquivalenceClassFilter", analysisPluginsNode);
TreeNode node13 = new DefaultTreeNode("ExecutionRecordTransformationFilter", analysisPluginsNode);
TreeNode node14 = new DefaultTreeNode("ResourceUtilizationPlugin", analysisPluginsNode);
TreeNode node15 = new DefaultTreeNode("TraceReconstructionPlugin", analysisPluginsNode);
TreeNode node16 = new DefaultTreeNode("CPUGraphPlugin", analysisPluginsNode);
TreeNode node17 = new DefaultTreeNode("SequenceDiagramPlugin", analysisPluginsNode);
TreeNode node18 = new DefaultTreeNode("DependencyGraphPlugin", analysisPluginsNode);
TreeNode node19 = new DefaultTreeNode("PerformanceAnomalyPlugin", analysisPluginsNode);
TreeNode node20 = new DefaultTreeNode("AnomalyGraphPlugin", analysisPluginsNode);
return root; return root;
} }
} }
...@@ -35,13 +35,33 @@ public class AvailableProjectsBean { ...@@ -35,13 +35,33 @@ public class AvailableProjectsBean {
} }
public synchronized TreeNode getProjectsRoot() { public synchronized TreeNode getProjectsRoot() {
TreeNode root = new DefaultTreeNode("Root", null); /* TreeNode root = new DefaultTreeNode("Root", null);
for (final MIProject project : projects) { for (final MIProject project : projects) {
final TreeNode projectNode = new DefaultTreeNode("project", project, root); final TreeNode projectNode = new DefaultTreeNode("project", project, root);
final TreeNode dependenciesNode = new DefaultTreeNode("dependencies", "Dependencies", projectNode); final TreeNode dependenciesNode = new DefaultTreeNode("dependencies", "Dependencies", projectNode);
final TreeNode usedPluginsNode = new DefaultTreeNode("usedPlugins", "Used Plugins", projectNode); final TreeNode usedPluginsNode = new DefaultTreeNode("usedPlugins", "Used Plugins", projectNode);
} }*/
TreeNode root = new DefaultTreeNode("Root", null);
TreeNode node0 = new DefaultTreeNode("dependencies", "JPetStore Analysis", root);
TreeNode node1 = new DefaultTreeNode("dependencies", "Bookstore Analysis", root);
TreeNode node2432 = new DefaultTreeNode("dependencies", "Dependency", node0);
TreeNode node2 = new DefaultTreeNode("dependencies", "Dependency", node1);
TreeNode node3 = new DefaultTreeNode("dependencies", "Kieker.jar", node2);
TreeNode node4 = new DefaultTreeNode("dependencies", "Used Plugins", node1);
TreeNode node11 = new DefaultTreeNode("dependencies", "Reader", node4);
TreeNode node12 = new DefaultTreeNode("dependencies", "Analysis Plugins", node4);
TreeNode node5 = new DefaultTreeNode("dependencies", "FSReader", node11);
TreeNode node6 = new DefaultTreeNode("dependencies", "PerformanceAnomalyPlugin", node12);
TreeNode node7 = new DefaultTreeNode("dependencies", "TraceReconstructionPlugin", node12);
TreeNode node8 = new DefaultTreeNode("dependencies", "AnomalyGraphPlugin", node12);
TreeNode node9 = new DefaultTreeNode("dependencies", "SequenceDiagramPlugin", node12);
TreeNode node10 = new DefaultTreeNode("dependencies", "DependencyGraphPlugin", node12);
return root; return root;
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</context-param> </context-param>
<context-param> <context-param>
<param-name>primefaces.THEME</param-name> <param-name>primefaces.THEME</param-name>
<param-value>ui-darkness</param-value> <param-value>glass-x</param-value>
</context-param> </context-param>
<servlet> <servlet>
<servlet-name>Faces Servlet</servlet-name> <servlet-name>Faces Servlet</servlet-name>
......
...@@ -62,7 +62,41 @@ ...@@ -62,7 +62,41 @@
<!-- The following layout unit is within the center and used for the graph. --> <!-- The following layout unit is within the center and used for the graph. -->
<p:layoutUnit position="center"> <p:layoutUnit position="center">
<p:panel style="font-size:15px;width:150px" id="handlepnl" header="FSReader">
<h:outputText style="width: fit-content" value="myReader" />
</p:panel>
<p:draggable for="handlepnl" handle=".ui-panel-titlebar" grid="40,40"/>
<p:resizable for="handlepnl" grid="40" />
<p:panel style="font-size:15px;width:350px" id="handlepn2" header="PerformanceAnomalyPlugin">
<h:outputText value="PerformanceAnomalyPlugin" />
</p:panel>
<p:draggable for="handlepn2" handle=".ui-panel-titlebar" grid="40,40"/>
<p:resizable for="handlepn2" grid="40" />
<p:panel style="font-size:15px;width:350px" id="handlepn3" header="TraceReconstructionPlugin">
<h:outputText value="TraceReconstruction" />
</p:panel>
<p:draggable for="handlepn3" handle=".ui-panel-titlebar" grid="40,40"/>
<p:resizable for="handlepn3" grid="40" />
<p:panel style="font-size:15px;width:350px" id="handlepn4" header="AnomalyGraphPlugin">
<h:outputText value="AnomalyGraphPlugin" />
</p:panel>
<p:draggable for="handlepn4" handle=".ui-panel-titlebar" grid="40,40"/>
<p:resizable for="handlepn4" grid="40" />
<p:panel style="font-size:15px;width:350px" id="handlepn5" header="SequenceDiagramPlugin">
<h:outputText value="SequenceDiagramPlugin" />
</p:panel>
<p:draggable for="handlepn5" handle=".ui-panel-titlebar" grid="40,40"/>
<p:resizable for="handlepn5" grid="40" />
<p:panel style="font-size:15px;width:350px" id="handlepn6" header="DependencyGraphPlugin">
<h:outputText value="DependencyGraphPlugin" />
</p:panel>
<p:draggable for="handlepn6" handle=".ui-panel-titlebar" grid="40,40"/>
<p:resizable for="handlepn6" grid="40"/>
</p:layoutUnit> </p:layoutUnit>
<!-- The following layout unit is located at the bottom and will be used for properties. --> <!-- The following layout unit is located at the bottom and will be used for properties. -->
...@@ -115,8 +149,8 @@ ...@@ -115,8 +149,8 @@
<p:dialog header="About..." resizable="false" modal="true" widgetVar="AboutDialog"> <p:dialog header="About..." resizable="false" modal="true" widgetVar="AboutDialog">
<h:outputText value="Kieker.WebGUI"/><br/><br/> <h:outputText value="Kieker.WebGUI"/><br/><br/>
<h:outputText value="Version: 1.0-SNAPSHOT"/><br/> <h:outputText value="Version: 1.0-SNAPSHOT"/><br/>
<h:outputText value="Copyright (c) 2011 Kieker Project"/> <br/><br/> <h:outputText value="Copyright (c) 2012 Kieker Project"/> <br/><br/>
<a href="https://se.informatik.uni-kiel.de/kieker/">https://se.informatik.uni-kiel.de/kieker/</a> <a href="http://www.kieker-monitoring.net/">https://se.informatik.uni-kiel.de/kieker/</a>
</p:dialog> </p:dialog>
<p:dialog id="NewProjectDialog" header="New Project" resizable="false" modal="true" widgetVar="NewProjectDialog" > <p:dialog id="NewProjectDialog" header="New Project" resizable="false" modal="true" widgetVar="NewProjectDialog" >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment