Skip to content
Snippets Groups Projects
Commit d71130dc authored by Jorge Cristóbal Martín's avatar Jorge Cristóbal Martín
Browse files

hmtl

parent a7a3aaec
Branches master
No related tags found
No related merge requests found
Showing
with 15 additions and 1 deletion
......@@ -12,5 +12,6 @@ Export-Package: WebPageCourses,
WebPageCourses.impl,
WebPageCourses.util
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport
org.eclipse.emf.ecore;visibility:=reexport,
org.eclipse.emf.ecore.xmi;visibility:=reexport
Bundle-ActivationPolicy: lazy
......@@ -41,4 +41,15 @@ Stores information about the different types of work of the course.
### Work
Has a type (exam, assignments,work) and a percentage.
## HTML
In this part we create an html page out of the ecore project.
### src/main
Where the GentHTML and GenWebCourse are. They have the code to transform from xmi to html.
This is where the html pages are created.
### To Run
Just put in the arguments the xmi you want to run, in this case: /model/StudyProgram.xmi
# Jorge Cristobal Martin
\ No newline at end of file
File added
File added
<html><h1>TDT4250 Advanced Software Design</h1><br><div> <h2> Course Work </h2> <table border="1"><tr><th>Lab Hours</th><th>Lecture Hours </th></tr><tr><th>2.0</th><th>3.0</th></tr></table> </div><div> <h2> People </h2> <table border="1"><p>Department of Computer Science</p><tr><th>Name</th><th>Role </th></tr><tr><th>Hallvard Trætteberg</th><th>Course coordinator:</th></tr></table> </div><div> <h2> Schedule </h2> <table border="1"><tr><th>Room</th><th>Date </th><th>Time </th></tr><tr><th>K5</th><th>Monday </th><th>10:15 - 11:00</th></tr><tr><th>A34</th><th>Tuesday</th><th>14:15 - 16:00</th></tr><tr><th>F6</th><th>Wednesday</th><th>10:15 - 12:00</th></tr><tr><th>A32</th><th>Thursday</th><th>12:15 - 14:00</th></tr></table> </div><div> <h2> Work </h2> <table border="1"><tr><th>Type</th><th>Porcentage </th></tr><tr><th>Exam</th><th>70.0</th></tr><tr><th>Assignments</th><th>30.0</th></tr></table> </div><div> <h2> Credit Reduction Courses </h2> <table border="1"><tr><th>Code</th><th>Credit Reduction </th></tr><tr><th>SIF8060</th><th>7.5</th></tr></table> </div><div> <h2> Requirement Courses </h2> <table border="1"><tr><th>Name</th><th>Code </th><th>Type </th></tr><tr><th>Object-oriented programming</th><th>TDT4100 </th><th>Recommended</th></tr><tr><th>Software Engineering</th><th>TDT4140 </th><th>Recommended</th></tr><tr><th> Information Systems</th><th>TDT4175</th><th>Recommended</th></tr><tr><th> Software Architecture</th><th>TDT4240</th><th>Recommended</th></tr></table> </div></html>
<html><h1>TDT4100 Object-Oriented Programming</h1><br><div> <h2> Course Work </h2> <table border="1"><tr><th>Lab Hours</th><th>Lecture Hours </th></tr><tr><th>7.0</th><th>4.0</th></tr></table> </div><div> <h2> People </h2> <table border="1"><p>Department of Computer Science</p><tr><th>Name</th><th>Role </th></tr><tr><th>Hallvard Trtteberg</th><th>Course coordinator</th></tr><tr><th>Hallvard Trtteberg</th><th>Lecturer</th></tr><tr><th>Rune Stre</th><th>Lecturer</th></tr></table> </div><div> <h2> Schedule </h2> <table border="1"><tr><th>Room</th><th>Date </th><th>Time </th></tr><tr><th>F1</th><th>Monday</th><th>12-14</th></tr><tr><th>F1</th><th>Wednesday</th><th>12-14</th></tr><tr><th>R1</th><th>Thursday</th><th>12-14</th></tr></table> </div><div> <h2> Work </h2> <table border="1"><tr><th>Type</th><th>Porcentage </th></tr><tr><th>Exam</th><th>100.0</th></tr></table> </div><div> <h2> Credit Reduction Courses </h2> <table border="1"><tr><th>Code</th><th>Credit Reduction </th></tr><tr><th>IT1104</th><th>7.5</th></tr><tr><th>SIF8005</th><th>7.5</th></tr><tr><th>TDT4102</th><th>5.0</th></tr><tr><th>TDT4130</th><th>3.7</th></tr></table> </div><div> <h2> Requirement Courses </h2> <table border="1"><tr><th>Name</th><th>Code </th><th>Type </th></tr></table> </div></html>
No preview for this file type
No preview for this file type
File deleted
File added
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
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