Permalink
Browse files

some simple mikado project planning support

some more yaml id map features
  • Loading branch information...
Albert Zuendorf
Albert Zuendorf committed Mar 4, 2018
1 parent b2df9f0 commit 5ee47d9b714ac8fd79aa3a651bfaac649e82b9d4
Showing with 24,805 additions and 134 deletions.
  1. +27 −8 .classpath
  2. +1 −0 .gitignore
  3. +12 −6 .project
  4. +1 −0 build.gradle
  5. +304 −0 doc/ExcelProjectPlan.html
  6. +609 −0 doc/GroupAccountMultiUserYaml.html
  7. +150 −0 doc/MikadoModel.html
  8. +285 −0 doc/MikadoProjectPlan.html
  9. +28 −0 doc/Party.html
  10. +18,608 −0 doc/includes/Chart.bundle.js
  11. +45 −0 doc/projectPlans/SDMLibPlan.csv
  12. +6 −1 doc/refs.html
  13. +103 −0 src/main/java/org/sdmlib/models/CreatorMap.java
  14. +62 −4 src/main/java/org/sdmlib/models/SDMComponentListener.java
  15. +202 −87 src/main/java/org/sdmlib/models/YamlIdMap.java
  16. +3 −3 src/main/java/org/sdmlib/models/classes/logic/GenClassModel.java
  17. +3 −3 src/main/java/org/sdmlib/models/classes/logic/GenMethod.java
  18. +200 −0 src/main/java/org/sdmlib/models/pattern/ModelIsomorphimOp.java
  19. +1 −0 src/main/java/org/sdmlib/models/pattern/ReachabilityGraph.java
  20. +376 −0 src/main/java/org/sdmlib/storyboards/Goal.java
  21. +305 −0 src/main/java/org/sdmlib/storyboards/LogEntry.java
  22. +315 −0 src/main/java/org/sdmlib/storyboards/MikadoLog.java
  23. +2 −1 src/main/java/org/sdmlib/storyboards/StoryboardImpl.java
  24. +6 −0 src/main/java/org/sdmlib/storyboards/util/CreatorCreator.java
  25. +181 −0 src/main/java/org/sdmlib/storyboards/util/GoalCreator.java
  26. +306 −0 src/main/java/org/sdmlib/storyboards/util/GoalPO.java
  27. +22 −0 src/main/java/org/sdmlib/storyboards/util/GoalPOCreator.java
  28. +569 −0 src/main/java/org/sdmlib/storyboards/util/GoalSet.java
  29. +171 −0 src/main/java/org/sdmlib/storyboards/util/LogEntryCreator.java
  30. +309 −0 src/main/java/org/sdmlib/storyboards/util/LogEntryPO.java
  31. +22 −0 src/main/java/org/sdmlib/storyboards/util/LogEntryPOCreator.java
  32. +485 −0 src/main/java/org/sdmlib/storyboards/util/LogEntrySet.java
  33. +141 −0 src/main/java/org/sdmlib/storyboards/util/MikadoLogCreator.java
  34. +125 −0 src/main/java/org/sdmlib/storyboards/util/MikadoLogPO.java
  35. +22 −0 src/main/java/org/sdmlib/storyboards/util/MikadoLogPOCreator.java
  36. +251 −0 src/main/java/org/sdmlib/storyboards/util/MikadoLogSet.java
  37. +222 −7 src/test/java/org/sdmlib/test/examples/groupaccount/GroupAccountTests.java
  38. +124 −0 src/test/java/org/sdmlib/test/examples/groupaccount/TestPartyAccount.java
  39. +13 −1 src/test/java/org/sdmlib/test/examples/groupaccount/gui/ItemControl.java
  40. +13 −5 src/test/java/org/sdmlib/test/examples/groupaccount/gui/PartyAccountApp.java
  41. +10 −6 src/test/java/org/sdmlib/test/examples/groupaccount/gui/PartyControl.java
  42. +6 −2 src/test/java/org/sdmlib/test/examples/groupaccount/gui/PersonControl.java
  43. +5 −0 src/test/java/org/sdmlib/test/examples/groupaccount/model/Party.java
  44. +51 −0 src/test/java/org/sdmlib/test/mikado/MikadoMethodModel.java
  45. +103 −0 src/test/java/org/sdmlib/test/mikado/MikadoProjectPlan.java
@@ -1,12 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="src" path="src/main/replication"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="src" path="src/main/resources"/>
<classpathentry kind="src" output="bin/main" path="src/main/java">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/test" path="src/test/java">
<attributes>
<attribute name="gradle_scope" value="test"/>
<attribute name="gradle_used_by_scope" value="test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/main" path="src/main/replication">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/main" path="src/main/resources">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/NetworkParser"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
@@ -18,3 +18,4 @@ atlassian-ide-plugin.xml
*.jar
gradle.properties
*.gpg
out/
@@ -1,18 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SDMLib</name>
<comment/>
<comment></comment>
<projects>
<project>NetworkParser</project>
</projects>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments/>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<linkedResources/>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
@@ -75,6 +75,7 @@ repositories {

dependencies {
compile group: "junit", name: "junit", version: "4.+"
testImplementation 'org.testfx:testfx-junit:4.0+'
if ( ! project.hasProperty('useLocalDependencies'))
{
if((gitVersion.isMaster() || isTravisSnapshot())== false) {
@@ -0,0 +1,304 @@
<!DOCTYPE html>
<html>
<head><meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link href="includes/diagramstyle.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.2.1/Chart.bundle.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="includes/dagre.min.js"></script>
<script src="includes/drawer.js"></script>
<script src="includes/graph.js"></script>
<script src="includes/Chart.bundle.js"></script>
<style>
canvas{
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
</style>
</head>
<body>
<p>Storyboard <a href='.././src/test/java/org/sdmlib/test/mikado/MikadoProjectPlan.java' type='text/x-java'>ExcelProjectPlan</a></p>
<canvas id="myChart" width="1000" height="600"></canvas>
<script>
var ctx = document.getElementById("myChart").getContext('2d');var myLineChart = new Chart(ctx, {
type: 'line',
data: {
datasets: [
{
label: "Burn Down",
data: [
{x: "2018-01-03T12:00:00+01:00", y: 10.0},
{x: "2018-01-04T12:00:00+01:00", y: 9.0},
{x: "2018-03-03T12:00:00+01:00", y: 8.0},
{x: "2018-03-04T00:52:00+01:00", y: 7.0},
]
}
]
},
options: {
responsive: false,
scales: {
xAxes: [{
type: "time",
time: {
displayFormats: {
'millisecond': 'DD MMM hh:mm',
'second': 'DD MMM hh:mm',
'minute': 'DD MMM hh:mm',
'hour': 'DD MMM hh:mm',
'day': 'DD MMM',
'week': 'DD MMM',
'month': 'MMM YYYY',
'quarter': 'MMM YYYY',
'year': 'YYYY',
}
},
display: true,
scaleLabel: {
display: true,
labelString: 'Date'
},
ticks: {
major: {
fontStyle: "bold",
fontColor: "#FF0000"
}
}
}],
yAxes: [{
display: true,
scaleLabel: {
display: true,
labelString: 'hours'
},
ticks: {
beginAtZero: true
}
}]
}
}});
</script>
<p>Start: open goals</p>
<script>
var json = {
"type":"objectdiagram",
"nodes":[
{
"type":"clazz",
"id":"G1 : Goal",
"attributes":[
"description=Wide Spread Use",
"hoursDone=0.0",
"hoursTodo=4.0"
]
},
{
"type":"clazz",
"id":"G2 : Goal",
"attributes":[
"description=Winter ; 18/19 Release",
"hoursDone=0.0",
"hoursTodo=4.0"
]
},
{
"type":"clazz",
"id":"G3 : Goal",
"attributes":[
"description=Summer 18 Release",
"hoursDone=0.0",
"hoursTodo=4.0"
]
},
{
"type":"clazz",
"id":"G4 : Goal",
"attributes":[
"description=Winter 17/18 Release",
"hoursDone=0.0",
"hoursTodo=4.0"
]
},
{
"type":"clazz",
"id":"G5 : Goal",
"attributes":[
"description=Mikado planning support",
"hoursDone=1.0",
"hoursTodo=3.0"
]
},
{
"type":"clazz",
"id":"G6 : Goal",
"attributes":[
"description=EMF Reachabilit Graphs",
"hoursDone=0.0",
"hoursTodo=4.0"
]
},
{
"type":"clazz",
"id":"G7 : Goal",
"attributes":[
"description=ents: \u000d\u000a sdmlib: \"Wide Sprea",
"hoursDone=0.0",
"hoursTodo=4.0"
]
}
],
"edges":[
{
"type":"assoc",
"source":{
"cardinality":"many",
"property":"preGoals",
"id":"G2 : Goal"
},
"target":{
"cardinality":"many",
"property":"parents",
"id":"G1 : Goal"
}
},
{
"type":"assoc",
"source":{
"cardinality":"many",
"property":"preGoals",
"id":"G3 : Goal"
},
"target":{
"cardinality":"many",
"property":"parents",
"id":"G1 : Goal"
}
},
{
"type":"assoc",
"source":{
"cardinality":"many",
"property":"preGoals",
"id":"G4 : Goal"
},
"target":{
"cardinality":"many",
"property":"parents",
"id":"G1 : Goal"
}
},
{
"type":"assoc",
"source":{
"cardinality":"many",
"property":"preGoals",
"id":"G5 : Goal"
},
"target":{
"cardinality":"many",
"property":"parents",
"id":"G3 : Goal"
}
},
{
"type":"assoc",
"source":{
"cardinality":"many",
"property":"preGoals",
"id":"G6 : Goal"
},
"target":{
"cardinality":"many",
"property":"parents",
"id":"G4 : Goal"
}
},
{
"type":"assoc",
"source":{
"cardinality":"many",
"property":"preGoals",
"id":"G7 : Goal"
},
"target":{
"cardinality":"many",
"property":"parents",
"id":"G4 : Goal"
}
}
]
} ;
json["options"]={"canvasid":"canvasExcelProjectPlan3", "display":"svg", "fontsize":10,"bar":true}; var g = new Graph(json);
g.layout(100,100);
</script>
<p><a name = 'step_1'>Step 1: closed goals</a></p><script>
var json = {
"type":"objectdiagram",
"nodes":[
{
"type":"clazz",
"id":"G10 : Goal",
"attributes":[
"description=Yaml based id map",
"hoursDone=8.0",
"hoursTodo=0.0"
]
},
{
"type":"clazz",
"id":"G8 : Goal",
"attributes":[
"description=done",
"hoursDone=0.0",
"hoursTodo=0.0"
]
},
{
"type":"clazz",
"id":"G9 : Goal",
"attributes":[
"description=Allow editing with Excel CSV",
"hoursDone=2.0",
"hoursTodo=0.0"
]
}
],
"edges":[
{
"type":"assoc",
"source":{
"cardinality":"many",
"property":"preGoals",
"id":"G9 : Goal"
},
"target":{
"cardinality":"many",
"property":"parents",
"id":"G8 : Goal"
}
},
{
"type":"assoc",
"source":{
"cardinality":"many",
"property":"preGoals",
"id":"G10 : Goal"
},
"target":{
"cardinality":"many",
"property":"parents",
"id":"G8 : Goal"
}
}
]
} ;
json["options"]={"canvasid":"canvasExcelProjectPlan5", "display":"svg", "fontsize":10,"bar":true}; var g = new Graph(json);
g.layout(100,100);
</script>

</body>
</html>
Oops, something went wrong.

0 comments on commit 5ee47d9

Please sign in to comment.