Index: lams_flex/LamsAuthor/src/assets/languages/en_AU.xml =================================================================== RCS file: /usr/local/cvsroot/lams_flex/LamsAuthor/src/assets/languages/en_AU.xml,v diff -u -r1.5 -r1.6 --- lams_flex/LamsAuthor/src/assets/languages/en_AU.xml 3 Feb 2010 05:23:50 -0000 1.5 +++ lams_flex/LamsAuthor/src/assets/languages/en_AU.xml 8 Feb 2010 06:05:24 -0000 1.6 @@ -194,6 +194,17 @@ Equal group sizes - + + Gradebook Output + + + Offline Activity + + + Define in Monitor + + + Map to competencies + \ No newline at end of file Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/PropertyInspector.mxml =================================================================== RCS file: /usr/local/cvsroot/lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/PropertyInspector.mxml,v diff -u -r1.5 -r1.6 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/PropertyInspector.mxml 4 Feb 2010 03:15:49 -0000 1.5 +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/PropertyInspector.mxml 8 Feb 2010 06:05:24 -0000 1.6 @@ -26,13 +26,16 @@ import mx.binding.utils.ChangeWatcher; import mx.binding.utils.BindingUtils; import org.lamsfoundation.lams.author.components.activity.ActivityComponent; + import org.lamsfoundation.lams.author.components.activity.ToolActivityComponent; import mx.core.Application; import mx.managers.PopUpManager; private static const STATE_GROUP_RANDOM:String = "randomGroupActivity"; private static const STATE_GROUP_MONITOR:String = "monitorGroupActivity"; private static const STATE_GROUP_LEARNER:String = "learnerGroupActivity"; + private static const STATE_TOOL_ACTIVITY:String = "toolActivity"; + private var changeWatcherArray:ArrayCollection = new ArrayCollection(); private var titleDisabledColors:Object; @@ -106,7 +109,13 @@ private function displayUIComponents(activity:ActivityComponent):void { this.currentState = ""; - if (activity is RandomGroupActivityComponent) { + if (activity is ToolActivityComponent) { + this.currentState = STATE_TOOL_ACTIVITY; + var toolActivity:ToolActivityComponent = activity as ToolActivityComponent; + var groupings:ArrayCollection = toolActivity.allPossibleGroupings; + changeWatcherArray.addItem(BindingUtils.bindProperty(groupingCombo, "dataProvider", toolActivity, "allPossibleGroupings")); + + } else if (activity is RandomGroupActivityComponent) { this.currentState = STATE_GROUP_RANDOM; var randomGroupActivity:RandomGroupActivityComponent = activity as RandomGroupActivityComponent; changeWatcherArray.addItem(BindingUtils.bindProperty(randomGroups, "selected", randomGroupActivity, "isGroupNumber")); @@ -164,6 +173,14 @@ nameGroupsWindow.openWindow(); } + private function getGroupingComboLabel(obj_data:Object):String { + if (obj_data is GroupActivityComponent) { + return (obj_data as GroupActivityComponent).title.text; + } else { + return "none"; + } + } + ]]> @@ -183,6 +200,7 @@ + @@ -305,6 +323,58 @@ name="title" value="{Application.application.dictionary.getLabel('pi_learner_group_activity')}"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ToolActivityComponent.mxml =================================================================== RCS file: /usr/local/cvsroot/lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ToolActivityComponent.mxml,v diff -u -r1.5 -r1.6 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ToolActivityComponent.mxml 3 Feb 2010 04:04:39 -0000 1.5 +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/activity/ToolActivityComponent.mxml 8 Feb 2010 06:05:24 -0000 1.6 @@ -7,6 +7,8 @@