Commit graph

490 commits

Author SHA1 Message Date
Farruco Sanjurjo
c08736da82 Changed how the CSS class of a class is set
* 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
2010-09-08 10:27:15 +02:00
Farruco Sanjurjo
d69fd6935c Adapted retrieveData to use JSONArray objects
* 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
2010-09-01 12:29:14 +02:00
Farruco Sanjurjo
13e75134ac Added renderProperties method for DependencyComponent
* Right now it'll be used for setting properties at the widget needed by the mold

FEA: ItEr02S03MigracionZK5
2010-08-27 14:23:16 +02:00
Farruco Sanjurjo
988bf23650 Added show/hideResourceTooltips methods
FEA: ItEr02S03MigracionZK5
2010-08-26 20:56:00 +02:00
Farruco Sanjurjo
a034808077 Added hide/showAllTaskLabels methods
* 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
2010-08-26 20:55:59 +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
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
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
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
Farruco Sanjurjo
0332c55a0c Replaced deprecated interface import
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:09 +02:00
Farruco Sanjurjo
90f5118bab Fixed bug on attribute setting
FEA: ItEr02S03MigracionZK5
2010-08-26 20:54:00 +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
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
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
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
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
Lorenzo Tilve
3c869a2337 [Bug #592] Adding label tooltiptext and tree icon width fixes.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-08-23 09:31:16 +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
Manuel Rego Casasnovas
ac0422b23b ItEr60S03XestionDaComunidadeItEr59S03: Fixed 2 license headers. 2010-08-18 12:02:40 +02:00
Manuel Rego Casasnovas
258d1b4ba0 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #582] Fixed for expand/collapse all button. 2010-08-11 10:42:38 +02:00
Manuel Rego Casasnovas
1b98ce643f ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #582] Fixed for faltten/unflatten tree button. 2010-08-11 10:42:38 +02:00
Manuel Rego Casasnovas
87d094c218 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #582] Fixed for critical path button. 2010-08-11 09:03:55 +02:00
Manuel Rego Casasnovas
2cf0b155de ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #582] Fixed for labels and resource icons in both windows company and order view. 2010-08-10 21:17:18 +02:00
Jacobo Aragunde Pérez
a0a100bf74 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #572] Fix bug using CSS. 2010-08-05 15:10:45 +02:00
Óscar González Fernández
7b36ddd9cc ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #569] Fix bug.
Not translating the zoom parameter when used as parameter.
2010-08-03 17:45:01 +02:00
Manuel Rego Casasnovas
2fa3bdd126 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #565] Fixed translation problem for enums. 2010-08-02 21:01:48 +02:00
Óscar González Fernández
3e456feca5 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #569] Fix bug.
The initial zoom level was being overriden. Now once the initial zoom
level is set it cannot be changed.
2010-08-02 19:49:43 +02:00
Diego Pino Garcia
318ea2c17c ItEr59S08CUAsignacionRecursosLimitantesItEr58S10: Add 'edit task' capability in limiting resources
* Now it's possible to edit either an unassigned or an already-assigned limiting resource and change its properties (number of hours).
* For unassigned tasks is also possible to change its allocated resource.
2010-07-26 11:59:36 +02:00
Manuel Rego Casasnovas
35dd2ac6fa ItEr60S03XestionDaComunidadeItEr59S03: Updated license headers to 2010. 2010-07-19 09:47:20 +02:00
Manuel Rego Casasnovas
977005d82f ItEr60S03XestionDaComunidadeItEr59S03: Updated license headers to 2010. 2010-07-19 09:36:44 +02:00
Susana Montes Pedreira
269277eedb ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : [Bug #546] Fix bug.
Now it updates the advance of the current taskComponent and its
parents when the user accepts but before closing the pop-up.
2010-07-14 16:34:03 +02:00
Óscar González Fernández
af1aa94a31 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: Fix bug.
Take into account the initially modified. As it already has the new
value and if there are no other modifications, necessary parent
shrinkages could not be done.
2010-07-08 20:41:57 +02:00
Óscar González Fernández
1458162d26 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #542] Fix bug.
The parent recalculation was updating the end date. This caused that
later thought that the end date was not modified and the grandparent
tasks was not recalculated.
2010-07-08 20:33:09 +02:00
Óscar González Fernández
b84733139a ItEr60S04ValidacionEProbasFuncionaisItEr59S04: Rename variable to avoid confusions 2010-07-08 20:19:18 +02:00
Óscar González Fernández
2f9ded01f2 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: Removing previous gannt printing system.
It's not being used right now.
2010-07-08 16:30:50 +02:00
Susana Montes Pedreira
62ac7fb959 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: Fixing bugs.
it adds the method updateClass() to the method updateProperties() in
the TaskComponent class , because the appearance of the task should be
updated when the task properties is updated.
2010-06-30 19:23:16 +02:00
Susana Montes Pedreira
ef5e7f69fd ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : [Bug #538]
it does not allow to edit the combo, that filters the resources load by name.
2010-06-24 12:43:14 +02:00
Susana Montes Pedreira
2a8bb34702 ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : [Bug #537]
it puts the task correctly when the zoom is at the week level.
2010-06-22 13:55:04 +02:00
Jacobo Aragunde Pérez
1e148349e2 ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #498] Delete a redundand function call.
The call to isLimitingAndHasDayAssignments() is already done from inside canBeExplicitlyMoved().
2010-06-15 12:23:29 +02:00
Susana Montes Pedreira
9547736896 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #477] Fixing Bug.
Disable movement on Gantt diagram of the tasks which have got consolidations.
2010-06-14 18:58:59 +02:00
Óscar González Fernández
78829ed69a ItEr59S04ValidacionEProbasFuncionaisItEr58S04: By default do not enforce constraints when adding task.
This avoids unnecessary recalculations.
2010-06-14 17:16:58 +02:00
Óscar González Fernández
a43161163d ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #511] Fix bug.
Adding the dependencies provokes recalculations. If some recalculation
modifies some task, task shrinking is done. When task shrinking is
done children tasks that are not yet added to the graph are processed
causing the exception. The recalculations are done after adding all
children tasks.
2010-06-14 17:04:32 +02:00
Javier Moran Rua
b86f618c22 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #506] Making deadline desappear on updating its value to empty from interface. 2010-06-14 00:18:52 +02:00
Javier Moran Rua
68b5b40294 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #506] Add needed method to DefaultFundamentalProperties. 2010-06-13 20:42:21 +02:00
Javier Moran Rua
fbbf0e4f6c ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #506] Managing of deadline from order planning window. 2010-06-13 20:24:34 +02:00
Óscar González Fernández
8a94cdeffa Merge master into scenarios 2010-06-11 20:20:26 +02:00