Commit graph

4946 commits

Author SHA1 Message Date
Óscar González Fernández
bc96b3b2d4 When resizing a task the workable days are updated
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:14:55 +01:00
Óscar González Fernández
6b93954ec4 Now workableDays is persistent
It is used to calculate the new end when it exists. If the calcualted
value is END_DATE it is null.

FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:14:50 +01:00
Óscar González Fernández
1a6125a7b7 Update the workable days when it's in mode calculate end
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:14:47 +01:00
Óscar González Fernández
919dfded3a Remove check for invalid value that cannot happen now
Now the end is calculated from the start and the workable days, so no
longer it could be less than the start.

FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:14:42 +01:00
Óscar González Fernández
7858f2a8b7 Rename to END_DATE since it's the value that is really being calculated
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:14:29 +01:00
Óscar González Fernández
5dd3f2e70a Count only the days that are workable
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:14:21 +01:00
Óscar González Fernández
1be1eb1714 Add validation constraint
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:09:57 +01:00
Óscar González Fernández
9f92c8a39e Move taskWorkableDays handling code to FormBinder
This is a refactoring. It does not change the observable behaviour.

FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:09:56 +01:00
Óscar González Fernández
2aa82bf9cf Use getWorkableDays instead of getDaysDuration
if the field workableDays is not defined it falls back to
getDaysDuration.

FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:09:46 +01:00
Óscar González Fernández
4aaf896d73 Workable days are stored as an integer
Using a decimal would require that IAllocatable could receive dates as
IntraDayDates instead of LocalDates and this is not supported yet.

FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:04:27 +01:00
Óscar González Fernández
f4a2565c55 Remove unused method
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:04:27 +01:00
Óscar González Fernández
830ac89f0a The workableDays must only be updated when the changes are accepted
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:04:27 +01:00
Óscar González Fernández
3c192e0cf8 Remove unnecessary fields
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:04:26 +01:00
Óscar González Fernández
8229fdf032 Remove unnecessary indirection
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:04:26 +01:00
Óscar González Fernández
356508f203 Push down workableDays to Task from TaskElement
FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:04:26 +01:00
Diego Pino Garcia
c0a53675e7 Now, when doing a resource allocation, instead of specifying an 'end date' the user will input a duration in days.
* Change field 'End date' (Datebox) in Allocation configuration to 'Workable days' (Decimalbox)
* The field is set first as the difference between task.end - task.start
* Task stores now a new 'workableDays' field that is used when doing the
resource allocations
* Do some UI improvements (rearrange buttons, layout, etc)

FEA: ItEr61OTS04PlanificacionHaciaAtras
2010-11-11 17:04:26 +01:00
Diego Pino Garcia
0549f8d22b Fix bug discard TaskGroups in CriticalPath
FEA: ItEr63OTS06MonteCarlo
2010-11-11 12:36:01 +01:00
Jacobo Aragunde Pérez
6d719d5746 [Bug #709] Fixed bug, checking if a variable is null before using it.
FEA: ItEr63S03BugFixing
2010-11-11 11:54:00 +01:00
Lorenzo Tilve
738d224a86 Stretched components to use 100% width
FEA: ItEr63S03BugFixing
2010-11-11 10:40:53 +01:00
Lorenzo Tilve
759f43146b Added 'about' information
FEA: ItEr63S03BugFixing
2010-11-11 10:40:46 +01:00
Diego Pino Garcia
c53fd56f95 Fix bug NullPointerException in isMonteCarloVisible()
FEA: ItEr63OTS06MonteCarlo
2010-11-11 10:06:33 +01:00
Diego Pino Garcia
076c21ecfc Fix bug add getCriticalPath() to ContextWithPlannerTask and ContextRelativeToOtherComponent
FEA: ItEr63OTS06MonteCarlo
2010-11-11 08:13:04 +01:00
Diego Pino Garcia
908800a1c4 Added new menu tab for calculating MonteCarlo graph for an order
* Added configuration option for enabling this menu tab

* Montecarlo method calculates a range of enddates and its corresponding
likelihood. For each task of an order, there are three possible
durations (pessimistic, normal and optimistic). Each duration is
associated with a likelihood value. A montecarlo calculation, generates
for each task a random value and takes the duration of the task
associated to this random value, summing each value for each task, the
resuling value is the hypothetical enddate of that order. This operation
is executed n times. The higher the value, the more accurate the
results, although there is a threshold limit.

FEA: ItEr63OTS06MonteCarlo
2010-11-11 00:10:25 +01:00
Jacobo Aragunde Pérez
2663ff7b57 [Bug #708] Fixed bug, setting up the listbox programatically and setting explictly the default selection.
FEA: ItEr63S03BugFixing
2010-11-10 17:42:50 +01:00
Jacobo Aragunde Pérez
fbe6b45d22 [Bug #707] Fixed bug, setting explicitly the selected element.
FEA: ItEr63S03BugFixing
2010-11-10 16:44:53 +01:00
Jacobo Aragunde Pérez
50c44d24c1 [Bug #705] Fixed bug, adding an event listener to the ON_SELECT event to prevent conflict with ON_CLICK.
FEA: ItEr63S03BugFixing
2010-11-10 11:47:21 +01:00
Jacobo Aragunde Pérez
8e7e9efe40 [Bug #701] Fixed bug, refreshing explictly the hours cell after creating a child element.
FEA: ItEr63S03BugFixing
2010-11-10 11:31:31 +01:00
Lorenzo Tilve
bd3b257e26 Added information on supported browsers to login screen
FEA: ItEr63S03BugFixing
2010-11-09 19:10:45 +01:00
Lorenzo Tilve
369bbc0c55 Changed widths and alignments of order columns
FEA: ItEr63S03BugFixing
2010-11-09 19:10:45 +01:00
Lorenzo Tilve
d5d0211571 [Bug #661] Fix bug
Oversized watermark height setting overflow hidden to avoid the need of
scaling when taskarea changes

FEA: ItEr63S03BugFixing
2010-11-09 19:10:45 +01:00
Lorenzo Tilve
0b8bbbbdc2 Moved orderelement tree node operations to first row
FEA: ItEr63S03BugFixing
2010-11-09 19:10:45 +01:00
Lorenzo Tilve
eee0679266 Fixed tree header visualization problems on Chrome
FEA: ItEr62S05BugFixing
2010-11-09 19:10:45 +01:00
Lorenzo Tilve
e584d40331 Fixed horizontal vboxes scaling for chrome
FEA: ItEr63S03BugFixing
2010-11-09 19:10:45 +01:00
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