Commit graph

4499 commits

Author SHA1 Message Date
Farruco Sanjurjo
38d5ada0d7 Mold content for QueueComponent
FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:58 +02:00
Farruco Sanjurjo
ad8b560ce5 Basic widget-clasess and molds for Limitin Resources perspective
* Without this files the Limiting Resources perspective won't even load

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:58 +02:00
Farruco Sanjurjo
41f3795761 Added adjustScrollableDimensions to Planner widget-class
* Also added helper methods at GanttPanel widget-class

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:58 +02:00
Farruco Sanjurjo
173ceec48d Refactored event listener from TaskList to GanttPannel
* Give a look to this post: https://sourceforge.net/mailarchive/forum.php?thread_name=1655a8a1d6e59b8ffa918630d1440dfd%40igalia.com&forum_name=navalplan-devel

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:58 +02:00
Farruco Sanjurjo
fda0bf14b5 Added method to ResourceLoadList
FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:58 +02:00
Farruco Sanjurjo
0ef5a6d4e9 Added event handler for scrolling
FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
84cd61c58c Fixed bug on overwritted method
* If the zk.Object.$init is overwritten, whereever we overwritte it we must invoke the overwritten method with the parameters provided.
If we don't do that, for example, we will lose the uuid provided by the component at the server

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
8d296813df Event handler for resize event
* Added an event handler for the onResize event at ResourceLoadList widget-class

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
1b7aa91543 Replaced Clients.evalJavascript argument
* Now it uses the proper package-widget-class namespace style of ZK 5

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
4da7bcbc47 Added recalculateTimeTrackerHeight
* Added this method to ResourceLoadList widget-class

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
3d2c41cc70 Fixed typos
FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
dfb2e50740 Added class-methods setInstance and getIntance
* As we need a reference to the widget-object created for ResourceLoadList we keep this reference on the class itself

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
93813dee0d Added ResourceLoadList to WPD file for resourceload package
FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
9842ce9850 Basic widget-class and mold for ResourceLoadList
FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
17564d4683 Changed inherited class for ResourceLoadList
* In ZK 5 the use of the molds for our components is related with the name of the component's widget-class  and by defaul
any class which extends from HTMLMacroComponent will have "zk.Macro" as component name even if we specified another one at lang-addon.xml

The ResourceLoadList component is not a macro component (it has a mold) so making it extend XulElement instead of HTMLMacroComponent will be ok and as a side effect of doing it, we'll get the proper widget-class name (from the lang-addon.xml file)

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
93a5344505 Mold content for ResourceLoadCompononent
FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:57 +02:00
Farruco Sanjurjo
133ff9f34a GanttPanel static-widget-instance is updated on each instantiation
As a new GanttPanel widget-object is instantiated is created each time the component is created (e.g. when we change perspective) we have to update the
reference to this new object

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:56 +02:00
Farruco Sanjurjo
d7d89b07e3 Replaced setStyle with render(...,"style",...)
For a deeper explanation check the considerations point at https://wiki.fundacioncalidade.igalia.com/twiki/bin/view/SummerInternship2010/ItEr02S03MigracionZK5

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:56 +02:00
Farruco Sanjurjo
ff21973bdd Replaced deprecated method
* From ZK api: Deprecated. As of release 5.0.0, replaced with showBusy(String) and clearBusy().

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:56 +02:00
Óscar González Fernández
0864423dd4 Fix compiler error.
TimeGeometry setMin and setMax now receive a date instead of a string.

FEA: ItEr02S03MigracionZK5
2010-08-26 20:55:33 +02:00
Farruco Sanjurjo
52aee6429e Proper setup of zkforge dependencies
* Proper setup of zkforge dependencies on the project's pom file. The zkoss' maven repository must be the first on the repo list
in order to be the first chosen

* Now we use the latest build of timplotz and timelinez

FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:09 +02:00
Farruco Sanjurjo
0332c55a0c Replaced deprecated interface import
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:09 +02:00
Farruco Sanjurjo
a0e5323cc0 Basic widget-class and mold for ResourceLoadComponent
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:08 +02:00
Farruco Sanjurjo
e5f25779f2 Added widget and mold config for ResourceLoadComponent
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:08 +02:00
Farruco Sanjurjo
22b7578e11 zk.wpd file for ganttz.resourceload package
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:07 +02:00
Farruco Sanjurjo
a26a413794 Fixed width for modal window
* This was a solution for a problem related with the width of the "change scenario" modal window. Give a look to this thread: https://sourceforge.net/mailarchive/forum.php?thread_name=20100818104326.22ac8682%40erizana&forum_name=navalplan-devel

FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:06 +02:00
Farruco Sanjurjo
96a957f677 Fixed typo on method name
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:06 +02:00
Farruco Sanjurjo
37af02a495 Enabled event thread
* On ZK 5 the event handling thread is disable by default. Use this patch to enable it
* This is needed for example if you want to use modal windows

FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:05 +02:00
Farruco Sanjurjo
7d4fb87d76 Added <?component...?> directive
* Changed the mold (now is trendy) for buttons at template.zul

FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:05 +02:00
Farruco Sanjurjo
8be2e31c7b Replaced Javascript sent to client
* Adapted GanttPanel to fit this change. Refactored some code too

FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:04 +02:00
Farruco Sanjurjo
b59c8c98f8 Replaced jQuery by jq
* Changed to keep all calls to the extended ZK's jQuery version
* Also deleted some comments

FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:03 +02:00
Farruco Sanjurjo
b4d93fc788 Fixed scroll handling for GanttPanel
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:03 +02:00
Farruco Sanjurjo
5f5f421716 Added mold attribute to button component
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:02 +02:00
Farruco Sanjurjo
5a4517e9a4 Added <?component...?> directive
* Used to globally change the mold attribute of all buttons

FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:02 +02:00
Farruco Sanjurjo
804116a6f5 Added methods to TaskComponent widget-class
* Added resizeCompletionAdvance and resizeCompletionAdvance2

FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:01 +02:00
Farruco Sanjurjo
eb4d357719 Added method to TaskComponent widget-class
* Added moveConsolidatedline

FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:01 +02:00
Farruco Sanjurjo
90f5118bab Fixed bug on attribute setting
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:00 +02:00
Farruco Sanjurjo
a6ac2da9a5 Added method for displaying deadlines
* Also added the skeleton for other methods

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:59 +02:00
Farruco Sanjurjo
530a691ebd Set "trendy" mold for main buttons
* As of ZK 5, if we want to mantain the same layout as in the previous version we have to use this mold

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:59 +02:00
Farruco Sanjurjo
24fcb66cfd Added a trim method to adapt callback uri
FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:58 +02:00
Farruco Sanjurjo
0a4581b93e remove contextpath from callback uri
* To avoid duplication of the context-path at the callback uri used by timeplot,
this context-path  it's not added when creating the callback uri

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:58 +02:00
Farruco Sanjurjo
03d6a7a87f Conf. maven for sources.jar
* Added configuration for generatig the *-sources.jar file for navalplanner-webapp

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:57 +02:00
Farruco Sanjurjo
911f4bc258 Created widget-class for TaskComponent
* Now it just handles (not perfectly) the events that trigger the tooltip

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:57 +02:00
Farruco Sanjurjo
18c306a2b3 Created GanttPanel widget-class
* Now it just handles the mousemove event over the <div id="ganttpanel"> ... container

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:56 +02:00
Farruco Sanjurjo
a1bf9e6677 Added javascript dependencies for Ganttz
FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:55 +02:00
Farruco Sanjurjo
3eb8fecae0 Modified how Javascript dependencies are loaded
* Since ZK 5, there is a new way to state Javascript depedencies. It's done at the *.wpd file. So that's why I'm deleting the
Scripts requirement code in Java

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:55 +02:00
Farruco Sanjurjo
f3fd4b1325 Minor bug fixing
* Added missing <br> tag at GanttPanel's mold
* Changed this.uuid by this.id at TaskComponent's mold, as on this case it has different meanings
* Added missing ">" symbol at TaskList's mold
* Added missing </div> tag at TaskRow's mold

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:54 +02:00
Farruco Sanjurjo
7a1e640547 Mold for TaskComponent
* Added attributes at TaskComponent#renderProperties
* Added $define property at TaskComponent widget class (auto getter/setter)
* Missing event listeners

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:53 +02:00
Farruco Sanjurjo
c339034157 Mold for TaskRow component
* Created Javascript mold for TaskRow component

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:53 +02:00
Farruco Sanjurjo
8983db517d Bugfix at TaskList mold
* We have to iterate over the siblings of the firstChild of the parent, not over the siblings of the parent

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:52 +02:00