Commit graph

5868 commits

Author SHA1 Message Date
Óscar González Fernández
9bc2b40cfd [Bug #1012] Fix bug at resource load
Criterion parents were not considered.

FEA: ItEr74S04BugFixing
2011-04-25 18:54:44 +02:00
Óscar González Fernández
27225cc0ae Refactor Criterion comparators
FEA: ItEr74S04BugFixing
2011-04-25 18:40:28 +02:00
Óscar González Fernández
e9ba879182 Remove unnecessary invocation to show message
FEA: ItEr74S04BugFixing
2011-04-25 17:29:50 +02:00
Óscar González Fernández
519618cec5 [Bug #994] Show message when finishing reallocations
FEA: ItEr74S04BugFixing
2011-04-25 17:06:17 +02:00
Óscar González Fernández
71e9cbba05 Fix some type warnings related to the use of generics with GanttDiagramGraph
FEA: ItEr74S04BugFixing
2011-04-25 16:08:59 +02:00
Óscar González Fernández
0c7dd825ab Use getReassignationResourcesPerDay
getIntendedResourcesPerDay can return null, so it must fallback to getResourcesPerDay

FEA: ItEr74S04BugFixing
2011-04-25 15:46:04 +02:00
Óscar González Fernández
db3fec089d [Bug #995] Fix bug
Use the non consolidated hours instead of the total hours

FEA: ItEr74S04BugFixing
2011-04-25 15:46:03 +02:00
Diego Pino Garcia
a9be81116b Fix checking of a calendar being used by resources
FEA: ItEr74S04BugFixing
2011-04-25 13:18:12 +02:00
Óscar González Fernández
86be89730c [Bug #1009] Fix bug
onChangeEnableApply was wiping the listener just added. Now both of
them are added to the same time.

FEA: ItEr74S04BugFixing
2011-04-25 13:01:34 +02:00
Lorenzo Tilve Álvaro
da568213fc [Bug #907] Changed styles in advanced limiting assignment cells
Now they are represented with the same styles as in the gantt view to
improve coherence.

FEA: ItEr74S04BugFixing
2011-04-24 22:14:01 +02:00
Lorenzo Tilve Álvaro
409943c04c [Bug #407] Fixed positioning issues in print CSS
FEA: ItEr74S04BugFixing
2011-04-24 22:14:01 +02:00
Lorenzo Tilve Álvaro
692748ee5e [Bug #1007] Vertical height parameter added to CutyCapt
FEA: ItEr74S04BugFixing
2011-04-24 22:14:01 +02:00
Diego Pino Garcia
69e7a18f75 [Bug #975] Stretch function cannot be applied if the task is already 100% consolidated
FEA: ItEr74S04BugFixing
2011-04-23 10:08:00 +02:00
Diego Pino Garcia
9b1fb6c87c [Bug #975] Respect consolidated day assignments of a Resource Allocation when applying a Stretch function
When an advance function is applied to a resource allocation, in this
case a Stretch function, the function should respect the period of
consolidated day assignments if any.

This means that an advance function should only calculate hours for day
assigments considering the period of time in the resource allocation that
is free (has no day assignments).

The class ConsolidatedStretch represents an interval that encompasses the
consolidated day assignments of a resource allocation, if any. This interval
is infered from the resource allocation and is never persisted.

This interval is shown in the window of intervals as disabled (the user
cannot edit it). It can happen that the StretchFunction may have several
intervals defined, then the user consolidates some days, resulting
that some of the intervals previously defined are now outdated (by the
consolidated interval). In this case, an overlap error will happen if
the user tries to apply the function, and the user should remove by hand
those outdated intervals.

FEA: ItEr74S04BugFixing
2011-04-23 10:08:00 +02:00
Diego Pino Garcia
cd9cb77e4a Added sortByDate
FEA: ItEr74S04BugFixing
2011-04-23 10:07:59 +02:00
Diego Pino Garcia
9185277138 Use factory method instead of constructor
FEA: ItEr74S04BugFixing
2011-04-23 10:07:59 +02:00
Óscar González Fernández
ff327d8109 Tell the user when the intended and the real resources per day differ
FEA: ItEr74S04BugFixing
2011-04-22 20:53:21 +02:00
Óscar González Fernández
175f785f91 AllocationRow tracks the current calculated value
FEA: ItEr74S04BugFixing
2011-04-22 20:53:21 +02:00
Óscar González Fernández
3d48651458 Fix satisfaction condition
The changes requested are for the not consolidated part

FEA: ItEr74S04BugFixing
2011-04-22 20:53:21 +02:00
Óscar González Fernández
14a6bd6f09 Add intended_resources_per_day column
FEA: ItEr74S04BugFixing
2011-04-22 20:53:21 +02:00
Óscar González Fernández
524416f920 Keep the intended resources per day
When doing an allocation for all the task with some new resources per
day, the resources per day are captured as intended resources per day.

FEA: ItEr74S04BugFixing
2011-04-22 20:53:21 +02:00
Óscar González Fernández
bc60422dc2 Fix test that was not testing anything
Another related test added.

FEA: ItEr74S04BugFixing
2011-04-22 20:53:20 +02:00
Óscar González Fernández
d1e44423af Specify the resource calendars using capacities
FEA: ItEr74S04BugFixing
2011-04-22 20:53:20 +02:00
Óscar González Fernández
c88e7e177d Create easier to read methods for specifying overassingment
FEA: ItEr74S04BugFixing
2011-04-22 20:53:20 +02:00
Óscar González Fernández
a7ac7512f0 Not satisfying the resources per day doesn't prevent exit
FEA: ItEr74S04BugFixing
2011-04-22 20:53:20 +02:00
Diego Pino Garcia
73fbbbdbaa [Bug #976] Add an initial only-read stretch in advance allocation functions
FEA: ItEr74S04BugFixing
2011-04-22 19:04:49 +02:00
Diego Pino Garcia
0eac049b1d Added toString()
FEA: ItEr74S04BugFixing
2011-04-22 19:04:40 +02:00
Diego Pino Garcia
a4c19051d2 Added constructor and contructor copy
FEA: ItEr74S04BugFixing
2011-04-22 19:04:18 +02:00
Diego Pino Garcia
9fcd7cb5d0 Moved member attributes to beginning of class
FEA: ItEr74S04BugFixing
2011-04-22 19:04:07 +02:00
Diego Pino Garcia
89b1519d4b Moved StretchesFunction$Type to its own file
* Renamed it as StretchesFunctionTypeEnum
   * Renamed StretechesFunctionTypeEnum.DEFAULT to STRETCHES

FEA: ItEr74S04BugFixing
2011-04-22 19:03:45 +02:00
Diego Pino Garcia
55b63527cd Changed contructor to protected
FEA: ItEr74S04BugFixing
2011-04-22 19:03:34 +02:00
Susana Montes Pedreira
9063bbee1a Refactoring getAdvanceMeasurement method to getAdvanceMeasurementAtDateOrPrevious. 2011-04-20 17:41:57 +02:00
Susana Montes Pedreira
9ddd9764b1 [Bug #1005] subcontracted task sends each progress measurement correctly.
To update a progress measurement first one, it is looked for a progress
measurement with the same exact date, and if this one does not exists it
adds a new progress measurement.

FEA: ItEr74S04BugFixing
2011-04-20 17:08:08 +02:00
Manuel Rego Casasnovas
c785d899db Added more tests for OrderElementTreeModel::indent method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-20 15:52:11 +02:00
Manuel Rego Casasnovas
07bb633f84 Added basic test for OrderElementTreeModel::unindent method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-20 15:52:11 +02:00
Manuel Rego Casasnovas
ee497d2069 More checks in basic test for OrderElementTreeModel::indent method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-20 15:52:11 +02:00
Diego Pino Garcia
2a9a649842 [Bug #999] Don't pose as transient anymore other objects hanging from Calendar
FEA: ItEr74S04BugFixing
2011-04-20 14:26:28 +02:00
Diego Pino Garcia
6808910c07 [Bug #988] Check calendar is not being referenced by other entities
FEA: ItEr74S04BugFixing
2011-04-20 13:58:53 +02:00
Diego Pino Garcia
0a0a80b9a1 [Bug #988] Remove former resource calendar when a new calendar is selected for a machine
FEA: ItEr74S04BugFixing
2011-04-20 13:58:48 +02:00
Diego Pino Garcia
725aee5da1 [Bug #988] Remove former resource calendar when a new calendar is selected for a worker
FEA: ItEr74S04BugFixing
2011-04-20 13:57:48 +02:00
Diego Pino Garcia
568fbd6d96 [Bug #988] Create test saveAndRemoveResourceCalendar
FEA: ItEr74S04BugFixing
2011-04-20 13:57:48 +02:00
Diego Pino Garcia
1f7a960f53 [Bug #1004] Fix bug LazyInitializationException of Calendars
FEA: ItEr74S04BugFixing
2011-04-20 12:31:20 +02:00
Manuel Rego Casasnovas
a8a9d3f4ec Added basic test for OrderElementTreeModel::indent method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-20 10:01:25 +02:00
Óscar González Fernández
3f0e700050 [Bug #997] Fix error in generic allocation
The resources per day are taking into account when distributing the
load for the last day. The remaining load is divided by the resources
per day and it tries first to assign this duration.

FEA: ItEr74S04BugFixing
2011-04-19 21:12:13 +02:00
Óscar González Fernández
d7e206a264 Rename method to reflect better meaning
FEA: ItEr74S04BugFixing
2011-04-19 21:11:46 +02:00
Óscar González Fernández
e320323aef Add Javadoc comment explaining the semantics of IntraDayDate#getEffortDuration
FEA: ItEr74S04BugFixing
2011-04-19 21:11:18 +02:00
Manuel Rego Casasnovas
54c2fc2817 Removed added method in EntitiesTree and moved to business.
* Created a new method "onChildAddedAdditionalActions" on
  TreeNodeOnListWithSchedulingState.
* Calling "updateCriterionRequirements" from new method instead of EntitiesTree
  implementation.

FEA: ItEr74S07WBSTreeRefactoring
2011-04-19 18:06:33 +02:00
Diego Pino Garcia
00ef88227a [Bug #999] Fix bug set as dontPoseAsTransientAnymore after clicking SaveAndContinue
FEA: ItEr74S04BugFixing
2011-04-19 13:20:46 +02:00
Manuel Rego Casasnovas
a494cb23ab Fixed lazy when toLeaf is called manipulating WBS.
FEA: ItEr74S04BugFixing
2011-04-18 19:56:19 +02:00
Óscar González Fernández
2dc4e0ee4a [Bug #952] Fix bug
Use LinkedHashMap to keep the order and call to Resource.sortByName
where needed.

FEA: ItEr74S04BugFixing
2011-04-18 17:59:58 +02:00