Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/Activity.as =================================================================== diff -u -r6389c5fa041442666669c6e72ec70464923a95fe -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/Activity.as (.../Activity.as) (revision 6389c5fa041442666669c6e72ec70464923a95fe) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/Activity.as (.../Activity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.common.dict.* import org.lamsfoundation.lams.common.* import org.lamsfoundation.lams.common.util.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/Application.as =================================================================== diff -u -rc49af0fa91eb19a622031c134065649c5a63619a -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/Application.as (.../Application.as) (revision c49af0fa91eb19a622031c134065649c5a63619a) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/Application.as (.../Application.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.* //Design Data model n stuffimport org.lamsfoundation.lams.authoring.* //Design Data model n stuff +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.* //Design Data model n stuffimport org.lamsfoundation.lams.authoring.* //Design Data model n stuff import org.lamsfoundation.lams.authoring.tk.* //Toolkit import org.lamsfoundation.lams.authoring.tb.* //Toolbar import org.lamsfoundation.lams.authoring.cv.* //Canvas Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/ComplexActivity.as =================================================================== diff -u -r54404f7e8a6d3ab07b0d3070427c0aa6e6839578 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/ComplexActivity.as (.../ComplexActivity.as) (revision 54404f7e8a6d3ab07b0d3070427c0aa6e6839578) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/ComplexActivity.as (.../ComplexActivity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.*; /* * This class represents all the complex activity types. they are not much different, so we can handle them in one class. * For reference these are the activity types Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/DesignDataModel.as =================================================================== diff -u -rb2199359e5f6999bb7119289afcd8e1dd7aafac5 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/DesignDataModel.as (.../DesignDataModel.as) (revision b2199359e5f6999bb7119289afcd8e1dd7aafac5) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/DesignDataModel.as (.../DesignDataModel.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.common.*; import mx.events.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/GateActivity.as =================================================================== diff -u -r1d03d23d664190c23b00f53bb6d0d25242866b49 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/GateActivity.as (.../GateActivity.as) (revision 1d03d23d664190c23b00f53bb6d0d25242866b49) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/GateActivity.as (.../GateActivity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.*; /* * * @author DC Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/Grouping.as =================================================================== diff -u -ra8e9f76b395add448dc897d465487de542b959ea -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/Grouping.as (.../Grouping.as) (revision a8e9f76b395add448dc897d465487de542b959ea) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/Grouping.as (.../Grouping.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.common.dict.* import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.common.util.*; @@ -26,7 +49,7 @@ function Grouping(uiid){ _groupingUIID = uiid; Debugger.log('Created a new Grouping:'+_groupingUIID,Debugger.GEN,'Constructor','Grouping'); - } + } //static class level methods /** * Created an array of grouping types to be can be used as a dataprovider Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/GroupingActivity.as =================================================================== diff -u -rb36ed1eae0f314e4603efd126860292befdc317b -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/GroupingActivity.as (.../GroupingActivity.as) (revision b36ed1eae0f314e4603efd126860292befdc317b) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/GroupingActivity.as (.../GroupingActivity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.*; /* * * @author DC Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/ToolActivity.as =================================================================== diff -u -raa0fe15ae549176528f79ee8ca7a03a1c6482b3d -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/ToolActivity.as (.../ToolActivity.as) (revision aa0fe15ae549176528f79ee8ca7a03a1c6482b3d) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/ToolActivity.as (.../ToolActivity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.common.dict.* import org.lamsfoundation.lams.common.* import org.lamsfoundation.lams.common.util.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/Transition.as =================================================================== diff -u -r9e23178ed0623fbe7d5154b941e4d477aec95120 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/Transition.as (.../Transition.as) (revision 9e23178ed0623fbe7d5154b941e4d477aec95120) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/Transition.as (.../Transition.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.common.util.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/Bin.as =================================================================== diff -u -r358804542a5220b55a4c44a38b095c655d883f0c -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/Bin.as (.../Bin.as) (revision 358804542a5220b55a4c44a38b095c655d883f0c) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/Bin.as (.../Bin.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.common.util.ui.*; import org.lamsfoundation.lams.authoring.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/Canvas.as =================================================================== diff -u -r1f7b84242a560c7e000a8e49c4e2476f1dfe22f4 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/Canvas.as (.../Canvas.as) (revision 1f7b84242a560c7e000a8e49c4e2476f1dfe22f4) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/Canvas.as (.../Canvas.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.cv.* +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.cv.* import org.lamsfoundation.lams.authoring.tk.* import org.lamsfoundation.lams.common.util.* import org.lamsfoundation.lams.authoring.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasActivity.as =================================================================== diff -u -re3d15492e3a10571a06d11436773309490ab5706 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasActivity.as (.../CanvasActivity.as) (revision e3d15492e3a10571a06d11436773309490ab5706) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasActivity.as (.../CanvasActivity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.common.util.ui.*; import org.lamsfoundation.lams.authoring.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasController.as =================================================================== diff -u -rbd1384107fce278093f0a22e59e948a89e33084c -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasController.as (.../CanvasController.as) (revision bd1384107fce278093f0a22e59e948a89e33084c) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasController.as (.../CanvasController.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.* +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.* import org.lamsfoundation.lams.authoring.cv.* import org.lamsfoundation.lams.common.mvc.* import org.lamsfoundation.lams.common.util.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasModel.as =================================================================== diff -u -r15d5471bfb035fdd1aec602850fa3238c02988f0 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasModel.as (.../CanvasModel.as) (revision 15d5471bfb035fdd1aec602850fa3238c02988f0) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasModel.as (.../CanvasModel.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.authoring.cv.*; import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.common.util.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasOptionalActivity.as =================================================================== diff -u -rd5a4d71963e719ef6fd0d69de4ec783bcee9e35f -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasOptionalActivity.as (.../CanvasOptionalActivity.as) (revision d5a4d71963e719ef6fd0d69de4ec783bcee9e35f) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasOptionalActivity.as (.../CanvasOptionalActivity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.common.ui.*; import org.lamsfoundation.lams.authoring.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasParallelActivity.as =================================================================== diff -u -r75300bb8cfe83c99195d185d617f635ef2d209f1 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasParallelActivity.as (.../CanvasParallelActivity.as) (revision 75300bb8cfe83c99195d185d617f635ef2d209f1) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasParallelActivity.as (.../CanvasParallelActivity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.common.ui.*; import org.lamsfoundation.lams.authoring.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasTransition.as =================================================================== diff -u -r85f570b110b304166c78bb11bd897a98847f142b -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasTransition.as (.../CanvasTransition.as) (revision 85f570b110b304166c78bb11bd897a98847f142b) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasTransition.as (.../CanvasTransition.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.util.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.common.ui.*; import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.authoring.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasView.as =================================================================== diff -u -rbd515ed24b9aa3aa212a5b923dc773904e019c33 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasView.as (.../CanvasView.as) (revision bd515ed24b9aa3aa212a5b923dc773904e019c33) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/CanvasView.as (.../CanvasView.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.util.* +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.util.* import org.lamsfoundation.lams.common.ui.* import org.lamsfoundation.lams.common.style.* import org.lamsfoundation.lams.authoring.cv.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/ICanvasActivity.as =================================================================== diff -u -ra1b0194b0dffe7d71c8c4e63a042bac24946176f -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/ICanvasActivity.as (.../ICanvasActivity.as) (revision a1b0194b0dffe7d71c8c4e63a042bac24946176f) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/ICanvasActivity.as (.../ICanvasActivity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.util.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.common.mvc.*; import org.lamsfoundation.lams.authoring.* import org.lamsfoundation.lams.authoring.cv.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/PropertyInspector.as =================================================================== diff -u -r05fd102b063a6d4f58b868dbf1496ea0c42ced48 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/PropertyInspector.as (.../PropertyInspector.as) (revision 05fd102b063a6d4f58b868dbf1496ea0c42ced48) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/PropertyInspector.as (.../PropertyInspector.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.cv.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.cv.*; import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.common.util.* import org.lamsfoundation.lams.common.dict.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/TransitionPropertiesDialog.as =================================================================== diff -u -r85f570b110b304166c78bb11bd897a98847f142b -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/TransitionPropertiesDialog.as (.../TransitionPropertiesDialog.as) (revision 85f570b110b304166c78bb11bd897a98847f142b) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/TransitionPropertiesDialog.as (.../TransitionPropertiesDialog.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.cv.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.cv.*; import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.common.util.* import org.lamsfoundation.lams.common.dict.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/ValidationIssuesDialog.as =================================================================== diff -u -re7764bf613588e57377cb36d3187eda7b40b5601 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/ValidationIssuesDialog.as (.../ValidationIssuesDialog.as) (revision e7764bf613588e57377cb36d3187eda7b40b5601) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/ValidationIssuesDialog.as (.../ValidationIssuesDialog.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.cv.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.cv.*; import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.common.util.* import org.lamsfoundation.lams.common.dict.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/Toolbar.as =================================================================== diff -u -r145cbf9f160e29a9dafcc024b2663589e044732f -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/Toolbar.as (.../Toolbar.as) (revision 145cbf9f160e29a9dafcc024b2663589e044732f) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/Toolbar.as (.../Toolbar.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.tb.* +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.tb.* import org.lamsfoundation.lams.common.util.* import mx.managers.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/ToolbarController.as =================================================================== diff -u -r5bd879e5d12a6d57cfadea49d9a140439b8de5ba -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/ToolbarController.as (.../ToolbarController.as) (revision 5bd879e5d12a6d57cfadea49d9a140439b8de5ba) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/ToolbarController.as (.../ToolbarController.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.tb.ToolbarModel +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.tb.ToolbarModel import org.lamsfoundation.lams.common.mvc.* import org.lamsfoundation.lams.common.util.* import org.lamsfoundation.lams.authoring.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/ToolbarModel.as =================================================================== diff -u -r8b3b9badd951014b21af3f0709d919b2a39bf4f0 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/ToolbarModel.as (.../ToolbarModel.as) (revision 8b3b9badd951014b21af3f0709d919b2a39bf4f0) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/ToolbarModel.as (.../ToolbarModel.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.tb.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.tb.*; import org.lamsfoundation.lams.common.util.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/ToolbarView.as =================================================================== diff -u -rc9e6cb37e938edc79d1a7d18836bc7dc5207ae02 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/ToolbarView.as (.../ToolbarView.as) (revision c9e6cb37e938edc79d1a7d18836bc7dc5207ae02) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/tb/ToolbarView.as (.../ToolbarView.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.ui.* +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.ui.* import org.lamsfoundation.lams.common.util.* import org.lamsfoundation.lams.authoring.tb.* import org.lamsfoundation.lams.common.mvc.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/TemplateActivity.as =================================================================== diff -u -r0c2e896b949812099da62e802d376f2ffda83e34 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/TemplateActivity.as (.../TemplateActivity.as) (revision 0c2e896b949812099da62e802d376f2ffda83e34) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/TemplateActivity.as (.../TemplateActivity.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.common.style.*; import org.lamsfoundation.lams.common.util.ui.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/Toolkit.as =================================================================== diff -u -r01236f84465e53bbf8a73efc00e828c03052d435 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/Toolkit.as (.../Toolkit.as) (revision 01236f84465e53bbf8a73efc00e828c03052d435) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/Toolkit.as (.../Toolkit.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.authoring.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.authoring.*; import org.lamsfoundation.lams.authoring.tk.*; import org.lamsfoundation.lams.common.util.*; import mx.managers.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/ToolkitController.as =================================================================== diff -u -ra1b0194b0dffe7d71c8c4e63a042bac24946176f -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/ToolkitController.as (.../ToolkitController.as) (revision a1b0194b0dffe7d71c8c4e63a042bac24946176f) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/ToolkitController.as (.../ToolkitController.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.mvc.* +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.mvc.* import org.lamsfoundation.lams.common.util.* import org.lamsfoundation.lams.authoring.* import org.lamsfoundation.lams.authoring.cv.* Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/ToolkitModel.as =================================================================== diff -u -ra1b0194b0dffe7d71c8c4e63a042bac24946176f -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/ToolkitModel.as (.../ToolkitModel.as) (revision a1b0194b0dffe7d71c8c4e63a042bac24946176f) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/ToolkitModel.as (.../ToolkitModel.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.util.Observable; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.util.Observable; import org.lamsfoundation.lams.authoring.tk.*; import org.lamsfoundation.lams.common.util.*; //import org.springsoft.aslib.*; Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/ToolkitView.as =================================================================== diff -u -rf6e62fe13a302f3ba31a93ab98bf1e1eb2897c6a -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/ToolkitView.as (.../ToolkitView.as) (revision f6e62fe13a302f3ba31a93ab98bf1e1eb2897c6a) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/tk/ToolkitView.as (.../ToolkitView.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.common.dict.*; import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.common.style.*; Index: lams_central/src/flash/org/lamsfoundation/lams/learner/Application.as =================================================================== diff -u -ra362012d78d5a36129ae4fc4f1ff38938b9802e9 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/learner/Application.as (.../Application.as) (revision a362012d78d5a36129ae4fc4f1ff38938b9802e9) +++ lams_central/src/flash/org/lamsfoundation/lams/learner/Application.as (.../Application.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.comms.* //communications +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.comms.* //communications import org.lamsfoundation.lams.common.util.*; // utilities import org.lamsfoundation.lams.common.*; import org.lamsfoundation.lams.learner.ls.*; @@ -48,7 +71,9 @@ /** * Application - Constructor */ - private function Application(){ + private function Application(){ + trace('Begin Application...'); + _seqLibLoaded = false; _seqLibEventDispatched = false; @@ -81,10 +106,11 @@ } private function setupUI():Void { + trace('Setting up UI...'); //Create the application root _appRoot_mc = _container_mc.createEmptyMovieClip('appRoot_mc',APP_ROOT_DEPTH); - + trace('_appRoot_mc: ' + _appRoot_mc); var depth:Number = _appRoot_mc.getNextHighestDepth(); _seqLib = new Library(_appRoot_mc,depth++,LIBRARY_X,LIBRARY_Y); _seqLib.addEventListener('load',Proxy.create(this,UIElementLoaded)); @@ -95,38 +121,25 @@ * Runs periodically and dispatches events as they are ready */ private function checkUILoaded() { + trace('checking UI loaded...'); //If it's the first time through then set up the interval to keep polling this method if(!_UILoadCheckIntervalID) { _UILoadCheckIntervalID = setInterval(Proxy.create(this,checkUILoaded),UI_LOAD_CHECK_INTERVAL); } else { _uiLoadCheckCount++; - //If all events dispatched clear interval and call start() - if(_seqLibEventDispatched){ - //Debugger.log('Clearing Interval and calling start :',Debugger.CRITICAL,'checkUILoaded','Application'); - clearInterval(_UILoadCheckIntervalID); - start(); - }else { - //If UI loaded check which events can be broadcast - if(_UILoaded){ - //Debugger.log('ALL UI LOADED, waiting for all true to dispatch init events: _dictionaryLoaded:'+_dictionaryLoaded+'_themeLoaded:'+_themeLoaded ,Debugger.GEN,'checkUILoaded','Application'); - - //If sequence library is loaded and event hasn't been dispatched - dispatch it - /*if(_seqLibLoaded && !_seqLibEventDispatched){ - _seqLibEventDispatched = true; - _seqLib.broadcastInit(); - }*/ - if(_seqLibLoaded){ - clearInterval(_UILoadCheckIntervalID); - start(); - } + + //If UI loaded check which events can be broadcast + if(_UILoaded){ + if(_seqLibLoaded){ + clearInterval(_UILoadCheckIntervalID); + start(); + } - - if(_uiLoadCheckCount >= UI_LOAD_CHECK_TIMEOUT_COUNT){ - //if we havent loaded the library by the timeout count then give up - Debugger.log('raeached time out waiting to load library, giving up.',Debugger.CRITICAL,'checkUILoaded','Application'); - clearInterval(_UILoadCheckIntervalID); - } - } + if(_uiLoadCheckCount >= UI_LOAD_CHECK_TIMEOUT_COUNT){ + //if we havent loaded the library by the timeout count then give up + Debugger.log('raeached time out waiting to load library, giving up.',Debugger.CRITICAL,'checkUILoaded','Application'); + clearInterval(_UILoadCheckIntervalID); + } } } } @@ -143,6 +156,7 @@ //Which item has loaded switch (evt.target.className) { case 'Library' : + trace('Library loaded...'); _seqLibLoaded = true; break; default: @@ -161,12 +175,16 @@ * work with the application */ private function start(){ + trace('starting...'); - _seqLib.getActiveLessons(); - //Fire off a resize to set up sizes onResize(); + // start testing - joining a lesson + var lessonId:Number = 1; + var l:Lesson = Lesson(_seqLib.getLesson(lessonId)); + l.joinLesson(); + // end testing } /** Index: lams_central/src/flash/org/lamsfoundation/lams/learner/lb/Library.as =================================================================== diff -u -ra362012d78d5a36129ae4fc4f1ff38938b9802e9 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/learner/lb/Library.as (.../Library.as) (revision a362012d78d5a36129ae4fc4f1ff38938b9802e9) +++ lams_central/src/flash/org/lamsfoundation/lams/learner/lb/Library.as (.../Library.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,5 +1,29 @@ -import org.lamsfoundation.lams.learner.Application; -import org.lamsfoundation.lams.learner.lb.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.learner.Application; +import org.lamsfoundation.lams.learner.lb.*; +import org.lamsfoundation.lams.learner.ls.Lesson; import org.lamsfoundation.lams.common.util.*; import mx.managers.*; /** @@ -14,6 +38,11 @@ private var libraryView_mc:MovieClip; private var _className:String = "Library"; + + public static var LESSON_X:Number = 0; + public static var LESSON_Y:Number = 0; + public static var LESSON_H:Number = 22; + public static var LESSON_W:Number = 123; private var dispatchEvent:Function; public var addEventListener:Function; @@ -24,14 +53,17 @@ * * @param target_mc Target clip for attaching view */ - function Library(target_mc:MovieClip,x:Number,y:Number){ - mx.events.EventDispatcher.initialize(this); - + function Library(target_mc:MovieClip,x:Number,y:Number){ + trace('[new Library]'); + + mx.events.EventDispatcher.initialize(this); + //Create the model libraryModel = new LibraryModel(this); //Create the view libraryView_mc = target_mc.createChildAtDepth("libraryView",DepthManager.kTop); + trace(libraryView_mc); libraryView = LibraryView(libraryView_mc); libraryView.init(libraryModel,undefined); @@ -43,6 +75,8 @@ //Set the position by setting the model which will call update on the view libraryModel.setPosition(x,y); + + } @@ -58,27 +92,47 @@ Debugger.log('viewLoaded called',Debugger.GEN,'viewLoaded','Library'); if(evt.type=='load') { - dispatchEvent({type:'load',target:this}); + getActiveLessons(); }else { //Raise error for unrecognized event } } - public function getActiveLessons():Void { - Debugger.log('Running',Debugger.GEN,'getActiveLessons','Library'); + public function getActiveLessons():Void { + trace('getting active lessons...'); - var callback:Function = Proxy.create(this, getLessonList); + var callback:Function = Proxy.create(this,setActiveLessons); // do request - Application.getInstance().getComms().getRequest('learning/learner.do?method=getActiveLessons', callback, false); + Application.getInstance().getComms().getRequest('learning/learner.do?method=getActiveLessons&userID='+_root.userID, callback, false); } - private function getLessonList(Data:Object):Void { + private function setActiveLessons(lessons:Array):Void { trace('received active lesson data back...'); // get data and create Lesson obj's - // go through list of DTO's and add to hash map + Debugger.log('Recieved active sequences (lessons) array length:'+lessons.length,4,'setToolkitActivities','Toolkit'); + + var lns = new Array(); + + // go through list of DTO's and make Lesson objects to add to hash map + for(var i=0; i< lessons.length; i++){ + var ln:Object = lessons[i]; + + + + var lesson:Lesson = new Lesson(libraryView_mc, LESSON_X, LESSON_Y+(LESSON_H*i), libraryView); + lesson.populateFromDTO(ln); + trace('pushing lesson with id: ' + lesson.getLessonID()); + lns.push(lesson); + } + + //sets these in the toolkit model in a hashtable by lib id + libraryModel.setLearningSequences(lns); + + dispatchEvent({type:'load',target:this}); + } /** @@ -95,7 +149,10 @@ //TODO DI 24/05/05 write validation on limits libraryModel.setPosition(x,y); } - + + public function getLesson(lessonId:Number):Lesson { + return libraryModel.getLesson(lessonId); + } //Dimension accessor methods public function get width():Number{ Index: lams_central/src/flash/org/lamsfoundation/lams/learner/lb/LibraryController.as =================================================================== diff -u -ra362012d78d5a36129ae4fc4f1ff38938b9802e9 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/learner/lb/LibraryController.as (.../LibraryController.as) (revision a362012d78d5a36129ae4fc4f1ff38938b9802e9) +++ lams_central/src/flash/org/lamsfoundation/lams/learner/lb/LibraryController.as (.../LibraryController.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,4 +1,27 @@ -import org.lamsfoundation.lams.common.mvc.* +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.common.mvc.* import org.lamsfoundation.lams.common.util.* import org.lamsfoundation.lams.learner.* import org.lamsfoundation.lams.learner.lb.*; Index: lams_central/src/flash/org/lamsfoundation/lams/learner/lb/LibraryModel.as =================================================================== diff -u -ra362012d78d5a36129ae4fc4f1ff38938b9802e9 -r7b855245133f01885c4b7f1d85beb3e91675bb40 --- lams_central/src/flash/org/lamsfoundation/lams/learner/lb/LibraryModel.as (.../LibraryModel.as) (revision a362012d78d5a36129ae4fc4f1ff38938b9802e9) +++ lams_central/src/flash/org/lamsfoundation/lams/learner/lb/LibraryModel.as (.../LibraryModel.as) (revision 7b855245133f01885c4b7f1d85beb3e91675bb40) @@ -1,5 +1,29 @@ -import org.lamsfoundation.lams.learner.lb.*; +/*************************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * ************************************************************************ + */ + +import org.lamsfoundation.lams.learner.lb.*; import org.lamsfoundation.lams.learner.ls.Lesson; +import org.lamsfoundation.lams.common.util.Observable; import org.lamsfoundation.lams.common.util.*; import org.lamsfoundation.lams.learner.Application; @@ -41,12 +65,13 @@ } public function setLearningSequences(lsc:Array):Boolean { - + trace('add learning seqs to map...'); //clear the old lot _learningSequences.clear(); - for(var i=0; i