Index: lams_flex/LamsAuthor/src/LamsAuthor.mxml
===================================================================
diff -u -r0aaad79f0f603dbb8fbcc1bd66f381428715c4d5 -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/LamsAuthor.mxml (.../LamsAuthor.mxml) (revision 0aaad79f0f603dbb8fbcc1bd66f381428715c4d5)
+++ lams_flex/LamsAuthor/src/LamsAuthor.mxml (.../LamsAuthor.mxml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -49,6 +49,9 @@
// current selected activity
public var selectedActivity:ActivityComponent;
+ [Bindable]
+ public var applicationCenter:Point = new Point();
+
// dictionary
[Bindable]
public var dictionary:XMLDictionaryRegistry;
@@ -96,4 +99,7 @@
+
+
+
Index: lams_flex/LamsAuthor/src/assets/css/author.css
===================================================================
diff -u
--- lams_flex/LamsAuthor/src/assets/css/author.css (revision 0)
+++ lams_flex/LamsAuthor/src/assets/css/author.css (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -0,0 +1,23 @@
+/* CSS file */
+
+
+
+.window {
+ padding-bottom: 5; padding-top: 5; padding-left: 8; padding-right: 8;
+ background-color: #c2d5fe;
+ borderStyle: solid;
+ borderThicknessLeft: 0; borderThicknessTop: 0;borderThicknessBottom: 0; borderThicknessRight: 0;
+ horizontal-align: center;
+ corner-radius: 5;
+ roundedBottomCorners: true;
+ drop-shadow-enabled: false;
+ header-colors: #c2d5fe, #2359D6;
+ header-height: 20;
+ titleStyleName: "groupNameWindowTitle";
+
+}
+
+.windowTitle {
+ textAlign: center;
+ font-weight:bold;
+}
\ No newline at end of file
Index: lams_flex/LamsAuthor/src/assets/css/propertyInspector.css
===================================================================
diff -u -r49b1554a182016d60094625120b16bc761fdb2fe -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/assets/css/propertyInspector.css (.../propertyInspector.css) (revision 49b1554a182016d60094625120b16bc761fdb2fe)
+++ lams_flex/LamsAuthor/src/assets/css/propertyInspector.css (.../propertyInspector.css) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -18,7 +18,7 @@
shadowDirection: right;
titleStyleName: "propertyInpsectorTitleUnselected";
vertical-gap: 0;
- background-alpha: 0.2;
+ background-alpha: 0.05;
}
.propertyInpsectorTitleUnselected {
@@ -29,21 +29,19 @@
.propertyInspectorSelected {
paddingLeft: 0; paddingRight: 0; paddingTop:0; paddingBottom:0;
borderStyle: solid;
- borderThicknessLeft: 0;
- borderThicknessTop: 0;
- borderThicknessBottom: 0;
- borderThicknessRight: 0;
+ borderThicknessLeft: 0; borderThicknessTop: 0;borderThicknessBottom: 0; borderThicknessRight: 0;
roundedBottomCorners: true;
cornerRadius: 0;
headerHeight: 17;
- headerColors: #c2d5fe, #E7EEFF;
+ /*headerColors: #c2d5fe, #E7EEFF;*/
+ headerColors: #c2d5fe, #2359D6;
backgroundColor: #c2d5fe;
dropShadowEnabled: true;
shadowDistance: 0;
shadowDirection: right;
titleStyleName: "propertyInpsectorTitleSelected";
vertical-gap: 0;
- background-alpha: 0.9;
+ background-alpha: 0.7;
}
.propertyInpsectorTitleSelected {
@@ -52,5 +50,6 @@
}
+
Index: lams_flex/LamsAuthor/src/assets/languages/dictionary.xml
===================================================================
diff -u -r0aaad79f0f603dbb8fbcc1bd66f381428715c4d5 -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/assets/languages/dictionary.xml (.../dictionary.xml) (revision 0aaad79f0f603dbb8fbcc1bd66f381428715c4d5)
+++ lams_flex/LamsAuthor/src/assets/languages/dictionary.xml (.../dictionary.xml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -155,5 +155,9 @@
Title
+
+
+ Optional Activity
+
\ No newline at end of file
Index: lams_flex/LamsAuthor/src/assets/languages/en_AU.xml
===================================================================
diff -u -r0aaad79f0f603dbb8fbcc1bd66f381428715c4d5 -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/assets/languages/en_AU.xml (.../en_AU.xml) (revision 0aaad79f0f603dbb8fbcc1bd66f381428715c4d5)
+++ lams_flex/LamsAuthor/src/assets/languages/en_AU.xml (.../en_AU.xml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -157,5 +157,34 @@
Title
+
+ Optional Activity
+
+
+ Grouping
+
+
+ Number of groups
+
+
+ Number of learners
+
+
+
+ Grouping - Random
+
+
+ Grouping - Choose in monitor
+
+
+ Grouping - Learner's Choice
+
+
+ Click on a name to change its value.
+
+
+ Group Naming
+
+
\ No newline at end of file
Index: lams_flex/LamsAuthor/src/assets/languages/newLanguageKeys.xml
===================================================================
diff -u -rd75a56dbb3bbbceaeba8a0f5367d60ac305239aa -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/assets/languages/newLanguageKeys.xml (.../newLanguageKeys.xml) (revision d75a56dbb3bbbceaeba8a0f5367d60ac305239aa)
+++ lams_flex/LamsAuthor/src/assets/languages/newLanguageKeys.xml (.../newLanguageKeys.xml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -73,5 +73,15 @@
Contains tools that you can use to assess and evaluate learning
+
+
+ Grouping - Random
+
+
+ Grouping - Choose in monitor
+
+
+ Grouping - Learner's Choice
+
\ No newline at end of file
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml
===================================================================
diff -u -rbbf05bc0eb7a947272cb76a9e9c5b1093cd54e2c -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml (.../CanvasArea.mxml) (revision bbf05bc0eb7a947272cb76a9e9c5b1093cd54e2c)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml (.../CanvasArea.mxml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -18,8 +18,7 @@
-
+
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasBox.mxml
===================================================================
diff -u -r0aaad79f0f603dbb8fbcc1bd66f381428715c4d5 -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasBox.mxml (.../CanvasBox.mxml) (revision 0aaad79f0f603dbb8fbcc1bd66f381428715c4d5)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasBox.mxml (.../CanvasBox.mxml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -8,13 +8,11 @@
width="4000" height="3000"
x="0" y="0"
click="click(event)"
- mouseDown="mouseDown(event)"
>
-
-
-
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/PropertyInspector.mxml
===================================================================
diff -u -r49b1554a182016d60094625120b16bc761fdb2fe -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/PropertyInspector.mxml (.../PropertyInspector.mxml) (revision 49b1554a182016d60094625120b16bc761fdb2fe)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/PropertyInspector.mxml (.../PropertyInspector.mxml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -1,86 +1,159 @@
+ xmlns:group="org.lamsfoundation.lams.author.components.activity.group.*">
+
groupActivity.groupNames.length) {
+ groupActivity.groupNames.addItem(Application.application.dictionary.getLabel('group_btn') + " " + groupActivity.numGroups)
+ }
+
+ if (groupActivity.numGroups < groupActivity.groupNames.length) {
+ groupActivity.groupNames.removeItemAt(groupActivity.groupNames.length - 1);
+ }
+ }
+
+ }
+
+
+ private function openNameGroupsWindow():void {
+ nameGroupsWindow.openWindow();
+ }
+
]]>
-
-
-
+
+
-
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ActivityComponent.mxml
===================================================================
diff -u -rbbf05bc0eb7a947272cb76a9e9c5b1093cd54e2c -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ActivityComponent.mxml (.../ActivityComponent.mxml) (revision bbf05bc0eb7a947272cb76a9e9c5b1093cd54e2c)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ActivityComponent.mxml (.../ActivityComponent.mxml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -14,6 +14,7 @@
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/CombinedActivityComponent.mxml
===================================================================
diff -u -rb18306871e780d0266af4b3135c37780f09d2b72 -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/CombinedActivityComponent.mxml (.../CombinedActivityComponent.mxml) (revision b18306871e780d0266af4b3135c37780f09d2b72)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/CombinedActivityComponent.mxml (.../CombinedActivityComponent.mxml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -20,6 +20,8 @@
override public function load():void {
+ super.load();
+
var vbox:VBox = new VBox();
vbox.setConstraintValue("verticalAlign", "middle");
vbox.setConstraintValue("verticalGap", 0);
@@ -62,9 +64,9 @@
this.addChild(vbox);
- title = new Label();
+ // Set the title
+ super.load();
title.text = learningLibraryEntry.title;
- this.addChild(title);
}
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/OptionalActivityComponent.mxml
===================================================================
diff -u -rb18306871e780d0266af4b3135c37780f09d2b72 -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/OptionalActivityComponent.mxml (.../OptionalActivityComponent.mxml) (revision b18306871e780d0266af4b3135c37780f09d2b72)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/OptionalActivityComponent.mxml (.../OptionalActivityComponent.mxml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -39,7 +39,6 @@
activityComponent.canStartTransitions = false;
activityComponent.canAcceptTransitions = false;
activityComponent.disableTitle();
- //parent.removeChild(activityComponent);
optionalArea.addChild(activityComponent);
activities.addItem(activityComponent);
activityComponent.updateTransitionPositions();
@@ -48,12 +47,17 @@
// Return cursor state to normal
Application.application.changeCursorState(Constants.CURSOR_STATE_NORMAL);
}
+
+ override public function load():void {
+ title = new Label();
+ title.text = Application.application.dictionary.getLabel("grouping_act_title");
+ this.disableTitle();
+ this.addChild(title);
+ }
]]>
-
-
-
-
-
-
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ToolActivityComponent.mxml
===================================================================
diff -u -r2ceaea37dd2a14f76d28626f47274d188a4863f7 -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ToolActivityComponent.mxml (.../ToolActivityComponent.mxml) (revision 2ceaea37dd2a14f76d28626f47274d188a4863f7)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ToolActivityComponent.mxml (.../ToolActivityComponent.mxml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -29,7 +29,7 @@
vbox.setStyle('borderStyle', 'solid');
vbox.setStyle('dropShadowEnabled', true);
vbox.setStyle('shadowDirection', "right");
- vbox.setStyle('cornerRadius', '10');
+ vbox.setStyle('cornerRadius', 10);
vbox.height = 40;
vbox.width = 50;
@@ -55,10 +55,11 @@
vbox.addChild(iconImage);
this.addChild(vbox);
- title = new Label();
+ // Set the activity title
+ super.load();
title.text = tool.toolName;
- this.addChild(title);
+
}
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/GroupActivityComponent.mxml
===================================================================
diff -u
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/GroupActivityComponent.mxml (revision 0)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/GroupActivityComponent.mxml (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/LearnerGroupActivityComponent.mxml
===================================================================
diff -u
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/LearnerGroupActivityComponent.mxml (revision 0)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/LearnerGroupActivityComponent.mxml (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -0,0 +1,8 @@
+
+
+
+
+
+
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/MonitorGroupActivityComponent.mxml
===================================================================
diff -u
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/MonitorGroupActivityComponent.mxml (revision 0)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/MonitorGroupActivityComponent.mxml (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -0,0 +1,8 @@
+
+
+
+
+
+
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/NameGroupsWindow.mxml
===================================================================
diff -u
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/NameGroupsWindow.mxml (revision 0)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/NameGroupsWindow.mxml (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/RandomGroupActivityComponent.mxml
===================================================================
diff -u
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/RandomGroupActivityComponent.mxml (revision 0)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/group/RandomGroupActivityComponent.mxml (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
Fisheye: Tag fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3 refers to a dead (removed) revision in file `lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/toolbar/SystemActivityComponent.mxml'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/toolbar/SystemToolComponent.mxml
===================================================================
diff -u
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/toolbar/SystemToolComponent.mxml (revision 0)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/toolbar/SystemToolComponent.mxml (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/toolbar/ToolBar.mxml
===================================================================
diff -u -rd75a56dbb3bbbceaeba8a0f5367d60ac305239aa -rfa44eb30e5b2d91538b2915a3b3dcfc6b039dae3
--- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/toolbar/ToolBar.mxml (.../ToolBar.mxml) (revision d75a56dbb3bbbceaeba8a0f5367d60ac305239aa)
+++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/toolbar/ToolBar.mxml (.../ToolBar.mxml) (revision fa44eb30e5b2d91538b2915a3b3dcfc6b039dae3)
@@ -10,6 +10,11 @@
@@ -154,7 +184,7 @@