* After creating a new dependency the server responded with a call to addAft for adding the dependecy. But as we were deleting all dependecy lines, addAft failed to find the hook point (where to add after)
* Now only the unlinked dependency (temporary) is deleted
FEA: ItEr02S03MigracionZK5
* When GanttPannel's zoomLevel is changed we have to update the timetracker and scroll the pannel, so
we need the timetracker's scrollLeft value. Instead of asking for it to the GanttPannel after the listener
is executed at Planner.java we will send both the selected zoomLevel and the scroll value. We replaced the
listener at the zul file and added a new listener at Planner's widget class. Currently we are only sending the
desired zoomLevel
FEA: ItEr02S03MigracionZK5
* Using setWidgetClass won't do anything if we want to use a different widget-class. This happens because
LimitingResourcesPanel extends HTMLMacroComponent and this class overwrites getWidgetclass too, for returning the "zk.Macro" string. So
when redrawing the component, the _wgtcls (widget class) property, setted with setWidgetClass, wont't we used well the redraw method
calls getWidgetClass
FEA: ItEr02S03MigracionZK5
* Rather than creating ourselves a response (with an AuInvoke), we leverage on the setSclass method
* In this commit is also included some comments deleted
FEA: ItEr02S03MigracionZK5
* This is done to simplify the UnlinkedDependencyComponent#isOverTask easier. This method checks if the mouse is over a task, and to be sure of that the task must be over anything on the ganttpanel
* This commit must be done before (when I added the isOverTask) but I missed it :(
FEA: ItEr02S03MigracionZK5
* Commonly used properties are initialized now on the $init method. If we did it on the bind_ method there was an error as the unbind_ method was called even if the bind_ wasn't and at unbind_ we used properties set at bind_
* We dropped the overrided method appendChild at DepencyList. Instead of that, we now use the DependencyList mold and the appendChild(widget, ignoredom) method directly at TaskComponent
* Removed event listeners used by the UnlinkedDependencyComponent
FEA: ItEr02S03MigracionZK5
* we leave aside the coordinate calculations and take advantage of ZK 5 widget-object-model
* Added a property to TaskComponent widget: mouseOverTask
FEA: ItEr02S03MigracionZK5
* To sum up the changes, I did the following:
- replace jQuery CSS method by native DOM attribute accessors (i.e. <object>.style.height rather than <jQobject>.height(...))
- better use of jQuery selectors. You submit the container element (where you want to look for other elements) as a second parameter to the jq('<selector>') function
- the origin coordinates for the dependency are just calculated once
FEA: ItEr02S03MigracionZK5
* This components will be used when creating dependencies on a project instead of DependencyComponent (which has a counterpart on the model)
FEA: ItEr02S03MigracionZK5
* Most content has been refactored from DependencyComponent
* This will be used by DependencyComponent and other Dependency-like components (for example when creating a dependency)
FEA:ItEr02S03MigracionZK5
* As this $supers call was missing the children wasn't added to the parent's children array, it was just inserted at the DOM
FEA: ItEr02S03MigracionZK5
* This type is used now on zAu requests when sending an array
* Also deleted "stripPX" methods as now the coordinates are sent without "px" sufix
FEA: ItEr02S03MigracionZK5
* This is expected to be a place to put common utilities used by other classes. In order to use it, you have to give it as a dependency on the zk.wpd of the package that uses it
* This is experimental, might be deleted on following commits
FEA : ItEr02S03MigracionZK5