Skip to content
Snippets Groups Projects
  1. Jan 12, 2016
  2. Jan 11, 2016
  3. Dec 29, 2015
  4. Dec 18, 2015
    • Helena Jank's avatar
      ! fixed bug in connection construction: replaced falsy constructor with "with()" · c80dd414
      Helena Jank authored
      + added connectsUnit() to connectionModel, which checks if the connection leads to/from the given unit
      + added removal of attached connections to removeUnit() in scenarioModel: connections leading to/from a deleted unit will be deleted from model, too
      # removeConnection() in scenarioModel now accepts only the ID of a connection as parameter (instead of the entire connection)
      - removed deleteUnitFromModel() from unitModel
      + added removeUnitFromScenario() to unitController, comprising all necessary function calls for removing a unit from view and model
      # merged similar but distributed unit deletion functionality from tab and modal window into removeUnitFromScenario() call; now all use the same functionality
      + added check for existence of a unit model to its click event handler: prevents errors when units are added and clicked but not named yet
      + added check for scenario name availability to newScenarioModal....: alert if entered name for new scenario is already taken
      ! fixed (really stupid, really) unit deletion bug (i.e. not happening): added "#" to delete unit button $-selectors
      + added TODO to loadScenario() in authorSystemController: the whole thing is stale and just won't work
      c80dd414
  5. Dec 03, 2015
    • Helena Jank's avatar
      + added relationTabController · 8cb6ffb0
      Helena Jank authored
      # moved event handlers for connections from canvasController to relationTabController
      # moved initUnitEventHandlers() from canvasController to unitController
      # moved chooseMetaIcon() from unitController to formatSelections
      + added optional index parameter to addContextInfo() in unitModel
      + added getItemByID() to contextInfoListModel
      # started correcting German umlauts in dictionaries
      # changed data structure of array_multiSelectionContextInfos:
         1. "id" is now context ID, "text" its translation;
         2. new items now get pushed to the end of the array, changed items stay where they are
      # changed changeColorMultiContextInfos() into formatMultiContextInfosElements()
      TODO: editing items in multi selection does not work as it should (see latter changes)
      8cb6ffb0
  6. Nov 26, 2015
    • Helena Jank's avatar
      # made working but nasty context list initialization less nasty (extracted parsing from init) · 349c402c
      Helena Jank authored
      ! fixed bug in AuthorSystemContent model's getUnitByUUID()
      + added context info removal function to Unit model
      # in formatSelections: made formatUnitIcons() more compact, self-contained and generically usable
      # simplified loadUnit() in unitController, applying new functions formatUnitIcons() and addMetaDataToUnit()
      - removed activateFunctionalities() and activateContextConfirmation()
      # moved contextTab-specific event handlers from generalTabController to contextTabController
      # replaced returnArray from checkInformation() with object
      # replaced value of "id" in array_multiSelectionContextInfos (multiple infos of same type possible)
      TODO: multiContextSelection still troublesome with new kind of IDs, needs to be revised!
      TODO: compactify "all" or "one" design rendering code
      349c402c
  7. Nov 24, 2015
    • Helena Jank's avatar
      + added parameterModel · 5862cac9
      Helena Jank authored
      + added function to get unit from entire author system content by its UUID
      - in contextInfoModel: removed unnecessary complexity in value object
      + in contextInfoModel: added each part of former value object as context info property + getter and setter functions for each
      # completed changes towards consistent usage of models: contextInfo, parameters, unit, authorSystem
      # completed changes in checkInformation(), drawing information from model structure instead of view
      # renamed parameter input and select fields and divs with generic ID "parameter"+i and "divParameter"+i, resp.
      # untangled event handlers for clicked or dragged units and properties tab from "blob" activateFunctionalities()
      # replaced (use and function of) global var global_currentInputUnitName with global var currentUnitUUID
      # made variable currentConnectionID global
      5862cac9
  8. Nov 19, 2015
  9. Nov 17, 2015
    • Helena Jank's avatar
      - removed fake parameter (testing purposes) from context info · 7b3c1afc
      Helena Jank authored
      - removed metadataTabController script tag from html
      # overall replacement of myAuthorSystem with instance of AuthorSystemContent model
      7b3c1afc
    • Helena Jank's avatar
      - removed directory .idea from version control · c0e9666e
      Helena Jank authored
      # renamed divContextParameters (+ temporary changes in index.hmtl, will be overridden soon)
      - removed metaData tab which was a mere placeholder for Tom's CMS work
      + added metaData dictionary
      + added functions addMetaDataToUnit() and removeMetaDataFromUnit()
      # changed parameter access and collection in contextInfoController and locationInfoMapController
      # moved "get current unit dictionary" code into function getCurrentUnitDataModel()
      c0e9666e
  10. Oct 26, 2015
  11. Oct 14, 2015
  12. Oct 06, 2015
    • Helena Jank's avatar
      # renamed initCanvas() initPlumbCanvas() · 12d40633
      Helena Jank authored
      # renamed reloadController.js authorSystemController.js
      + added two fake parameters to measurable-context-information.xml for testing
      # moved cleanSections() to tabs.js
      + tried to make #selectOperator invisible on showDetailedContextInfo
      # simplified context class color selection
      # moved some functionality around so that nothing works anymore... (to be undone)
      12d40633
  13. Oct 05, 2015
    • hjank's avatar
      # changed connection listener functionality according to jsPlumb update to v1.7.10 · ddb58d31
      hjank authored
      # un-refactored (in parts) overall project structure: removed (yet) hardly used modalWindows files, added controllers files
      # updated (as of yet unsued) contextInfoModel
      # put several pieces of functionality in their (for now) right-er places, like e.g. addUnitToScenarioModel(), addUnitToMenu(), ...
      - removed redundant replaceMarker2()
      + translated enums in contextTab filler
      ddb58d31
  14. Sep 30, 2015
  15. Sep 28, 2015
    • hjank's avatar
      + added init, setItems, getItem to ContextInfoList · 59e3e189
      hjank authored
      # changed usages of old array_contextInformations (now contextList; using key identifiers instead of indices)
      # serialized whole process (before: async), starting from main.js
      # updated ContextInfoList structure description (comment): from array of arrays to array of objects
      59e3e189
  16. Sep 21, 2015
    • hjank's avatar
      # refactored statemaschine.js into canvasController.js (comparison: function preserved) · 2558be25
      hjank authored
      # refactored functionaliies.js into reloadController.js (comparison: function preserved)
      # in reloadController.js: changed jQuery.ready into jsPlumb.ready due to delayed inst initialization
      # simplified metaIcon choice and adding
      # moved more code from general (tabs, modalWindows) to more specific files (metadataTabView, createScenarioModalWindowView, ...)
      + added propertyTab.js
      - removed several unnecessary files from MVC scaffold
      2558be25
  17. Sep 07, 2015
  18. Sep 05, 2015
Loading