Commit graph

3379 commits

Author SHA1 Message Date
Óscar González Fernández
12a2dc372d Remove method from adapter
getSmallestBeginDateFromChildrenFor can be implemented in
GanttDiagramGraph. Thus there is less duplication.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-15 00:35:37 +01:00
Óscar González Fernández
2f498a9070 Support backwards scheduling
The implementation is the same as for forward scheduling but some
parametrizations. Lots of refactorings to make it possible.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:42:40 +01:00
Óscar González Fernández
1b1d11aff7 Calculate Recalculations correctly when doing backwards scheduling
The code has been simplified thank to TaskSource not needing to be a
static class anymore.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
347fd6c069 Add new DependencyType START_END
It's necessary to implement reverse.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
3397550a09 Fix exception due to supposing that the init date of a order is not null
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
e3718f4290 Update the correct date when moving explicitly a task
If the current constraint modifies the end date, the end date is the
one that must be modified.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
278f98da95 Only can be moved if the taskElement is an implementation of ITaskPositionConstrained
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
7c3b85a1be Rename ITaskLeafConstraint to ITaskPositionConstrained
The new name reflects better the meaning of the interface.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
4c384cdbfb Let provide a not after than constraint
This constraint comes from the deadline of the order.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
403b98f416 Indicate to GanttDiagramGraph if the scheduling is backwards or not
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
9c4822c08a Add constraints to date fields depending on the scheduling mode
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
3d6e7d295d The scheduling mode can be chosen now.
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
1d8ef13533 Call prepareEditWindow instead of addEditWindowIfNecessary
This is the same that it's done when creating a order and editing a
order.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
f9871259ec Remove method because other was doing the same
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
7886af8f29 Rename classes to more correct names
TaskStartConstraint and StartConstraintType have misleading
names. They are about position constraints, they do not only restrict
the start date.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
8603377361 Build Task dates correctly
Task's dates must also be calculated when the order's init date is
null.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
6617ca9b4e The parameter must be a string
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:26:02 +01:00
Manuel Rego Casasnovas
705bacdb5b [Bug #754] Fixed bug filtering milestones as are not needed for TaskGroup.updateCriticalPathProgress method.
FEA: ItEr65S06BugFixing
2010-12-14 14:04:21 +01:00
Óscar González Fernández
5c8bc94c47 [Bug #750] Fix bug
The problem was that a milestone can be a top level task and doesn't
have an associated order element. If the parent of the top level task
is retrieved, the taskgroup associated to the order is returned and
from this taskgroup the order can always be obtained.

FEA: ItEr65S06BugFixing
2010-12-14 13:04:20 +01:00
Manuel Rego Casasnovas
70fd6abddc Fixed some tests in OrderElementServiceTest for MySQL.
FEA: ItEr65S06BugFixing
2010-12-14 12:47:27 +01:00
Diego Pino Garcia
0ae147676e Add method endFor() for calculating last day of day assigments
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-14 11:26:41 +01:00
Manuel Rego Casasnovas
f86922f056 [Bug #751] Fixed LabelServiceTest for MySQL database.
FEA: ItEr65S06BugFixing
2010-12-14 10:12:03 +01:00
Lorenzo Tilve
cd11dc0ede Added necessary white space to print parameters
FEA: ItEr65S06BugFixing
2010-12-14 00:08:25 +01:00
Lorenzo Tilve
84ac0b2def Tooltip iframe src loaded on demand
FEA: ItEr65S11TooltipPerformance
2010-12-13 23:44:56 +01:00
Lorenzo Tilve
6ac87621ed Added support to include custom company logo URL to be displayed in the application
FEA: ItEr65S06BugFixing
2010-12-13 22:33:32 +01:00
Lorenzo Tilve
66ca0bcd34 Changed MonteCarlo simulation perspective name and icon
FEA: ItEr65S08PerspectivesOrder
2010-12-13 22:22:21 +01:00
Lorenzo Tilve
d42a27fc61 Improved coherence of perspective names
FEA: ItEr65S08PerspectivesOrder
2010-12-13 22:22:00 +01:00
Lorenzo Tilve
5d03466e0b Moved project details and project list to be the second selectable perspectives
FEA: ItEr65S08PerspectivesOrder
2010-12-13 22:14:48 +01:00
Diego Pino Garcia
d4f6c55ae3 Fix bug Exception launched on changing zoom level in limiting resources
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-11 14:33:37 +01:00
Farruco Sanjurjo
f834967dc7 Added if-check to avoid exception caused by Milestone
* Using TaskElementAdapter#getTooltipText or TaskElementAdapter#getLabelsText
with a Milestone object raised an exception because it was trying to use
an order element which it hasn't

FEA: ItEr02S03MigracionZK5
2010-12-10 13:37:19 +01:00
Diego Pino Garcia
7315647a17 Show correct names of queues in selector 'Select queues'
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-10 11:09:17 +01:00
Diego Pino Garcia
c57d2740db Fix bug Array out of Bounds when clicking on 'Advance allocation' for an order without allocations
FEA: ItEr64S03BugFixing
2010-12-10 11:07:38 +01:00
Manuel Rego Casasnovas
00fcf6f173 Changed to BigDecimal units attribute in MaterialInfo class.
FEA: ItEr65S05DatabaseUpgradeItEr64S07
2010-12-10 10:15:57 +01:00
Óscar González Fernández
6c57bbcdf7 Fix NPE when pressing change scenario button
The zscript declaration had ben moved causing templateCtrl to not be
defined when doing the apply for the div.

FEA : ItEr64S03BugFixing
2010-12-09 18:14:52 +01:00
Diego Pino Garcia
d9b8609c89 Montcarlo calculates CriticalPath using business objects if planner is not rendered yet
* Rename Adapter to TemplateModelAdapter

FEA: ItEr64OTS04ReporteAvancesCadeaCritica
2010-12-09 12:52:51 +01:00
Diego Pino Garcia
ba6ad9b04b Reattach order before calculating critical path
FEA: ItEr64OTS04ReporteAvancesCadeaCritica
2010-12-09 12:52:36 +01:00
Diego Pino Garcia
51643855ce Fix NullPointerException during runtime
FEA: ItEr64OTS04ReporteAvancesCadeaCritica
2010-12-09 12:52:01 +01:00
Susana Montes Pedreira
d22918385b [Bug #668] Fix bug
It checks if the order elements have got code before importing them.

FEA : ItEr64S03BugFixing
2010-12-09 12:36:43 +01:00
Lorenzo Tilve
d3dd859411 Rebuilt the graphical behaviour of embed combobox for progress view configuration
FEA: ItEr64S04AdvancesVisualization
2010-12-09 09:55:40 +01:00
Óscar González Fernández
001006ca5a Make method private because it's used only internally
Remove transaction annotation since it was not being effective.

FEA: ItEr64S03BugFixing
2010-12-07 13:06:00 +01:00
Óscar González Fernández
111bac3e8f [Bug #748] Fix bug
If the planning state is empty, the update and refreshing operations
can't be done.

FEA: ItEr64S03BugFixing
2010-12-07 13:05:59 +01:00
Lorenzo Tilve
b3be811ffe Changed listbox to compact combobox for selecting advances calculation mode
FEA: ItEr64S04AdvancesVisualization
2010-12-03 13:13:37 +01:00
Lorenzo Tilve
56e7f01474 Added static versioning info to login screen
FEA: ItEr64S08NavalPlanVersion
2010-12-03 13:07:57 +01:00
Diego Pino Garcia
1692f312d6 Added button in advances chart for refreshing calculations related with
critical path

The chart is also refreshed when the user saves a scheduling

FEA: ItEr64OTS04ReporteAvancesCadeaCritica
2010-12-02 13:41:41 +01:00
Susana Montes Pedreira
80b0cd068a [Bug #745] Fix bug
it changes the validations to save correctly
and repaint the entity sequence table.

FEA : ItEr64S03BugFixing
2010-12-01 17:53:22 +01:00
Óscar González Fernández
0fb61dd2ac Add method for retrieving the end constraints for a task
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-01 15:17:56 +01:00
Óscar González Fernández
1bd4cd7ae6 Don't allow to pick as late as possible constraint when there is no deadline
Without a deadline as late as possible is ambigous, it could cause an
infinite loop.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-01 15:17:44 +01:00
Diego Pino Garcia
e9a392b455 Added two new types of constraints
FEA: ItEr62OTS04PlanificacionHaciaAtras
2010-12-01 15:09:04 +01:00
Diego Pino Garcia
2b28b757f8 [Bug #744] Fixes HibernateException when retrieving 'progressType' from Configuration 2010-12-01 13:47:32 +01:00
Susana Montes Pedreira
d631b20b3d It changes the way to edit/create the entity sequences
FEA : ItEr64S06NavalPlanEntities
2010-12-01 11:30:12 +01:00