Index: lams_tool_videorecorder/db/sql/create_lams_tool_videoRecorder.sql =================================================================== RCS file: /usr/local/cvsroot/lams_tool_videorecorder/db/sql/create_lams_tool_videoRecorder.sql,v diff -u -r1.3 -r1.4 --- lams_tool_videorecorder/db/sql/create_lams_tool_videoRecorder.sql 19 Feb 2009 05:39:09 -0000 1.3 +++ lams_tool_videorecorder/db/sql/create_lams_tool_videoRecorder.sql 19 Feb 2009 23:26:32 -0000 1.4 @@ -28,6 +28,8 @@ create_by bigint, title varchar(255), instructions text, + reflect_on_activity bit, + reflect_instructions text, run_offline bit, lock_on_finished bit, online_instructions text, @@ -111,6 +113,8 @@ instructions, online_instructions, offline_instructions, + reflect_on_activity, + reflect_instructions, tool_content_id, run_offline, lock_on_finished, @@ -129,6 +133,8 @@ "Instructions", "", "", + 0, + "", ${default_content_id}, 0, 0, Index: lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/dto/VideoRecorderDTO.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/dto/VideoRecorderDTO.java,v diff -u -r1.3 -r1.4 --- lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/dto/VideoRecorderDTO.java 19 Feb 2009 05:39:09 -0000 1.3 +++ lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/dto/VideoRecorderDTO.java 19 Feb 2009 23:26:32 -0000 1.4 @@ -49,6 +49,10 @@ public String offlineInstructions; + public boolean reflectOnActivity; + + public String reflectInstructions; + public boolean defineLater; public boolean contentInUse; @@ -95,6 +99,8 @@ allowRatings = videoRecorder.isAllowRatings(); exportAll = videoRecorder.isExportAll(); exportOffline = videoRecorder.isExportOffline(); + reflectOnActivity = videoRecorder.isReflectOnActivity(); + reflectInstructions = videoRecorder.getReflectInstructions(); onlineInstructionsFiles = new TreeSet(); offlineInstructionsFiles = new TreeSet(); @@ -174,6 +180,22 @@ this.onlineInstructionsFiles = onlineInstructionsFiles; } + public boolean isReflectOnActivity() { + return reflectOnActivity; + } + + public void setReflectOnActivity(boolean reflectOnActivity) { + this.reflectOnActivity = reflectOnActivity; + } + + public String getReflectInstructions() { + return reflectInstructions; + } + + public void setReflectInstructions(String reflectInstructions) { + this.reflectInstructions = reflectInstructions; + } + public String getTitle() { return title; } Index: lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/model/VideoRecorder.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/model/VideoRecorder.java,v diff -u -r1.3 -r1.4 --- lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/model/VideoRecorder.java 19 Feb 2009 05:39:07 -0000 1.3 +++ lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/model/VideoRecorder.java 19 Feb 2009 23:26:32 -0000 1.4 @@ -63,6 +63,10 @@ private String title; private String instructions; + + boolean reflectOnActivity; + + String reflectInstructions; private boolean runOffline; @@ -113,7 +117,7 @@ String onlineInstructions, String offlineInstructions, boolean contentInUse, boolean defineLater, boolean allowUseVoice, boolean allowUseCamera, boolean allowLearnerVideoExport, boolean allowLearnerVideoVisibility, Long toolContentId, Set videoRecorderAttachments, Set videoRecorderSessions, boolean exportAll, - boolean exportOffline) { + boolean exportOffline, boolean reflectOnActivity, String reflectInstructions) { this.createDate = createDate; this.updateDate = updateDate; this.createBy = createBy; @@ -133,6 +137,8 @@ this.allowLearnerVideoVisibility = allowLearnerVideoVisibility; this.exportOffline = exportOffline; this.exportAll = exportAll; + this.reflectOnActivity = reflectOnActivity; + this.reflectInstructions = reflectInstructions; } // Property accessors @@ -214,6 +220,28 @@ this.instructions = instructions; } + /** + * @hibernate.property column="reflect_on_activity" length="1" + */ + public boolean isReflectOnActivity() { + return reflectOnActivity; + } + + public void setReflectOnActivity(boolean reflectOnActivity) { + this.reflectOnActivity = reflectOnActivity; + } + + /** + * @hibernate.property column="reflect_instructions" length="65535" + */ + public String getReflectInstructions() { + return reflectInstructions; + } + + public void setReflectInstructions(String reflectInstructions) { + this.reflectInstructions = reflectInstructions; + } + /** * @hibernate.property column="run_offline" length="1" * Index: lams_tool_videorecorder/web/pages/learning/videoRecorder.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_videorecorder/web/pages/learning/videoRecorder.jsp,v diff -u -r1.3 -r1.4 --- lams_tool_videorecorder/web/pages/learning/videoRecorder.jsp 19 Feb 2009 05:39:08 -0000 1.3 +++ lams_tool_videorecorder/web/pages/learning/videoRecorder.jsp 19 Feb 2009 23:26:32 -0000 1.4 @@ -73,13 +73,6 @@   - - - - - -
+ + + + +
+ + + + + + + + + + + + + + + +
+