Commit graph

4489 commits

Author SHA1 Message Date
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
Farruco Sanjurjo
4db61fabb0 Mold for GanttPanel comp.
* Implemented Javascript mold for GanttPanel component

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:52 +02:00
Farruco Sanjurjo
d6a5771079 Mold for TaskList comp.
* Implemented javascript mold for TaskList component

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:51 +02:00
Farruco Sanjurjo
7e69f67af3 Skeletal widgets for ganttz
* Modified lang-addon.xml. Added <widget-class/> clauses
* Added corresponding widget js files to web/js/ganttz/
* Created Widget Package Descriptor (zk.wdp) for ganttz package
* Create empty molds for all widgets at web/js/ganntz/mold/

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:51 +02:00
Farruco Sanjurjo
090a7e7bb9 Upgraded timelinez version
* ZK 5 needs the  version 2.3.0_51 of timelinez package

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:50 +02:00
Farruco Sanjurjo
2359d2a46e Conf. Maven for sources.jar
* Added the maven-source-plugin for generating the *-sources.jar of an artifact

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:49 +02:00
Farruco Sanjurjo
b479e7268d Upgraded timeplot package
FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:49 +02:00
Farruco Sanjurjo
5b206eaa13 Changed South import
* On ZK 5.0.3 the proper import for South component is org.zkoss.zul.South

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:48 +02:00
Farruco Sanjurjo
76d3a2642a Added throws statements
* Added throws statements to methods at WorkReportTypeCRUDController

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:48 +02:00
Farruco Sanjurjo
dd968f709a Added throws statement
* Added throws statements to several methods at WorkReportCRUDController
* Added throws statements to methods at interface IWorkReportCRUDControllerEntryPoints

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:47 +02:00
Farruco Sanjurjo
1cd5265481 Added throws statement
* As a result of upgrading to ZK 5.0.3 new exception handling statemens were
required at AssignedTaskQualityFormsToOrderElementController

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