* 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
* It'll define setters and getters for: _idTaskOrig, _idTaskEnd and _dependencyType
* It also includes a "draw" placeholder method to avoid an exception
FEA: ItEr02S03MigracionZK5
The exception produced is:
org.zkoss.zk.ui.UiException: Widget class required for <Timeplot z_d__87> with default
at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1681)
The root cause is that timeplotz lang-addon.xml file is not loaded due
to a version missmatch. From startup log:
Aug 26, 2010 8:21:27 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:120
INFO: Ignore jar:file:/home/ogonzalez/.m2/repository/org/zkoss/zkforge/timeplotz/1.1_50/timeplotz-1.1_50.jar!/metainfo/zk/lang-addon.xml
Cause: version not matched; expected=1.1_50-FL, xml=1.1_50
FEA: ItEr02S03MigracionZK5
* This methods replace show/hideAllToolTips as using that name was misleading because there are other methods called show/hideToolTip (at TaskComponent.js) that do different stuff
FEA: ItEr02S03MigracionZK5
* Notice that instead of extending from zk.Widget we are extending from ganttz.TaskComponent as the behaviour (properties and methods) is the same
FEA: ItEr02S03MigracionZK5
* This is required if we want to use our mold instead of the default for the zk.Macro widget-class
* we could have also overwritten the getWidgetClass for achiving a similar behaviour
FEA: ItEr02S03MigracionZK5