Skip to content
Snippets Groups Projects
  1. Dec 14, 2015
    • hjank's avatar
      + added global variable unitContextIndex (index of the current info in the... · d16e3346
      hjank authored
      + added global variable unitContextIndex (index of the current info in the unit's context array) to contextTabController to be able to distinguish between add and edit mode
      # replaced contextDataCounter and contextDataIndex with this variable
      # replaced id in array_multiSelectionContextInfos with this index
      # distinguished adding of icons to unit: when editing context, the icon gets replaced, otherwise a new one is added
      TODO: select2 doesn't seem to work correctly anymore on new array_mutli...
      d16e3346
  2. Dec 13, 2015
  3. Dec 10, 2015
  4. Dec 08, 2015
  5. Dec 06, 2015
  6. Dec 05, 2015
  7. Dec 03, 2015
    • hjank's avatar
    • hjank's avatar
    • 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
  8. 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
  9. 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
  10. Nov 19, 2015
  11. Nov 17, 2015
  12. Nov 14, 2015
  13. Nov 13, 2015
  14. Nov 05, 2015
  15. Nov 01, 2015
  16. Oct 26, 2015
  17. Oct 22, 2015
  18. Oct 14, 2015
  19. Oct 13, 2015
  20. Oct 12, 2015
  21. Oct 09, 2015
    • Helena Jank's avatar
      # some code optimizations: · b2ac072f
      Helena Jank authored
      - removed redundant local variable "name" from activateFunctionalities(), replacing occurrences with global_currentInputUnitName (equal to "name" after unit is clicked)
      ! fixed minor bug: unit names are now displayed in menu instead of "undefined"
      b2ac072f
  22. Oct 08, 2015
  23. Oct 07, 2015
  24. 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
Loading