Commit graph

4913 commits

Author SHA1 Message Date
Lorenzo Tilve
cbdf439942 Removed unnecesary column on work week edition tab
FEA: ItEr62S05BugFixing
2010-11-09 19:10:45 +01:00
Jacobo Aragunde Pérez
3305ad1e83 [Bug #700] Fixed bug.
Cells containing the * mark are added to a list. The list is used to delete
those marks after save.

FEA: ItEr63S03BugFixing
2010-11-09 18:45:43 +01:00
Manuel Rego Casasnovas
031ca51aaf Remove ICriticalPathCalculable from Node.
FEA: ItEr63OTS05CalculoCaminoCritico
2010-11-09 17:51:08 +01:00
Manuel Rego Casasnovas
dd1df00131 Fixed tests due to last change.
FEA: ItEr63OTS05CalculoCaminoCritico
2010-11-09 17:51:08 +01:00
Manuel Rego Casasnovas
8487acf074 Removed adapter from CriticalPathCalculator.
FEA: ItEr63OTS05CalculoCaminoCritico
2010-11-09 17:51:07 +01:00
Manuel Rego Casasnovas
1445871a71 Fixed critical path tests.
FEA: ItEr63OTS05CalculoCaminoCritico
2010-11-09 17:51:07 +01:00
Manuel Rego Casasnovas
791c08c959 CriticalPathCalculator not using ITaskFundamentalProperties.
FEA: ItEr63OTS05CalculoCaminoCritico
2010-11-09 17:51:07 +01:00
Manuel Rego Casasnovas
d6b6965901 GanttDiagramGraph implements ICriticalPathCalculable.
FEA: ItEr63OTS05CalculoCaminoCritico
2010-11-09 17:51:07 +01:00
Diego Pino Garcia
b44864e184 Fix bug respect bank holidays and weekend on applying Sigmoid function
FEA: ItEr62OTS04FuncionCurvaS
2010-11-09 17:47:09 +01:00
Óscar González Fernández
ba0a525fc5 Avoid uses of Mode#goToOrderMode that cause unnecessary repaintings
Now the mode is changed after hiding the previous tab, so the previous
tab is not repainted and the new tab is showed with the correct mode.

FEA: ItEr63S03BugFixing
2010-11-09 17:14:34 +01:00
Jacobo Aragunde Pérez
87a087cd23 Changed some labels in the order elements tab and updated i18n files with the latest modifications.
FEA: ItEr63S05PerformanceOrderEdition
2010-11-08 20:32:38 +01:00
Jacobo Aragunde Pérez
15eb449c48 Removed redundant button.
FEA: ItEr63S05PerformanceOrderEdition
2010-11-08 20:32:37 +01:00
Jacobo Aragunde Pérez
72c98f5cc1 Remove most buttons in operations column, replacing them with a row of operation buttons on the top of the page.
FEA: ItEr63S05PerformanceOrderEdition
2010-11-08 20:32:37 +01:00
Jacobo Aragunde Pérez
b3535335bc Lower order elements per page to 25.
FEA: ItEr63S05PerformanceOrderEdition
2010-11-08 20:32:37 +01:00
Diego Pino Garcia
74d3ed1267 Fix bug don't apply Stretches function if user exits modal window pressing cancel
FEA: ItEr62OTS04FuncionCurvaS
2010-11-04 20:32:31 +01:00
Diego Pino Garcia
826e6198ed Fix bug go to back to previously selected option in assigment function combobox if user press Cancel
FEA: ItEr62OTS04FuncionCurvaS
2010-11-04 20:32:00 +01:00
Diego Pino Garcia
44d0db9a96 Added new allocating function: Sigmoid Function
Adds a new type of allocating function.

This function allocates hours into resources following a Sigmoid
function.

Known bugs:

* The calendar of a resource (Specific) or the calendar of a Task
(Generic) is not being respected. For instance, the algorithm allocates
hours on bank holidays.

* By default, the algorithm only considers periods of time of 1 hour. If
the calculation estimates an allocation of 0.25 hours for one day, the
result if truncated to 0 hours. This usually happens at the beginning
and at the end of task. Solving the problem at the beginning is easy,
just need to skip allocations with 0 hours assigned, shifting to another
day. But this is not a totally satisfactory solution as it leaves gaps
by the end of the task. To solve this, one solution could be to increase
the period of time by one day at the end, till there won't be 0 hours
allocated on the last day.

FEA: ItEr62OTS04FuncionCurvaS
2010-11-04 20:16:46 +01:00
Diego Pino Garcia
7bef6d83d0 Fix bug avoid creating hbox assigment function combobox on changing zoom
The combobox for selecting type of assigment function (advance
allocation) is created every time the user changes the zoom
leve

FEA: ItEr62OTS04FuncionCurvaS
2010-11-04 20:15:28 +01:00
Óscar González Fernández
9d9be0cbe4 PartialDate is not being used.
Remove it, related classes and tests.

FEA: ItEr62S05BugFixing
2010-11-04 14:23:14 +01:00
Óscar González Fernández
27662f54c2 Add description to classes
They are important data types widely used in the application so it's
good to have a description about their purpose.

FEA: ItEr62S05BugFixing
2010-11-04 14:14:31 +01:00
Óscar González Fernández
85b4722886 [Bug #702] Fix bug
The problem lied in that the end date of the task group was being
updated keeping the length when the start changed. Since the children
of the group were not modified when adding the milestone the end date
was not recalculated and the wrong value persisted.

Calculating the end date keeping the length in task groups is
incorrect since their end date doesn't depend on the previous length,
but in the incoming dependencies. Several refactorings and
simplifications applied thanks to this insight.

FEA: ItEr62S05BugFixing
2010-11-03 19:40:09 +01:00
Susana Montes Pedreira
028416a177 [Bug #692] Fix bug
Fixed bug, changing the checking if the element is a Task
by an checking if the element is ITaskLeafConstraint,
what permit to move and to update too the milestones.

FEA : ItEr62S05BugFixing
2010-11-03 18:03:24 +01:00
Óscar González Fernández
e129fdfec2 Now can schedule backwards when the resources per day and the hours are fixed
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-11-03 17:03:24 +01:00
Óscar González Fernández
eb597ac7ce Fix bug
When the start was inside a day and the hours to allocate just
completed the day, the end date should be moved to the next day but it
was returning the same day.

FEA: ItEr62S05BugFixing
2010-11-03 17:02:55 +01:00
Óscar González Fernández
ed34c999b8 Rename classes
The new names reflect better their meaning, since they don't are an
allocation, they do the allocation.

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-11-03 17:02:45 +01:00
Óscar González Fernández
197e4cfae0 Rename method to be consistent with resourcesPerDayFromEndUntil
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-11-03 17:02:36 +01:00
Óscar González Fernández
3d013b36c5 Fix error that is causing the taks to increase one day in length when moving
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 19:22:10 +02:00
Óscar González Fernández
0aa81a6109 Now resources per day from end until some start date can be allocated
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 19:22:09 +02:00
Óscar González Fernández
db60766295 Ensuring the start is after the consolidated assignments
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 19:22:06 +02:00
Óscar González Fernández
3c9f569099 The start and end date are always set when reseting all allocations
By default, if they are not specified, the start and end are taken
from the task. This allows to calculate resources per day correctly
when doing backwards scheduling. The external behavior is the same for
resource allocations' start date. For the end date now instead of
returning the date of the last day assignment, the date set at the
reset method would be returned.

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 19:21:20 +02:00
Óscar González Fernández
8596aeef8a Now can allocate some hours from end of the task to some date 2010-10-29 18:28:14 +02:00
Óscar González Fernández
9d0bc64dd9 Add test for fromStartUntil
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 18:28:14 +02:00
Óscar González Fernández
70150fd9d7 Provide the resources per day for the part not consolidated
Otherwise in subsequent updates on a allocation with a consolidated
part the resources per day could be different than the specified in
the last modification.

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 18:28:14 +02:00
Óscar González Fernández
b953937a4a Copy the intraDayStart
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 18:28:14 +02:00
Óscar González Fernández
f42d909588 Remove unnecessary given for test
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 18:28:13 +02:00
Óscar González Fernández
c82d2531cf Remove unused method
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 15:24:40 +02:00
Óscar González Fernández
7c7b942c85 Add additional tests to ensure that the resources per day specified are kept
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-29 10:36:08 +02:00
Óscar González Fernández
ca22a8d172 Now DayAssignmentsState has a intraDayStart property
If not null the start of a ResourceAllocation is that value

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-28 17:20:24 +02:00
Óscar González Fernández
a52adc6783 The start date when merging the allocation is defined by the task
In the future the start will be defined by the aggregate of resource
allocations if the task is planned backwards.

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-28 13:30:15 +02:00
Óscar González Fernández
4df83498fb Add intraDayStart property to containers
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-28 13:10:15 +02:00
Óscar González Fernández
eb74eded59 Remove unused fields and methods
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-28 12:37:40 +02:00
Óscar González Fernández
79a9fb9f99 Reduce visibility of DayAssignmentsState and subclasses
No longer needed to be protected since only is subclassed in the same
class.

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-28 12:36:46 +02:00
Óscar González Fernández
409b2c21eb Pull up dayAssignmentsState field in SpecificResourceAllocation and GenericResourceAllocation
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-27 21:00:57 +02:00
Óscar González Fernández
90339d0262 Remove NoExplicitlySpecifiedScenario from specific and generic allocations
Using base class in ResourceAllocation instead.

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-27 20:18:30 +02:00
Óscar González Fernández
b945d4f512 Remove ExplicitlySpecifiedScenarioState for specific and generic resource allocation.
Using base class in ResourceAllocation instead.

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-27 19:18:12 +02:00
Óscar González Fernández
5086f3cb9b Extracting interface IDayAssignmentsContainer
This allows the two types of containers to be handled in a generic
way.

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-27 19:18:12 +02:00
Óscar González Fernández
12d47edb1f Remove TransientState classes at SpecificResourceAllocation and GenericResourceAllocation
Now the superclass at ResourceAllocation can handle both cases. Some
new abstract methods at ResourceAllocation had to be added.

FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-27 19:18:12 +02:00
Óscar González Fernández
1d61e93e78 Pull up switchTo implementation
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-27 19:18:12 +02:00
Óscar González Fernández
303078bf5a Extract TransientState superclass for both generic and specific cases
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-27 19:18:12 +02:00
Óscar González Fernández
26133b00ff Now clearFieldsCalculatedFromAssignments is unneeded
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-10-27 19:18:12 +02:00