Commit graph

4457 commits

Author SHA1 Message Date
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
Farruco Sanjurjo
b1382122f2 Removed deprecated method getRealStyle
* Replaced with renderProperties
* Used setWidgetAttribute for setting widget properties (not 100% about this, maybe we should use render(...))

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:45 +02:00
Farruco Sanjurjo
c0953ddc4c Upgrading TaskComponent to ZK 5
* Removed Command and CommandComponent imports
* Added AuService import
* Used setAuService

FEA: ItEr02S03MigracionZK5
2010-08-26 20:53:41 +02:00
Farruco Sanjurjo
d72404af3f Upgraded TimeTrackerComponent to ZK 5
* Removed Command and CommandComponent imports
* Use of setAuService(...)

FEA: ItEr02S03MigracionZK5
2010-08-26 20:52:55 +02:00
Farruco Sanjurjo
aac8dad6f9 Upgrade ZK version to 5.0.3
FEA: ItEr02S03MigracionZK5
2010-08-26 20:52:03 +02:00
Óscar González Fernández
090074194c Change hours input to duration input.
Now an exception day can be created with a precise duration instead of
specifying a number of hours.

FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:36:21 +02:00
Óscar González Fernández
5590dd6ff6 Remove references to hours in CalendarException.
The signature of the factory methods is changed, now they receive
EffortDuration instead of a Integer. CalendarException#getHours method
removed.

FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:35:13 +02:00
Óscar González Fernández
f76e93815a Show duration instead of hours below calendar
FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:26:37 +02:00
Óscar González Fernández
6a7c6d8689 Show durations instead of hours on exceptions table
FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:26:36 +02:00
Óscar González Fernández
d1e55418fe Cleanup tests.
Remove unnecessary catches and format code.

FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:25:38 +02:00
Susana Montes Pedreira
3a4c58b133 [Bug #349] Button to create an order from a template has been removed.
It adds the button to create a an order from a template
of type order template.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-08-24 12:53:53 +02:00
Diego Pino Garcia
7476455dd2 [Bug #603] Load template element tree in Template view
There was a bug after applying optimizations on how the tree is loaded.
Now it's necessary to reload the tree from directly java code. Before it
was done via reloadBindings()

FEA: ItEr60S18CambiosPantallaArbolPedido
2010-08-23 17:56:55 +02:00
Óscar González Fernández
6536f36b8e Remove hours methods on BaseCalendar.
They are replaced by methods accepting and returning EffortDurations.

FEA: ItEr60S19TimeUnitDataType
2010-08-23 17:42:21 +02:00
Óscar González Fernández
56912d7750 Let minutes and seconds values overflow to the next unit.
The spinners are updated with the new values normalized, so entering
60 minutes becomes an hour, and so on.

FEA: ItEr60S19TimeUnitDataType
2010-08-23 16:24:43 +02:00
Óscar González Fernández
4c4cf6dc1b Enter the duration instead of the hours.
The hours field is replaced by a EffortDurationPicker

FEA: ItEr60S19TimeUnitDataType
2010-08-23 16:24:38 +02:00
Óscar González Fernández
4d7c03c8e0 Add component for showing and editing durations
This is the initial implementation of such component with the basic
functionality.

FEA: ItEr60S19TimeUnitDataType
2010-08-23 16:24:06 +02:00
Óscar González Fernández
6d831a5572 Remove hours methods on CalendarData
FEA: ItEr60S19TimeUnitDataType
2010-08-23 16:20:53 +02:00
Óscar González Fernández
0c3222ba12 Do several cleanups.
Removing unused fields, unnecessary catches and accessing static
members through class.
2010-08-23 16:20:53 +02:00
Lorenzo Tilve
3c869a2337 [Bug #592] Adding label tooltiptext and tree icon width fixes.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-08-23 09:31:16 +02:00
Óscar González Fernández
6df2e3b75b Change getHours method to getDuration.
Instead of returning a number of hours return a EffortDuration.

FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:25:24 +02:00
Óscar González Fernández
399a2edcd3 Implement Comparable on EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:18:47 +02:00
Óscar González Fernández
0228ce0e65 ResourcesPerDay now works with EffortDurations instead of hours
FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:18:47 +02:00
Óscar González Fernández
597989de06 Add method decomposing an EffortDuration into its elements
FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:18:47 +02:00
Óscar González Fernández
c15b228904 Add utility methods so it's easier to create EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:18:47 +02:00
Susana Montes Pedreira
9008f945a3 Changes the workingProgressPerTask report.
It changes the interface for the selection of orders.
It adds the filtered by labels and criterions to the workingProgressPerTask report.

FEA : ItEr60S15AnA04S11RFAdaptacionFiltradosInformes
2010-08-20 12:36:53 +02:00
Susana Montes Pedreira
11f62e1dcf Changes the TimeLineMaterial report.
It changes the interface for the selection of orders.

FEA : ItEr60S15AnA04S11RFAdaptacionFiltradosInformes
2010-08-20 10:11:58 +02:00
Susana Montes Pedreira
2cd19b4cea Changes the SchedulingProgressPerOrder report.
It changes the interface for the selection of orders.

FEA : ItEr60S15AnA04S11RFAdaptacionFiltradosInformes
2010-08-19 15:14:58 +02:00
Susana Montes Pedreira
828c065c23 ItEr60S15AnA04S11RFAdaptacionFiltradosInformes : Changes the OrderCostPerResource report.
It changes the interface for the selection of orders.
It adds the filtered by labels and criterions to the OrderCostPerResource report.
2010-08-19 13:14:39 +02:00
Lorenzo Tilve
4ca98525db ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #592] Fixed problems with styles. 2010-08-18 18:08:45 +02:00
Manuel Rego Casasnovas
3bdc973c00 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #592] Initial fix for bug.
It needs some changes in CSS in order to work properly with long order names.
2010-08-18 18:08:44 +02:00
Diego Pino Garcia
b5186d9933 ItEr60S18CambiosPantallaArbolPedido: Activate paging for order element tree 2010-08-18 17:28:16 +02:00
Manuel Rego Casasnovas
f480f97df2 Moved "Scenarios" entry in menu between "Resources" and "Administration/Management". 2010-08-18 16:45:28 +02:00
Manuel Rego Casasnovas
7fd423803f ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #596] Fixed bug changing doModal() for setMode("modal").
This change was introduced in commit 318ea2c17c.
2010-08-18 14:38:58 +02:00