taskjuggler 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +7 -0
- data/data/tjp.vim +1 -1
- data/lib/exchangebug.rb +42 -0
- data/lib/ruby-signal-bug.rb +55 -0
- data/lib/taskjuggler/DataCache.rb +30 -41
- data/lib/taskjuggler/ResourceScenario.rb +19 -20
- data/lib/taskjuggler/TaskScenario.rb +11 -8
- data/lib/taskjuggler/Tj3Config.rb +1 -1
- data/prj_cfg.rb +3 -3
- data/test/TestSuite/Export-Reports/refs/DST.tjp +60 -0
- data/test/TestSuite/Export-Reports/refs/ReleasePlan.tjp +80 -0
- data/test/TestSuite/Export-Reports/tp.tjp +49 -0
- data/test/TestSuite/HTML-Reports/Alerts.html +412 -160
- data/test/TestSuite/HTML-Reports/TimeSheet.html +79 -0
- data/test/TestSuite/HTML-Reports/css/tjmanual.css +20 -0
- data/test/TestSuite/HTML-Reports/css/tjreport.css +7 -6
- data/test/TestSuite/HTML-Reports/reference.html +51 -0
- data/test/TestSuite/ReportGenerator/Correct/css/tjmanual.css +86 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/css/tjreport.css +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/details.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/flag-green.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/flag-red.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/flag-yellow.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/resource.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/resourcegroup.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/task.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/taskgroup.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/trend-down.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/trend-flat.png +0 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/icons/trend-up.png +0 -0
- data/test/TestSuite/ReportGenerator/Correct/opennodes.tjp +26 -0
- data/test/TestSuite/ReportGenerator/Correct/refs/opennodes-1.csv +2 -0
- data/test/TestSuite/{Scheduler/Errors → ReportGenerator/Correct}/scripts/wz_tooltip.js +0 -0
- data/test/TestSuite/Scheduler/Correct/Allocate.html +1075 -0
- data/test/TestSuite/Scheduler/Correct/Duration.html +610 -0
- data/test/TestSuite/Scheduler/{Errors → Correct}/css/tjmanual.css +0 -0
- data/test/TestSuite/Scheduler/Correct/css/tjreport.css +413 -0
- data/test/TestSuite/Scheduler/Correct/icons/details.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/flag-green.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/flag-red.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/flag-yellow.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/resource.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/resourcegroup.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/task.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/taskgroup.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/trend-down.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/trend-flat.png +0 -0
- data/test/TestSuite/Scheduler/Correct/icons/trend-up.png +0 -0
- data/test/TestSuite/{HTML-Reports/scripts → Scheduler/Correct}/scripts/wz_tooltip.js +20 -20
- data/test/TestSuite/StatusSheetTemplates/project.tji +35 -0
- data/test/TestSuite/StatusSheetTemplates/project.tjp +56 -0
- data/test/TestSuite/StatusSheets/TimeSheets/2002-03-01/resource1_2002-03-01.tji +0 -0
- data/test/TestSuite/Syntax/Correct/DST.tjp +11 -0
- data/test/TestSuite/Syntax/Correct/ReleasePlan.tjp +32 -0
- data/test/TestSuite/TimeSheets/receiver.log.mod +1056 -0
- data/test/TestSuite/TimeSheets/uu.txt +29 -0
- metadata +672 -1076
- data/benchmarks/UTF-8-Strings.rb +0 -58
- data/benchmarks/htmltaskreport-1.html +0 -47702
- data/benchmarks/htmltaskreport-2.html +0 -23345
- data/benchmarks/htmltaskreport-3.html +0 -23265
- data/benchmarks/htmltaskreport-4.html +0 -22135
- data/benchmarks/profile.clt +0 -36082
- data/benchmarks/tj3.profile +0 -0
- data/benchmarks/tj3.profile.grind +0 -6185
- data/benchmarks/tj3.profile.symbols +0 -432
- data/benchmarks/tj3.profile.txt +0 -448
- data/doc/AppConfig.html +0 -1515
- data/doc/CHANGELOG.html +0 -2441
- data/doc/COPYING.html +0 -923
- data/doc/Diff.html +0 -1217
- data/doc/Diff/Hunk.html +0 -1050
- data/doc/Diffable.html +0 -708
- data/doc/DiffableString.html +0 -708
- data/doc/Object.html +0 -744
- data/doc/README_rdoc.html +0 -774
- data/doc/RuntimeConfig.html +0 -880
- data/doc/String.html +0 -1029
- data/doc/TaskJuggler.html +0 -2698
- data/doc/TaskJuggler/Account.html +0 -777
- data/doc/TaskJuggler/AccountAttribute.html +0 -793
- data/doc/TaskJuggler/AccountScenario.html +0 -736
- data/doc/TaskJuggler/Allocation.html +0 -987
- data/doc/TaskJuggler/AllocationAttribute.html +0 -823
- data/doc/TaskJuggler/AttributeBase.html +0 -1379
- data/doc/TaskJuggler/AttributeDefinition.html +0 -839
- data/doc/TaskJuggler/AttributeOverwrite.html +0 -630
- data/doc/TaskJuggler/BatchProcessor.html +0 -1202
- data/doc/TaskJuggler/Booking.html +0 -883
- data/doc/TaskJuggler/BookingListAttribute.html +0 -793
- data/doc/TaskJuggler/BooleanAttribute.html +0 -793
- data/doc/TaskJuggler/CSVFile.html +0 -1152
- data/doc/TaskJuggler/CellSettingPattern.html +0 -724
- data/doc/TaskJuggler/CellSettingPatternList.html +0 -773
- data/doc/TaskJuggler/Charge.html +0 -801
- data/doc/TaskJuggler/ChargeListAttribute.html +0 -757
- data/doc/TaskJuggler/ChargeSet.html +0 -973
- data/doc/TaskJuggler/ChargeSetListAttribute.html +0 -802
- data/doc/TaskJuggler/CollisionDetector.html +0 -1113
- data/doc/TaskJuggler/ColumnListAttribute.html +0 -757
- data/doc/TaskJuggler/ColumnTable.html +0 -787
- data/doc/TaskJuggler/Daemon.html +0 -843
- data/doc/TaskJuggler/DataCache.html +0 -1049
- data/doc/TaskJuggler/DataCacheEntry.html +0 -761
- data/doc/TaskJuggler/DateAttribute.html +0 -761
- data/doc/TaskJuggler/DefinitionListAttribute.html +0 -679
- data/doc/TaskJuggler/DependencyListAttribute.html +0 -797
- data/doc/TaskJuggler/DurationAttribute.html +0 -794
- data/doc/TaskJuggler/FileList.html +0 -817
- data/doc/TaskJuggler/FileRecord.html +0 -726
- data/doc/TaskJuggler/FixnumAttribute.html +0 -715
- data/doc/TaskJuggler/FlagListAttribute.html +0 -793
- data/doc/TaskJuggler/FloatAttribute.html +0 -757
- data/doc/TaskJuggler/FormatListAttribute.html +0 -721
- data/doc/TaskJuggler/GanttChart.html +0 -1511
- data/doc/TaskJuggler/GanttContainer.html +0 -969
- data/doc/TaskJuggler/GanttHeader.html +0 -972
- data/doc/TaskJuggler/GanttHeaderScaleItem.html +0 -786
- data/doc/TaskJuggler/GanttLine.html +0 -1349
- data/doc/TaskJuggler/GanttLoadStack.html +0 -852
- data/doc/TaskJuggler/GanttMilestone.html +0 -950
- data/doc/TaskJuggler/GanttRouter.html +0 -1160
- data/doc/TaskJuggler/GanttTaskBar.html +0 -972
- data/doc/TaskJuggler/HTMLDocument.html +0 -800
- data/doc/TaskJuggler/HTMLElements.html +0 -623
- data/doc/TaskJuggler/HTMLGraphics.html +0 -861
- data/doc/TaskJuggler/ICalReport.html +0 -864
- data/doc/TaskJuggler/ICalendar.html +0 -1035
- data/doc/TaskJuggler/ICalendar/Component.html +0 -969
- data/doc/TaskJuggler/ICalendar/Event.html +0 -742
- data/doc/TaskJuggler/ICalendar/Journal.html +0 -722
- data/doc/TaskJuggler/ICalendar/Person.html +0 -633
- data/doc/TaskJuggler/ICalendar/Todo.html +0 -789
- data/doc/TaskJuggler/Interval.html +0 -1003
- data/doc/TaskJuggler/IntervalList.html +0 -821
- data/doc/TaskJuggler/JobInfo.html +0 -967
- data/doc/TaskJuggler/Journal.html +0 -1272
- data/doc/TaskJuggler/JournalEntry.html +0 -884
- data/doc/TaskJuggler/JournalEntryList.html +0 -1253
- data/doc/TaskJuggler/KeywordArray.html +0 -720
- data/doc/TaskJuggler/KeywordDocumentation.html +0 -2274
- data/doc/TaskJuggler/Limits.html +0 -1019
- data/doc/TaskJuggler/Limits/Limit.html +0 -1022
- data/doc/TaskJuggler/LimitsAttribute.html +0 -759
- data/doc/TaskJuggler/ListAttributeBase.html +0 -727
- data/doc/TaskJuggler/Log.html +0 -1187
- data/doc/TaskJuggler/LogFile.html +0 -1004
- data/doc/TaskJuggler/LogicalAttribute.html +0 -784
- data/doc/TaskJuggler/LogicalExpression.html +0 -825
- data/doc/TaskJuggler/LogicalExpressionAttribute.html +0 -715
- data/doc/TaskJuggler/LogicalExpressionListAttribute.html +0 -715
- data/doc/TaskJuggler/LogicalFlag.html +0 -777
- data/doc/TaskJuggler/LogicalFunction.html +0 -1433
- data/doc/TaskJuggler/LogicalOperation.html +0 -1168
- data/doc/TaskJuggler/ManagerResponsibilities.html +0 -760
- data/doc/TaskJuggler/ManagerStatusRecord.html +0 -764
- data/doc/TaskJuggler/Message.html +0 -861
- data/doc/TaskJuggler/MessageHandler.html +0 -1102
- data/doc/TaskJuggler/Navigator.html +0 -967
- data/doc/TaskJuggler/NavigatorElement.html +0 -1018
- data/doc/TaskJuggler/NikuProject.html +0 -748
- data/doc/TaskJuggler/NikuReport.html +0 -1494
- data/doc/TaskJuggler/NikuResource.html +0 -718
- data/doc/TaskJuggler/NodeListAttribute.html +0 -679
- data/doc/TaskJuggler/PlaceHolderCell.html +0 -772
- data/doc/TaskJuggler/ProcessIntercom.html +0 -1041
- data/doc/TaskJuggler/ProcessIntercomIface.html +0 -797
- data/doc/TaskJuggler/Project.html +0 -3741
- data/doc/TaskJuggler/ProjectBroker.html +0 -1700
- data/doc/TaskJuggler/ProjectBrokerIface.html +0 -875
- data/doc/TaskJuggler/ProjectFileParser.html +0 -2127
- data/doc/TaskJuggler/ProjectFileScanner.html +0 -1921
- data/doc/TaskJuggler/ProjectRecord.html +0 -1002
- data/doc/TaskJuggler/ProjectServer.html +0 -1273
- data/doc/TaskJuggler/ProjectServerIface.html +0 -892
- data/doc/TaskJuggler/PropertyAttribute.html +0 -715
- data/doc/TaskJuggler/PropertyList.html +0 -1423
- data/doc/TaskJuggler/PropertySet.html +0 -1816
- data/doc/TaskJuggler/PropertyTreeNode.html +0 -2895
- data/doc/TaskJuggler/Query.html +0 -1783
- data/doc/TaskJuggler/RTFHandlers.html +0 -688
- data/doc/TaskJuggler/RTFNavigator.html +0 -816
- data/doc/TaskJuggler/RTFQuery.html +0 -1107
- data/doc/TaskJuggler/RTFReport.html +0 -844
- data/doc/TaskJuggler/RTFReportLink.html +0 -836
- data/doc/TaskJuggler/RTFWithQuerySupport.html +0 -726
- data/doc/TaskJuggler/RealFormat.html +0 -829
- data/doc/TaskJuggler/RealFormatAttribute.html +0 -679
- data/doc/TaskJuggler/ReferenceAttribute.html +0 -904
- data/doc/TaskJuggler/Report.html +0 -1645
- data/doc/TaskJuggler/ReportBase.html +0 -1192
- data/doc/TaskJuggler/ReportContext.html +0 -861
- data/doc/TaskJuggler/ReportScenario.html +0 -633
- data/doc/TaskJuggler/ReportServer.html +0 -1092
- data/doc/TaskJuggler/ReportServerIface.html +0 -926
- data/doc/TaskJuggler/ReportServerRecord.html +0 -805
- data/doc/TaskJuggler/ReportServlet.html +0 -1053
- data/doc/TaskJuggler/ReportTable.html +0 -1203
- data/doc/TaskJuggler/ReportTableCell.html +0 -1690
- data/doc/TaskJuggler/ReportTableColumn.html +0 -914
- data/doc/TaskJuggler/ReportTableLegend.html +0 -1084
- data/doc/TaskJuggler/ReportTableLine.html +0 -1091
- data/doc/TaskJuggler/Resource.html +0 -1066
- data/doc/TaskJuggler/ResourceListAttribute.html +0 -853
- data/doc/TaskJuggler/ResourceListRE.html +0 -761
- data/doc/TaskJuggler/ResourceScenario.html +0 -2591
- data/doc/TaskJuggler/RichText.html +0 -903
- data/doc/TaskJuggler/RichTextAttribute.html +0 -835
- data/doc/TaskJuggler/RichTextDocument.html +0 -1062
- data/doc/TaskJuggler/RichTextElement.html +0 -1804
- data/doc/TaskJuggler/RichTextFunctionExample.html +0 -823
- data/doc/TaskJuggler/RichTextFunctionHandler.html +0 -774
- data/doc/TaskJuggler/RichTextImage.html +0 -736
- data/doc/TaskJuggler/RichTextIntermediate.html +0 -1309
- data/doc/TaskJuggler/RichTextParser.html +0 -892
- data/doc/TaskJuggler/RichTextScanner.html +0 -1589
- data/doc/TaskJuggler/RichTextSnip.html +0 -1024
- data/doc/TaskJuggler/RichTextSyntaxRules.html +0 -2076
- data/doc/TaskJuggler/Scenario.html +0 -680
- data/doc/TaskJuggler/ScenarioData.html +0 -905
- data/doc/TaskJuggler/ScenarioListAttribute.html +0 -757
- data/doc/TaskJuggler/Scoreboard.html +0 -1265
- data/doc/TaskJuggler/ScoreboardInterval.html +0 -1116
- data/doc/TaskJuggler/SheetHandlerBase.html +0 -1321
- data/doc/TaskJuggler/SheetReceiver.html +0 -1422
- data/doc/TaskJuggler/SheetSender.html +0 -1192
- data/doc/TaskJuggler/Shift.html +0 -775
- data/doc/TaskJuggler/ShiftAssignment.html +0 -1032
- data/doc/TaskJuggler/ShiftAssignments.html +0 -1438
- data/doc/TaskJuggler/ShiftAssignmentsAttribute.html +0 -759
- data/doc/TaskJuggler/ShiftScenario.html +0 -806
- data/doc/TaskJuggler/SimpleQueryExpander.html +0 -756
- data/doc/TaskJuggler/SortListAttribute.html +0 -715
- data/doc/TaskJuggler/StatusSheetReceiver.html +0 -702
- data/doc/TaskJuggler/StatusSheetReport.html +0 -959
- data/doc/TaskJuggler/StatusSheetSender.html +0 -832
- data/doc/TaskJuggler/StdIoWrapper.html +0 -720
- data/doc/TaskJuggler/StringAttribute.html +0 -757
- data/doc/TaskJuggler/SymbolAttribute.html +0 -715
- data/doc/TaskJuggler/SyntaxReference.html +0 -1264
- data/doc/TaskJuggler/TOCEntry.html +0 -860
- data/doc/TaskJuggler/TSResourceRecord.html +0 -756
- data/doc/TaskJuggler/TSTaskRecord.html +0 -768
- data/doc/TaskJuggler/TableColumnDefinition.html +0 -973
- data/doc/TaskJuggler/TableOfContents.html +0 -814
- data/doc/TaskJuggler/TableReport.html +0 -2580
- data/doc/TaskJuggler/TagFile.html +0 -817
- data/doc/TaskJuggler/TagFile/TagFileEntry.html +0 -841
- data/doc/TaskJuggler/Task.html +0 -914
- data/doc/TaskJuggler/TaskDepListAttribute.html +0 -797
- data/doc/TaskJuggler/TaskDependency.html +0 -856
- data/doc/TaskJuggler/TaskListAttribute.html +0 -797
- data/doc/TaskJuggler/TaskListRE.html +0 -760
- data/doc/TaskJuggler/TaskScenario.html +0 -5237
- data/doc/TaskJuggler/TernarySearchTree.html +0 -1365
- data/doc/TaskJuggler/TextFormatter.html +0 -997
- data/doc/TaskJuggler/TextParser.html +0 -1886
- data/doc/TaskJuggler/TextParser/Macro.html +0 -732
- data/doc/TaskJuggler/TextParser/MacroTable.html +0 -856
- data/doc/TaskJuggler/TextParser/Pattern.html +0 -1767
- data/doc/TaskJuggler/TextParser/Rule.html +0 -1443
- data/doc/TaskJuggler/TextParser/Scanner.html +0 -1542
- data/doc/TaskJuggler/TextParser/Scanner/BufferStreamHandle.html +0 -685
- data/doc/TaskJuggler/TextParser/Scanner/FileStreamHandle.html +0 -751
- data/doc/TaskJuggler/TextParser/Scanner/MacroStackEntry.html +0 -748
- data/doc/TaskJuggler/TextParser/Scanner/StreamHandle.html +0 -1128
- data/doc/TaskJuggler/TextParser/SourceFileInfo.html +0 -784
- data/doc/TaskJuggler/TextParser/StackElement.html +0 -964
- data/doc/TaskJuggler/TextParser/State.html +0 -1039
- data/doc/TaskJuggler/TextParser/StateTransition.html +0 -832
- data/doc/TaskJuggler/TextParser/TextParserResultArray.html +0 -735
- data/doc/TaskJuggler/TextParser/TokenDoc.html +0 -766
- data/doc/TaskJuggler/TextReport.html +0 -945
- data/doc/TaskJuggler/TimeInterval.html +0 -841
- data/doc/TaskJuggler/TimeIntervalListAttribute.html +0 -797
- data/doc/TaskJuggler/TimeSheet.html +0 -1288
- data/doc/TaskJuggler/TimeSheetReceiver.html +0 -699
- data/doc/TaskJuggler/TimeSheetRecord.html +0 -1439
- data/doc/TaskJuggler/TimeSheetReport.html +0 -1037
- data/doc/TaskJuggler/TimeSheetSender.html +0 -724
- data/doc/TaskJuggler/TimeSheetSummary.html +0 -983
- data/doc/TaskJuggler/TimeSheets.html +0 -760
- data/doc/TaskJuggler/Tj3.html +0 -896
- data/doc/TaskJuggler/Tj3AppBase.html +0 -966
- data/doc/TaskJuggler/Tj3Client.html +0 -1534
- data/doc/TaskJuggler/Tj3Daemon.html +0 -894
- data/doc/TaskJuggler/Tj3Man.html +0 -792
- data/doc/TaskJuggler/Tj3SheetAppBase.html +0 -782
- data/doc/TaskJuggler/Tj3SsReceiver.html +0 -771
- data/doc/TaskJuggler/Tj3SsSender.html +0 -804
- data/doc/TaskJuggler/Tj3TsReceiver.html +0 -771
- data/doc/TaskJuggler/Tj3TsSender.html +0 -791
- data/doc/TaskJuggler/Tj3TsSummary.html +0 -799
- data/doc/TaskJuggler/TjException.html +0 -716
- data/doc/TaskJuggler/TjRuntimeError.html +0 -630
- data/doc/TaskJuggler/TjTime.html +0 -3179
- data/doc/TaskJuggler/TjpExample.html +0 -921
- data/doc/TaskJuggler/TjpExportRE.html +0 -1851
- data/doc/TaskJuggler/TjpSyntaxRules.html +0 -14721
- data/doc/TaskJuggler/URLParameter.html +0 -715
- data/doc/TaskJuggler/UserManual.html +0 -1248
- data/doc/TaskJuggler/VimSyntax.html +0 -1088
- data/doc/TaskJuggler/WebServer.html +0 -781
- data/doc/TaskJuggler/WelcomePage.html +0 -813
- data/doc/TaskJuggler/WorkingHours.html +0 -1293
- data/doc/TaskJuggler/WorkingHoursAttribute.html +0 -780
- data/doc/TaskJuggler/XMLBlob.html +0 -731
- data/doc/TaskJuggler/XMLComment.html +0 -726
- data/doc/TaskJuggler/XMLDocument.html +0 -827
- data/doc/TaskJuggler/XMLElement.html +0 -1014
- data/doc/TaskJuggler/XMLNamedText.html +0 -687
- data/doc/TaskJuggler/XMLText.html +0 -741
- data/doc/index.html +0 -4664
- data/doc/lib/taskjuggler/AccountScenario_rb.html +0 -69
- data/doc/lib/taskjuggler/Account_rb.html +0 -71
- data/doc/lib/taskjuggler/AlgorithmDiff_rb.html +0 -67
- data/doc/lib/taskjuggler/Allocation_rb.html +0 -71
- data/doc/lib/taskjuggler/AppConfig_rb.html +0 -69
- data/doc/lib/taskjuggler/AttributeBase_rb.html +0 -69
- data/doc/lib/taskjuggler/AttributeDefinition_rb.html +0 -67
- data/doc/lib/taskjuggler/Attributes_rb.html +0 -83
- data/doc/lib/taskjuggler/BatchProcessor_rb.html +0 -71
- data/doc/lib/taskjuggler/Booking_rb.html +0 -67
- data/doc/lib/taskjuggler/ChargeSet_rb.html +0 -69
- data/doc/lib/taskjuggler/Charge_rb.html +0 -69
- data/doc/lib/taskjuggler/DataCache_rb.html +0 -71
- data/doc/lib/taskjuggler/FileList_rb.html +0 -67
- data/doc/lib/taskjuggler/HTMLDocument_rb.html +0 -71
- data/doc/lib/taskjuggler/HTMLElements_rb.html +0 -69
- data/doc/lib/taskjuggler/ICalendar_rb.html +0 -69
- data/doc/lib/taskjuggler/IntervalList_rb.html +0 -69
- data/doc/lib/taskjuggler/Interval_rb.html +0 -69
- data/doc/lib/taskjuggler/Journal_rb.html +0 -67
- data/doc/lib/taskjuggler/KeywordArray_rb.html +0 -67
- data/doc/lib/taskjuggler/KeywordDocumentation_rb.html +0 -77
- data/doc/lib/taskjuggler/Limits_rb.html +0 -69
- data/doc/lib/taskjuggler/LogFile_rb.html +0 -69
- data/doc/lib/taskjuggler/Log_rb.html +0 -71
- data/doc/lib/taskjuggler/LogicalExpression_rb.html +0 -73
- data/doc/lib/taskjuggler/LogicalFunction_rb.html +0 -69
- data/doc/lib/taskjuggler/LogicalOperation_rb.html +0 -69
- data/doc/lib/taskjuggler/MessageHandler_rb.html +0 -69
- data/doc/lib/taskjuggler/ProjectFileParser_rb.html +0 -77
- data/doc/lib/taskjuggler/ProjectFileScanner_rb.html +0 -69
- data/doc/lib/taskjuggler/Project_rb.html +0 -113
- data/doc/lib/taskjuggler/PropertyList_rb.html +0 -67
- data/doc/lib/taskjuggler/PropertySet_rb.html +0 -71
- data/doc/lib/taskjuggler/PropertyTreeNode_rb.html +0 -67
- data/doc/lib/taskjuggler/Query_rb.html +0 -69
- data/doc/lib/taskjuggler/RealFormat_rb.html +0 -67
- data/doc/lib/taskjuggler/ResourceScenario_rb.html +0 -69
- data/doc/lib/taskjuggler/Resource_rb.html +0 -71
- data/doc/lib/taskjuggler/RichText/Document_rb.html +0 -73
- data/doc/lib/taskjuggler/RichText/Element_rb.html +0 -75
- data/doc/lib/taskjuggler/RichText/FunctionExample_rb.html +0 -73
- data/doc/lib/taskjuggler/RichText/FunctionHandler_rb.html +0 -67
- data/doc/lib/taskjuggler/RichText/Parser_rb.html +0 -75
- data/doc/lib/taskjuggler/RichText/RTFHandlers_rb.html +0 -75
- data/doc/lib/taskjuggler/RichText/RTFNavigator_rb.html +0 -73
- data/doc/lib/taskjuggler/RichText/RTFQuery_rb.html +0 -73
- data/doc/lib/taskjuggler/RichText/RTFReportLink_rb.html +0 -75
- data/doc/lib/taskjuggler/RichText/RTFReport_rb.html +0 -71
- data/doc/lib/taskjuggler/RichText/RTFWithQuerySupport_rb.html +0 -69
- data/doc/lib/taskjuggler/RichText/Scanner_rb.html +0 -71
- data/doc/lib/taskjuggler/RichText/Snip_rb.html +0 -71
- data/doc/lib/taskjuggler/RichText/SyntaxRules_rb.html +0 -67
- data/doc/lib/taskjuggler/RichText/TOCEntry_rb.html +0 -71
- data/doc/lib/taskjuggler/RichText/TableOfContents_rb.html +0 -71
- data/doc/lib/taskjuggler/RichText_rb.html +0 -73
- data/doc/lib/taskjuggler/RuntimeConfig_rb.html +0 -69
- data/doc/lib/taskjuggler/ScenarioData_rb.html +0 -71
- data/doc/lib/taskjuggler/Scenario_rb.html +0 -69
- data/doc/lib/taskjuggler/Scoreboard_rb.html +0 -69
- data/doc/lib/taskjuggler/SheetHandlerBase_rb.html +0 -75
- data/doc/lib/taskjuggler/SheetReceiver_rb.html +0 -81
- data/doc/lib/taskjuggler/SheetSender_rb.html +0 -79
- data/doc/lib/taskjuggler/ShiftAssignments_rb.html +0 -71
- data/doc/lib/taskjuggler/ShiftScenario_rb.html +0 -69
- data/doc/lib/taskjuggler/Shift_rb.html +0 -71
- data/doc/lib/taskjuggler/SimpleQueryExpander_rb.html +0 -69
- data/doc/lib/taskjuggler/StatusSheetReceiver_rb.html +0 -69
- data/doc/lib/taskjuggler/StatusSheetSender_rb.html +0 -69
- data/doc/lib/taskjuggler/StdIoWrapper_rb.html +0 -67
- data/doc/lib/taskjuggler/SyntaxReference_rb.html +0 -75
- data/doc/lib/taskjuggler/TableColumnDefinition_rb.html +0 -67
- data/doc/lib/taskjuggler/TaskDependency_rb.html +0 -67
- data/doc/lib/taskjuggler/TaskJuggler_rb.html +0 -75
- data/doc/lib/taskjuggler/TaskScenario_rb.html +0 -71
- data/doc/lib/taskjuggler/Task_rb.html +0 -71
- data/doc/lib/taskjuggler/TernarySearchTree_rb.html +0 -69
- data/doc/lib/taskjuggler/TextFormatter_rb.html +0 -69
- data/doc/lib/taskjuggler/TextParser/MacroTable_rb.html +0 -67
- data/doc/lib/taskjuggler/TextParser/Pattern_rb.html +0 -71
- data/doc/lib/taskjuggler/TextParser/Rule_rb.html +0 -69
- data/doc/lib/taskjuggler/TextParser/Scanner_rb.html +0 -77
- data/doc/lib/taskjuggler/TextParser/SourceFileInfo_rb.html +0 -67
- data/doc/lib/taskjuggler/TextParser/StackElement_rb.html +0 -67
- data/doc/lib/taskjuggler/TextParser/State_rb.html +0 -67
- data/doc/lib/taskjuggler/TextParser/TokenDoc_rb.html +0 -67
- data/doc/lib/taskjuggler/TextParser_rb.html +0 -79
- data/doc/lib/taskjuggler/TimeSheetReceiver_rb.html +0 -69
- data/doc/lib/taskjuggler/TimeSheetSender_rb.html +0 -69
- data/doc/lib/taskjuggler/TimeSheetSummary_rb.html +0 -69
- data/doc/lib/taskjuggler/TimeSheets_rb.html +0 -67
- data/doc/lib/taskjuggler/Tj3AppBase_rb.html +0 -79
- data/doc/lib/taskjuggler/Tj3Config_rb.html +0 -71
- data/doc/lib/taskjuggler/Tj3SheetAppBase_rb.html +0 -69
- data/doc/lib/taskjuggler/TjException_rb.html +0 -67
- data/doc/lib/taskjuggler/TjTime_rb.html +0 -71
- data/doc/lib/taskjuggler/TjpExample_rb.html +0 -69
- data/doc/lib/taskjuggler/TjpSyntaxRules_rb.html +0 -67
- data/doc/lib/taskjuggler/URLParameter_rb.html +0 -69
- data/doc/lib/taskjuggler/UTF8String_rb.html +0 -69
- data/doc/lib/taskjuggler/UserManual_rb.html +0 -81
- data/doc/lib/taskjuggler/VimSyntax_rb.html +0 -69
- data/doc/lib/taskjuggler/WorkingHours_rb.html +0 -71
- data/doc/lib/taskjuggler/XMLDocument_rb.html +0 -69
- data/doc/lib/taskjuggler/XMLElement_rb.html +0 -69
- data/doc/lib/taskjuggler/apps/Tj3Client_rb.html +0 -75
- data/doc/lib/taskjuggler/apps/Tj3Daemon_rb.html +0 -75
- data/doc/lib/taskjuggler/apps/Tj3Man_rb.html +0 -75
- data/doc/lib/taskjuggler/apps/Tj3SsReceiver_rb.html +0 -71
- data/doc/lib/taskjuggler/apps/Tj3SsSender_rb.html +0 -71
- data/doc/lib/taskjuggler/apps/Tj3TsReceiver_rb.html +0 -71
- data/doc/lib/taskjuggler/apps/Tj3TsSender_rb.html +0 -71
- data/doc/lib/taskjuggler/apps/Tj3TsSummary_rb.html +0 -71
- data/doc/lib/taskjuggler/apps/Tj3_rb.html +0 -71
- data/doc/lib/taskjuggler/daemon/Daemon_rb.html +0 -69
- data/doc/lib/taskjuggler/daemon/ProcessIntercom_rb.html +0 -71
- data/doc/lib/taskjuggler/daemon/ProjectBroker_rb.html +0 -83
- data/doc/lib/taskjuggler/daemon/ProjectServer_rb.html +0 -85
- data/doc/lib/taskjuggler/daemon/ReportServer_rb.html +0 -73
- data/doc/lib/taskjuggler/daemon/ReportServlet_rb.html +0 -69
- data/doc/lib/taskjuggler/daemon/WebServer_rb.html +0 -81
- data/doc/lib/taskjuggler/daemon/WelcomePage_rb.html +0 -71
- data/doc/lib/taskjuggler/deep_copy_rb.html +0 -67
- data/doc/lib/taskjuggler/reports/CSVFile_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/CollisionDetector_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/ColumnTable_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/GanttChart_rb.html +0 -75
- data/doc/lib/taskjuggler/reports/GanttContainer_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/GanttHeaderScaleItem_rb.html +0 -67
- data/doc/lib/taskjuggler/reports/GanttHeader_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/GanttLine_rb.html +0 -79
- data/doc/lib/taskjuggler/reports/GanttLoadStack_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/GanttMilestone_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/GanttRouter_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/GanttTaskBar_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/HTMLGraphics_rb.html +0 -67
- data/doc/lib/taskjuggler/reports/ICalReport_rb.html +0 -71
- data/doc/lib/taskjuggler/reports/Navigator_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/NikuReport_rb.html +0 -71
- data/doc/lib/taskjuggler/reports/ReportBase_rb.html +0 -67
- data/doc/lib/taskjuggler/reports/ReportContext_rb.html +0 -67
- data/doc/lib/taskjuggler/reports/ReportTableCell_rb.html +0 -67
- data/doc/lib/taskjuggler/reports/ReportTableColumn_rb.html +0 -67
- data/doc/lib/taskjuggler/reports/ReportTableLegend_rb.html +0 -67
- data/doc/lib/taskjuggler/reports/ReportTableLine_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/ReportTable_rb.html +0 -71
- data/doc/lib/taskjuggler/reports/Report_rb.html +0 -97
- data/doc/lib/taskjuggler/reports/ResourceListRE_rb.html +0 -75
- data/doc/lib/taskjuggler/reports/StatusSheetReport_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/TableReport_rb.html +0 -77
- data/doc/lib/taskjuggler/reports/TagFile_rb.html +0 -71
- data/doc/lib/taskjuggler/reports/TaskListRE_rb.html +0 -75
- data/doc/lib/taskjuggler/reports/TextReport_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/TimeSheetReport_rb.html +0 -69
- data/doc/lib/taskjuggler/reports/TjpExportRE_rb.html +0 -69
- data/doc/lib/tj3_rb.html +0 -69
- data/doc/lib/tj3client_rb.html +0 -69
- data/doc/lib/tj3d_rb.html +0 -69
- data/doc/lib/tj3man_rb.html +0 -69
- data/doc/lib/tj3ss_receiver_rb.html +0 -69
- data/doc/lib/tj3ss_sender_rb.html +0 -69
- data/doc/lib/tj3ts_receiver_rb.html +0 -69
- data/doc/lib/tj3ts_sender_rb.html +0 -69
- data/doc/lib/tj3ts_summary_rb.html +0 -69
- data/doc/rdoc.css +0 -706
- data/test/TestSuite/Export-Reports/refs/CompletedWork.tji.tjp +0 -40
- data/test/TestSuite/HTML-Reports/CellText.html +0 -758
- data/test/TestSuite/HTML-Reports/ColumnPeriods.html +0 -156
- data/test/TestSuite/HTML-Reports/IsOngoing.html +0 -172
- data/test/TestSuite/HTML-Reports/LogicalFunctions.html +0 -245
- data/test/TestSuite/HTML-Reports/Query.html +0 -31
- data/test/TestSuite/HTML-Reports/depArrows.html +0 -851
- data/test/TestSuite/HTML-Reports/profile.html +0 -37581
- data/test/TestSuite/Scheduler/Errors/R.html +0 -113
- data/test/TestSuite/StatusSheets/dev2.tji +0 -22
- data/test/TestSuite/Syntax/Correct/CompletedWork.tji.tjp +0 -38
- data/test/TestSuite/TimeSheets/resrep.tji +0 -7
- data/test/TestSuite/TimeSheets/ts.tji +0 -351
- data/test/TestSuite/TimeSheets/tsdef.tji +0 -2
|
@@ -1,2895 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
5
|
-
<head>
|
|
6
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
|
7
|
-
|
|
8
|
-
<title>Class: TaskJuggler::PropertyTreeNode</title>
|
|
9
|
-
|
|
10
|
-
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
|
|
11
|
-
|
|
12
|
-
<script src="../js/jquery.js" type="text/javascript"
|
|
13
|
-
charset="utf-8"></script>
|
|
14
|
-
<script src="../js/thickbox-compressed.js" type="text/javascript"
|
|
15
|
-
charset="utf-8"></script>
|
|
16
|
-
<script src="../js/quicksearch.js" type="text/javascript"
|
|
17
|
-
charset="utf-8"></script>
|
|
18
|
-
<script src="../js/darkfish.js" type="text/javascript"
|
|
19
|
-
charset="utf-8"></script>
|
|
20
|
-
|
|
21
|
-
</head>
|
|
22
|
-
<body class="class">
|
|
23
|
-
|
|
24
|
-
<div id="metadata">
|
|
25
|
-
<div id="home-metadata">
|
|
26
|
-
<div id="home-section" class="section">
|
|
27
|
-
<h3 class="section-header">
|
|
28
|
-
<a href="../index.html">Home</a>
|
|
29
|
-
<a href="../index.html#classes">Classes</a>
|
|
30
|
-
<a href="../index.html#methods">Methods</a>
|
|
31
|
-
</h3>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<div id="file-metadata">
|
|
36
|
-
<div id="file-list-section" class="section">
|
|
37
|
-
<h3 class="section-header">In Files</h3>
|
|
38
|
-
<div class="section-body">
|
|
39
|
-
<ul>
|
|
40
|
-
|
|
41
|
-
<li><a href="../lib/taskjuggler/PropertyTreeNode_rb.html?TB_iframe=true&height=550&width=785"
|
|
42
|
-
class="thickbox" title="lib/taskjuggler/PropertyTreeNode.rb">lib/taskjuggler/PropertyTreeNode.rb</a></li>
|
|
43
|
-
|
|
44
|
-
</ul>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</div>
|
|
50
|
-
|
|
51
|
-
<div id="class-metadata">
|
|
52
|
-
|
|
53
|
-
<!-- Parent Class -->
|
|
54
|
-
|
|
55
|
-
<div id="parent-class-section" class="section">
|
|
56
|
-
<h3 class="section-header">Parent</h3>
|
|
57
|
-
|
|
58
|
-
<p class="link"><a href="../Object.html">Object</a></p>
|
|
59
|
-
|
|
60
|
-
</div>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
<!-- Namespace Contents -->
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<!-- Method Quickref -->
|
|
67
|
-
|
|
68
|
-
<div id="method-list-section" class="section">
|
|
69
|
-
<h3 class="section-header">Methods</h3>
|
|
70
|
-
<ul class="link-list">
|
|
71
|
-
|
|
72
|
-
<li><a href="#method-c-new">::new</a></li>
|
|
73
|
-
|
|
74
|
-
<li><a href="#method-i-%5B%5D">#[]</a></li>
|
|
75
|
-
|
|
76
|
-
<li><a href="#method-i-%5B%5D%3D">#[]=</a></li>
|
|
77
|
-
|
|
78
|
-
<li><a href="#method-i-addChild">#addChild</a></li>
|
|
79
|
-
|
|
80
|
-
<li><a href="#method-i-adopt">#adopt</a></li>
|
|
81
|
-
|
|
82
|
-
<li><a href="#method-i-all">#all</a></li>
|
|
83
|
-
|
|
84
|
-
<li><a href="#method-i-allLeaves">#allLeaves</a></li>
|
|
85
|
-
|
|
86
|
-
<li><a href="#method-i-ancestors">#ancestors</a></li>
|
|
87
|
-
|
|
88
|
-
<li><a href="#method-i-attributeDefinition">#attributeDefinition</a></li>
|
|
89
|
-
|
|
90
|
-
<li><a href="#method-i-backupAttributes">#backupAttributes</a></li>
|
|
91
|
-
|
|
92
|
-
<li><a href="#method-i-checkFailsAndWarnings">#checkFailsAndWarnings</a></li>
|
|
93
|
-
|
|
94
|
-
<li><a href="#method-i-container%3F">#container?</a></li>
|
|
95
|
-
|
|
96
|
-
<li><a href="#method-i-deep_clone">#deep_clone</a></li>
|
|
97
|
-
|
|
98
|
-
<li><a href="#method-i-error">#error</a></li>
|
|
99
|
-
|
|
100
|
-
<li><a href="#method-i-fullId">#fullId</a></li>
|
|
101
|
-
|
|
102
|
-
<li><a href="#method-i-get">#get</a></li>
|
|
103
|
-
|
|
104
|
-
<li><a href="#method-i-getAttribute">#getAttribute</a></li>
|
|
105
|
-
|
|
106
|
-
<li><a href="#method-i-getBSIndicies">#getBSIndicies</a></li>
|
|
107
|
-
|
|
108
|
-
<li><a href="#method-i-getIndicies">#getIndicies</a></li>
|
|
109
|
-
|
|
110
|
-
<li><a href="#method-i-indent">#indent</a></li>
|
|
111
|
-
|
|
112
|
-
<li><a href="#method-i-info">#info</a></li>
|
|
113
|
-
|
|
114
|
-
<li><a href="#method-i-inheritAttributes">#inheritAttributes</a></li>
|
|
115
|
-
|
|
116
|
-
<li><a href="#method-i-inherited">#inherited</a></li>
|
|
117
|
-
|
|
118
|
-
<li><a href="#method-i-isChildOf%3F">#isChildOf?</a></li>
|
|
119
|
-
|
|
120
|
-
<li><a href="#method-i-journalMessages">#journalMessages</a></li>
|
|
121
|
-
|
|
122
|
-
<li><a href="#method-i-kids">#kids</a></li>
|
|
123
|
-
|
|
124
|
-
<li><a href="#method-i-leaf%3F">#leaf?</a></li>
|
|
125
|
-
|
|
126
|
-
<li><a href="#method-i-level">#level</a></li>
|
|
127
|
-
|
|
128
|
-
<li><a href="#method-i-levelSeqNo">#levelSeqNo</a></li>
|
|
129
|
-
|
|
130
|
-
<li><a href="#method-i-method_missing">#method_missing</a></li>
|
|
131
|
-
|
|
132
|
-
<li><a href="#method-i-modified%3F">#modified?</a></li>
|
|
133
|
-
|
|
134
|
-
<li><a href="#method-i-parents">#parents</a></li>
|
|
135
|
-
|
|
136
|
-
<li><a href="#method-i-provided">#provided</a></li>
|
|
137
|
-
|
|
138
|
-
<li><a href="#method-i-query_alert">#query_alert</a></li>
|
|
139
|
-
|
|
140
|
-
<li><a href="#method-i-query_alertmessages">#query_alertmessages</a></li>
|
|
141
|
-
|
|
142
|
-
<li><a href="#method-i-query_alertsummaries">#query_alertsummaries</a></li>
|
|
143
|
-
|
|
144
|
-
<li><a href="#method-i-query_alerttrend">#query_alerttrend</a></li>
|
|
145
|
-
|
|
146
|
-
<li><a href="#method-i-query_journalmessages">#query_journalmessages</a></li>
|
|
147
|
-
|
|
148
|
-
<li><a href="#method-i-query_journalsummaries">#query_journalsummaries</a></li>
|
|
149
|
-
|
|
150
|
-
<li><a href="#method-i-restoreAttributes">#restoreAttributes</a></li>
|
|
151
|
-
|
|
152
|
-
<li><a href="#method-i-root">#root</a></li>
|
|
153
|
-
|
|
154
|
-
<li><a href="#method-i-set">#set</a></li>
|
|
155
|
-
|
|
156
|
-
<li><a href="#method-i-warning">#warning</a></li>
|
|
157
|
-
|
|
158
|
-
</ul>
|
|
159
|
-
</div>
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<!-- Included Modules -->
|
|
163
|
-
|
|
164
|
-
</div>
|
|
165
|
-
|
|
166
|
-
<div id="project-metadata">
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
<div id="fileindex-section" class="section project-section">
|
|
170
|
-
<h3 class="section-header">Files</h3>
|
|
171
|
-
<ul>
|
|
172
|
-
|
|
173
|
-
<li class="file"><a href="../CHANGELOG.html">CHANGELOG</a></li>
|
|
174
|
-
|
|
175
|
-
<li class="file"><a href="../COPYING.html">COPYING</a></li>
|
|
176
|
-
|
|
177
|
-
<li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
|
|
178
|
-
|
|
179
|
-
</ul>
|
|
180
|
-
</div>
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
<div id="classindex-section" class="section project-section">
|
|
184
|
-
<h3 class="section-header">Class Index
|
|
185
|
-
<span class="search-toggle"><img src="../images/find.png"
|
|
186
|
-
height="16" width="16" alt="[+]"
|
|
187
|
-
title="show/hide quicksearch" /></span></h3>
|
|
188
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
|
189
|
-
<fieldset>
|
|
190
|
-
<legend>Quicksearch</legend>
|
|
191
|
-
<input type="text" name="quicksearch" value=""
|
|
192
|
-
class="quicksearch-field" />
|
|
193
|
-
</fieldset>
|
|
194
|
-
</form>
|
|
195
|
-
|
|
196
|
-
<ul class="link-list">
|
|
197
|
-
|
|
198
|
-
<li><a href="../TaskJuggler.html">TaskJuggler</a></li>
|
|
199
|
-
|
|
200
|
-
<li><a href="../TaskJuggler/Account.html">TaskJuggler::Account</a></li>
|
|
201
|
-
|
|
202
|
-
<li><a href="../TaskJuggler/AccountAttribute.html">TaskJuggler::AccountAttribute</a></li>
|
|
203
|
-
|
|
204
|
-
<li><a href="../TaskJuggler/AccountScenario.html">TaskJuggler::AccountScenario</a></li>
|
|
205
|
-
|
|
206
|
-
<li><a href="../TaskJuggler/Allocation.html">TaskJuggler::Allocation</a></li>
|
|
207
|
-
|
|
208
|
-
<li><a href="../TaskJuggler/AllocationAttribute.html">TaskJuggler::AllocationAttribute</a></li>
|
|
209
|
-
|
|
210
|
-
<li><a href="../TaskJuggler/AttributeBase.html">TaskJuggler::AttributeBase</a></li>
|
|
211
|
-
|
|
212
|
-
<li><a href="../TaskJuggler/AttributeDefinition.html">TaskJuggler::AttributeDefinition</a></li>
|
|
213
|
-
|
|
214
|
-
<li><a href="../TaskJuggler/AttributeOverwrite.html">TaskJuggler::AttributeOverwrite</a></li>
|
|
215
|
-
|
|
216
|
-
<li><a href="../TaskJuggler/BatchProcessor.html">TaskJuggler::BatchProcessor</a></li>
|
|
217
|
-
|
|
218
|
-
<li><a href="../TaskJuggler/Booking.html">TaskJuggler::Booking</a></li>
|
|
219
|
-
|
|
220
|
-
<li><a href="../TaskJuggler/BookingListAttribute.html">TaskJuggler::BookingListAttribute</a></li>
|
|
221
|
-
|
|
222
|
-
<li><a href="../TaskJuggler/BooleanAttribute.html">TaskJuggler::BooleanAttribute</a></li>
|
|
223
|
-
|
|
224
|
-
<li><a href="../TaskJuggler/CSVFile.html">TaskJuggler::CSVFile</a></li>
|
|
225
|
-
|
|
226
|
-
<li><a href="../TaskJuggler/CellSettingPattern.html">TaskJuggler::CellSettingPattern</a></li>
|
|
227
|
-
|
|
228
|
-
<li><a href="../TaskJuggler/CellSettingPatternList.html">TaskJuggler::CellSettingPatternList</a></li>
|
|
229
|
-
|
|
230
|
-
<li><a href="../TaskJuggler/Charge.html">TaskJuggler::Charge</a></li>
|
|
231
|
-
|
|
232
|
-
<li><a href="../TaskJuggler/ChargeListAttribute.html">TaskJuggler::ChargeListAttribute</a></li>
|
|
233
|
-
|
|
234
|
-
<li><a href="../TaskJuggler/ChargeSet.html">TaskJuggler::ChargeSet</a></li>
|
|
235
|
-
|
|
236
|
-
<li><a href="../TaskJuggler/ChargeSetListAttribute.html">TaskJuggler::ChargeSetListAttribute</a></li>
|
|
237
|
-
|
|
238
|
-
<li><a href="../TaskJuggler/CollisionDetector.html">TaskJuggler::CollisionDetector</a></li>
|
|
239
|
-
|
|
240
|
-
<li><a href="../TaskJuggler/ColumnListAttribute.html">TaskJuggler::ColumnListAttribute</a></li>
|
|
241
|
-
|
|
242
|
-
<li><a href="../TaskJuggler/ColumnTable.html">TaskJuggler::ColumnTable</a></li>
|
|
243
|
-
|
|
244
|
-
<li><a href="../TaskJuggler/Daemon.html">TaskJuggler::Daemon</a></li>
|
|
245
|
-
|
|
246
|
-
<li><a href="../TaskJuggler/DataCache.html">TaskJuggler::DataCache</a></li>
|
|
247
|
-
|
|
248
|
-
<li><a href="../TaskJuggler/DataCacheEntry.html">TaskJuggler::DataCacheEntry</a></li>
|
|
249
|
-
|
|
250
|
-
<li><a href="../TaskJuggler/DateAttribute.html">TaskJuggler::DateAttribute</a></li>
|
|
251
|
-
|
|
252
|
-
<li><a href="../TaskJuggler/DefinitionListAttribute.html">TaskJuggler::DefinitionListAttribute</a></li>
|
|
253
|
-
|
|
254
|
-
<li><a href="../TaskJuggler/DependencyListAttribute.html">TaskJuggler::DependencyListAttribute</a></li>
|
|
255
|
-
|
|
256
|
-
<li><a href="../TaskJuggler/DurationAttribute.html">TaskJuggler::DurationAttribute</a></li>
|
|
257
|
-
|
|
258
|
-
<li><a href="../TaskJuggler/FileList.html">TaskJuggler::FileList</a></li>
|
|
259
|
-
|
|
260
|
-
<li><a href="../TaskJuggler/FileRecord.html">TaskJuggler::FileRecord</a></li>
|
|
261
|
-
|
|
262
|
-
<li><a href="../TaskJuggler/FixnumAttribute.html">TaskJuggler::FixnumAttribute</a></li>
|
|
263
|
-
|
|
264
|
-
<li><a href="../TaskJuggler/FlagListAttribute.html">TaskJuggler::FlagListAttribute</a></li>
|
|
265
|
-
|
|
266
|
-
<li><a href="../TaskJuggler/FloatAttribute.html">TaskJuggler::FloatAttribute</a></li>
|
|
267
|
-
|
|
268
|
-
<li><a href="../TaskJuggler/FormatListAttribute.html">TaskJuggler::FormatListAttribute</a></li>
|
|
269
|
-
|
|
270
|
-
<li><a href="../TaskJuggler/GanttChart.html">TaskJuggler::GanttChart</a></li>
|
|
271
|
-
|
|
272
|
-
<li><a href="../TaskJuggler/GanttContainer.html">TaskJuggler::GanttContainer</a></li>
|
|
273
|
-
|
|
274
|
-
<li><a href="../TaskJuggler/GanttHeader.html">TaskJuggler::GanttHeader</a></li>
|
|
275
|
-
|
|
276
|
-
<li><a href="../TaskJuggler/GanttHeaderScaleItem.html">TaskJuggler::GanttHeaderScaleItem</a></li>
|
|
277
|
-
|
|
278
|
-
<li><a href="../TaskJuggler/GanttLine.html">TaskJuggler::GanttLine</a></li>
|
|
279
|
-
|
|
280
|
-
<li><a href="../TaskJuggler/GanttLoadStack.html">TaskJuggler::GanttLoadStack</a></li>
|
|
281
|
-
|
|
282
|
-
<li><a href="../TaskJuggler/GanttMilestone.html">TaskJuggler::GanttMilestone</a></li>
|
|
283
|
-
|
|
284
|
-
<li><a href="../TaskJuggler/GanttRouter.html">TaskJuggler::GanttRouter</a></li>
|
|
285
|
-
|
|
286
|
-
<li><a href="../TaskJuggler/GanttTaskBar.html">TaskJuggler::GanttTaskBar</a></li>
|
|
287
|
-
|
|
288
|
-
<li><a href="../TaskJuggler/HTMLDocument.html">TaskJuggler::HTMLDocument</a></li>
|
|
289
|
-
|
|
290
|
-
<li><a href="../TaskJuggler/HTMLElements.html">TaskJuggler::HTMLElements</a></li>
|
|
291
|
-
|
|
292
|
-
<li><a href="../TaskJuggler/HTMLGraphics.html">TaskJuggler::HTMLGraphics</a></li>
|
|
293
|
-
|
|
294
|
-
<li><a href="../TaskJuggler/ICalReport.html">TaskJuggler::ICalReport</a></li>
|
|
295
|
-
|
|
296
|
-
<li><a href="../TaskJuggler/ICalendar.html">TaskJuggler::ICalendar</a></li>
|
|
297
|
-
|
|
298
|
-
<li><a href="../TaskJuggler/ICalendar/Component.html">TaskJuggler::ICalendar::Component</a></li>
|
|
299
|
-
|
|
300
|
-
<li><a href="../TaskJuggler/ICalendar/Event.html">TaskJuggler::ICalendar::Event</a></li>
|
|
301
|
-
|
|
302
|
-
<li><a href="../TaskJuggler/ICalendar/Journal.html">TaskJuggler::ICalendar::Journal</a></li>
|
|
303
|
-
|
|
304
|
-
<li><a href="../TaskJuggler/ICalendar/Person.html">TaskJuggler::ICalendar::Person</a></li>
|
|
305
|
-
|
|
306
|
-
<li><a href="../TaskJuggler/ICalendar/Todo.html">TaskJuggler::ICalendar::Todo</a></li>
|
|
307
|
-
|
|
308
|
-
<li><a href="../TaskJuggler/Interval.html">TaskJuggler::Interval</a></li>
|
|
309
|
-
|
|
310
|
-
<li><a href="../TaskJuggler/IntervalList.html">TaskJuggler::IntervalList</a></li>
|
|
311
|
-
|
|
312
|
-
<li><a href="../TaskJuggler/JobInfo.html">TaskJuggler::JobInfo</a></li>
|
|
313
|
-
|
|
314
|
-
<li><a href="../TaskJuggler/Journal.html">TaskJuggler::Journal</a></li>
|
|
315
|
-
|
|
316
|
-
<li><a href="../TaskJuggler/JournalEntry.html">TaskJuggler::JournalEntry</a></li>
|
|
317
|
-
|
|
318
|
-
<li><a href="../TaskJuggler/JournalEntryList.html">TaskJuggler::JournalEntryList</a></li>
|
|
319
|
-
|
|
320
|
-
<li><a href="../TaskJuggler/KeywordArray.html">TaskJuggler::KeywordArray</a></li>
|
|
321
|
-
|
|
322
|
-
<li><a href="../TaskJuggler/KeywordDocumentation.html">TaskJuggler::KeywordDocumentation</a></li>
|
|
323
|
-
|
|
324
|
-
<li><a href="../TaskJuggler/Limits.html">TaskJuggler::Limits</a></li>
|
|
325
|
-
|
|
326
|
-
<li><a href="../TaskJuggler/Limits/Limit.html">TaskJuggler::Limits::Limit</a></li>
|
|
327
|
-
|
|
328
|
-
<li><a href="../TaskJuggler/LimitsAttribute.html">TaskJuggler::LimitsAttribute</a></li>
|
|
329
|
-
|
|
330
|
-
<li><a href="../TaskJuggler/ListAttributeBase.html">TaskJuggler::ListAttributeBase</a></li>
|
|
331
|
-
|
|
332
|
-
<li><a href="../TaskJuggler/Log.html">TaskJuggler::Log</a></li>
|
|
333
|
-
|
|
334
|
-
<li><a href="../TaskJuggler/LogFile.html">TaskJuggler::LogFile</a></li>
|
|
335
|
-
|
|
336
|
-
<li><a href="../TaskJuggler/LogicalAttribute.html">TaskJuggler::LogicalAttribute</a></li>
|
|
337
|
-
|
|
338
|
-
<li><a href="../TaskJuggler/LogicalExpression.html">TaskJuggler::LogicalExpression</a></li>
|
|
339
|
-
|
|
340
|
-
<li><a href="../TaskJuggler/LogicalExpressionAttribute.html">TaskJuggler::LogicalExpressionAttribute</a></li>
|
|
341
|
-
|
|
342
|
-
<li><a href="../TaskJuggler/LogicalExpressionListAttribute.html">TaskJuggler::LogicalExpressionListAttribute</a></li>
|
|
343
|
-
|
|
344
|
-
<li><a href="../TaskJuggler/LogicalFlag.html">TaskJuggler::LogicalFlag</a></li>
|
|
345
|
-
|
|
346
|
-
<li><a href="../TaskJuggler/LogicalFunction.html">TaskJuggler::LogicalFunction</a></li>
|
|
347
|
-
|
|
348
|
-
<li><a href="../TaskJuggler/LogicalOperation.html">TaskJuggler::LogicalOperation</a></li>
|
|
349
|
-
|
|
350
|
-
<li><a href="../TaskJuggler/ManagerResponsibilities.html">TaskJuggler::ManagerResponsibilities</a></li>
|
|
351
|
-
|
|
352
|
-
<li><a href="../TaskJuggler/ManagerStatusRecord.html">TaskJuggler::ManagerStatusRecord</a></li>
|
|
353
|
-
|
|
354
|
-
<li><a href="../TaskJuggler/Message.html">TaskJuggler::Message</a></li>
|
|
355
|
-
|
|
356
|
-
<li><a href="../TaskJuggler/MessageHandler.html">TaskJuggler::MessageHandler</a></li>
|
|
357
|
-
|
|
358
|
-
<li><a href="../TaskJuggler/Navigator.html">TaskJuggler::Navigator</a></li>
|
|
359
|
-
|
|
360
|
-
<li><a href="../TaskJuggler/NavigatorElement.html">TaskJuggler::NavigatorElement</a></li>
|
|
361
|
-
|
|
362
|
-
<li><a href="../TaskJuggler/NikuProject.html">TaskJuggler::NikuProject</a></li>
|
|
363
|
-
|
|
364
|
-
<li><a href="../TaskJuggler/NikuReport.html">TaskJuggler::NikuReport</a></li>
|
|
365
|
-
|
|
366
|
-
<li><a href="../TaskJuggler/NikuResource.html">TaskJuggler::NikuResource</a></li>
|
|
367
|
-
|
|
368
|
-
<li><a href="../TaskJuggler/NodeListAttribute.html">TaskJuggler::NodeListAttribute</a></li>
|
|
369
|
-
|
|
370
|
-
<li><a href="../TaskJuggler/PlaceHolderCell.html">TaskJuggler::PlaceHolderCell</a></li>
|
|
371
|
-
|
|
372
|
-
<li><a href="../TaskJuggler/ProcessIntercom.html">TaskJuggler::ProcessIntercom</a></li>
|
|
373
|
-
|
|
374
|
-
<li><a href="../TaskJuggler/ProcessIntercomIface.html">TaskJuggler::ProcessIntercomIface</a></li>
|
|
375
|
-
|
|
376
|
-
<li><a href="../TaskJuggler/Project.html">TaskJuggler::Project</a></li>
|
|
377
|
-
|
|
378
|
-
<li><a href="../TaskJuggler/ProjectBroker.html">TaskJuggler::ProjectBroker</a></li>
|
|
379
|
-
|
|
380
|
-
<li><a href="../TaskJuggler/ProjectBrokerIface.html">TaskJuggler::ProjectBrokerIface</a></li>
|
|
381
|
-
|
|
382
|
-
<li><a href="../TaskJuggler/ProjectFileParser.html">TaskJuggler::ProjectFileParser</a></li>
|
|
383
|
-
|
|
384
|
-
<li><a href="../TaskJuggler/ProjectFileScanner.html">TaskJuggler::ProjectFileScanner</a></li>
|
|
385
|
-
|
|
386
|
-
<li><a href="../TaskJuggler/ProjectRecord.html">TaskJuggler::ProjectRecord</a></li>
|
|
387
|
-
|
|
388
|
-
<li><a href="../TaskJuggler/ProjectServer.html">TaskJuggler::ProjectServer</a></li>
|
|
389
|
-
|
|
390
|
-
<li><a href="../TaskJuggler/ProjectServerIface.html">TaskJuggler::ProjectServerIface</a></li>
|
|
391
|
-
|
|
392
|
-
<li><a href="../TaskJuggler/PropertyAttribute.html">TaskJuggler::PropertyAttribute</a></li>
|
|
393
|
-
|
|
394
|
-
<li><a href="../TaskJuggler/PropertyList.html">TaskJuggler::PropertyList</a></li>
|
|
395
|
-
|
|
396
|
-
<li><a href="../TaskJuggler/PropertySet.html">TaskJuggler::PropertySet</a></li>
|
|
397
|
-
|
|
398
|
-
<li><a href="../TaskJuggler/PropertyTreeNode.html">TaskJuggler::PropertyTreeNode</a></li>
|
|
399
|
-
|
|
400
|
-
<li><a href="../TaskJuggler/Query.html">TaskJuggler::Query</a></li>
|
|
401
|
-
|
|
402
|
-
<li><a href="../TaskJuggler/RTFHandlers.html">TaskJuggler::RTFHandlers</a></li>
|
|
403
|
-
|
|
404
|
-
<li><a href="../TaskJuggler/RTFNavigator.html">TaskJuggler::RTFNavigator</a></li>
|
|
405
|
-
|
|
406
|
-
<li><a href="../TaskJuggler/RTFQuery.html">TaskJuggler::RTFQuery</a></li>
|
|
407
|
-
|
|
408
|
-
<li><a href="../TaskJuggler/RTFReport.html">TaskJuggler::RTFReport</a></li>
|
|
409
|
-
|
|
410
|
-
<li><a href="../TaskJuggler/RTFReportLink.html">TaskJuggler::RTFReportLink</a></li>
|
|
411
|
-
|
|
412
|
-
<li><a href="../TaskJuggler/RTFWithQuerySupport.html">TaskJuggler::RTFWithQuerySupport</a></li>
|
|
413
|
-
|
|
414
|
-
<li><a href="../TaskJuggler/RealFormat.html">TaskJuggler::RealFormat</a></li>
|
|
415
|
-
|
|
416
|
-
<li><a href="../TaskJuggler/RealFormatAttribute.html">TaskJuggler::RealFormatAttribute</a></li>
|
|
417
|
-
|
|
418
|
-
<li><a href="../TaskJuggler/ReferenceAttribute.html">TaskJuggler::ReferenceAttribute</a></li>
|
|
419
|
-
|
|
420
|
-
<li><a href="../TaskJuggler/Report.html">TaskJuggler::Report</a></li>
|
|
421
|
-
|
|
422
|
-
<li><a href="../TaskJuggler/ReportBase.html">TaskJuggler::ReportBase</a></li>
|
|
423
|
-
|
|
424
|
-
<li><a href="../TaskJuggler/ReportContext.html">TaskJuggler::ReportContext</a></li>
|
|
425
|
-
|
|
426
|
-
<li><a href="../TaskJuggler/ReportScenario.html">TaskJuggler::ReportScenario</a></li>
|
|
427
|
-
|
|
428
|
-
<li><a href="../TaskJuggler/ReportServer.html">TaskJuggler::ReportServer</a></li>
|
|
429
|
-
|
|
430
|
-
<li><a href="../TaskJuggler/ReportServerIface.html">TaskJuggler::ReportServerIface</a></li>
|
|
431
|
-
|
|
432
|
-
<li><a href="../TaskJuggler/ReportServerRecord.html">TaskJuggler::ReportServerRecord</a></li>
|
|
433
|
-
|
|
434
|
-
<li><a href="../TaskJuggler/ReportServlet.html">TaskJuggler::ReportServlet</a></li>
|
|
435
|
-
|
|
436
|
-
<li><a href="../TaskJuggler/ReportTable.html">TaskJuggler::ReportTable</a></li>
|
|
437
|
-
|
|
438
|
-
<li><a href="../TaskJuggler/ReportTableCell.html">TaskJuggler::ReportTableCell</a></li>
|
|
439
|
-
|
|
440
|
-
<li><a href="../TaskJuggler/ReportTableColumn.html">TaskJuggler::ReportTableColumn</a></li>
|
|
441
|
-
|
|
442
|
-
<li><a href="../TaskJuggler/ReportTableLegend.html">TaskJuggler::ReportTableLegend</a></li>
|
|
443
|
-
|
|
444
|
-
<li><a href="../TaskJuggler/ReportTableLine.html">TaskJuggler::ReportTableLine</a></li>
|
|
445
|
-
|
|
446
|
-
<li><a href="../TaskJuggler/Resource.html">TaskJuggler::Resource</a></li>
|
|
447
|
-
|
|
448
|
-
<li><a href="../TaskJuggler/ResourceListAttribute.html">TaskJuggler::ResourceListAttribute</a></li>
|
|
449
|
-
|
|
450
|
-
<li><a href="../TaskJuggler/ResourceListRE.html">TaskJuggler::ResourceListRE</a></li>
|
|
451
|
-
|
|
452
|
-
<li><a href="../TaskJuggler/ResourceScenario.html">TaskJuggler::ResourceScenario</a></li>
|
|
453
|
-
|
|
454
|
-
<li><a href="../TaskJuggler/RichText.html">TaskJuggler::RichText</a></li>
|
|
455
|
-
|
|
456
|
-
<li><a href="../TaskJuggler/RichTextAttribute.html">TaskJuggler::RichTextAttribute</a></li>
|
|
457
|
-
|
|
458
|
-
<li><a href="../TaskJuggler/RichTextDocument.html">TaskJuggler::RichTextDocument</a></li>
|
|
459
|
-
|
|
460
|
-
<li><a href="../TaskJuggler/RichTextElement.html">TaskJuggler::RichTextElement</a></li>
|
|
461
|
-
|
|
462
|
-
<li><a href="../TaskJuggler/RichTextFunctionExample.html">TaskJuggler::RichTextFunctionExample</a></li>
|
|
463
|
-
|
|
464
|
-
<li><a href="../TaskJuggler/RichTextFunctionHandler.html">TaskJuggler::RichTextFunctionHandler</a></li>
|
|
465
|
-
|
|
466
|
-
<li><a href="../TaskJuggler/RichTextImage.html">TaskJuggler::RichTextImage</a></li>
|
|
467
|
-
|
|
468
|
-
<li><a href="../TaskJuggler/RichTextIntermediate.html">TaskJuggler::RichTextIntermediate</a></li>
|
|
469
|
-
|
|
470
|
-
<li><a href="../TaskJuggler/RichTextParser.html">TaskJuggler::RichTextParser</a></li>
|
|
471
|
-
|
|
472
|
-
<li><a href="../TaskJuggler/RichTextScanner.html">TaskJuggler::RichTextScanner</a></li>
|
|
473
|
-
|
|
474
|
-
<li><a href="../TaskJuggler/RichTextSnip.html">TaskJuggler::RichTextSnip</a></li>
|
|
475
|
-
|
|
476
|
-
<li><a href="../TaskJuggler/RichTextSyntaxRules.html">TaskJuggler::RichTextSyntaxRules</a></li>
|
|
477
|
-
|
|
478
|
-
<li><a href="../TaskJuggler/Scenario.html">TaskJuggler::Scenario</a></li>
|
|
479
|
-
|
|
480
|
-
<li><a href="../TaskJuggler/ScenarioData.html">TaskJuggler::ScenarioData</a></li>
|
|
481
|
-
|
|
482
|
-
<li><a href="../TaskJuggler/ScenarioListAttribute.html">TaskJuggler::ScenarioListAttribute</a></li>
|
|
483
|
-
|
|
484
|
-
<li><a href="../TaskJuggler/Scoreboard.html">TaskJuggler::Scoreboard</a></li>
|
|
485
|
-
|
|
486
|
-
<li><a href="../TaskJuggler/ScoreboardInterval.html">TaskJuggler::ScoreboardInterval</a></li>
|
|
487
|
-
|
|
488
|
-
<li><a href="../TaskJuggler/SheetHandlerBase.html">TaskJuggler::SheetHandlerBase</a></li>
|
|
489
|
-
|
|
490
|
-
<li><a href="../TaskJuggler/SheetReceiver.html">TaskJuggler::SheetReceiver</a></li>
|
|
491
|
-
|
|
492
|
-
<li><a href="../TaskJuggler/SheetSender.html">TaskJuggler::SheetSender</a></li>
|
|
493
|
-
|
|
494
|
-
<li><a href="../TaskJuggler/Shift.html">TaskJuggler::Shift</a></li>
|
|
495
|
-
|
|
496
|
-
<li><a href="../TaskJuggler/ShiftAssignment.html">TaskJuggler::ShiftAssignment</a></li>
|
|
497
|
-
|
|
498
|
-
<li><a href="../TaskJuggler/ShiftAssignments.html">TaskJuggler::ShiftAssignments</a></li>
|
|
499
|
-
|
|
500
|
-
<li><a href="../TaskJuggler/ShiftAssignmentsAttribute.html">TaskJuggler::ShiftAssignmentsAttribute</a></li>
|
|
501
|
-
|
|
502
|
-
<li><a href="../TaskJuggler/ShiftScenario.html">TaskJuggler::ShiftScenario</a></li>
|
|
503
|
-
|
|
504
|
-
<li><a href="../TaskJuggler/SimpleQueryExpander.html">TaskJuggler::SimpleQueryExpander</a></li>
|
|
505
|
-
|
|
506
|
-
<li><a href="../TaskJuggler/SortListAttribute.html">TaskJuggler::SortListAttribute</a></li>
|
|
507
|
-
|
|
508
|
-
<li><a href="../TaskJuggler/StatusSheetReceiver.html">TaskJuggler::StatusSheetReceiver</a></li>
|
|
509
|
-
|
|
510
|
-
<li><a href="../TaskJuggler/StatusSheetReport.html">TaskJuggler::StatusSheetReport</a></li>
|
|
511
|
-
|
|
512
|
-
<li><a href="../TaskJuggler/StatusSheetSender.html">TaskJuggler::StatusSheetSender</a></li>
|
|
513
|
-
|
|
514
|
-
<li><a href="../TaskJuggler/StdIoWrapper.html">TaskJuggler::StdIoWrapper</a></li>
|
|
515
|
-
|
|
516
|
-
<li><a href="../TaskJuggler/StringAttribute.html">TaskJuggler::StringAttribute</a></li>
|
|
517
|
-
|
|
518
|
-
<li><a href="../TaskJuggler/SymbolAttribute.html">TaskJuggler::SymbolAttribute</a></li>
|
|
519
|
-
|
|
520
|
-
<li><a href="../TaskJuggler/SyntaxReference.html">TaskJuggler::SyntaxReference</a></li>
|
|
521
|
-
|
|
522
|
-
<li><a href="../TaskJuggler/TOCEntry.html">TaskJuggler::TOCEntry</a></li>
|
|
523
|
-
|
|
524
|
-
<li><a href="../TaskJuggler/TSResourceRecord.html">TaskJuggler::TSResourceRecord</a></li>
|
|
525
|
-
|
|
526
|
-
<li><a href="../TaskJuggler/TSTaskRecord.html">TaskJuggler::TSTaskRecord</a></li>
|
|
527
|
-
|
|
528
|
-
<li><a href="../TaskJuggler/TableColumnDefinition.html">TaskJuggler::TableColumnDefinition</a></li>
|
|
529
|
-
|
|
530
|
-
<li><a href="../TaskJuggler/TableOfContents.html">TaskJuggler::TableOfContents</a></li>
|
|
531
|
-
|
|
532
|
-
<li><a href="../TaskJuggler/TableReport.html">TaskJuggler::TableReport</a></li>
|
|
533
|
-
|
|
534
|
-
<li><a href="../TaskJuggler/TagFile.html">TaskJuggler::TagFile</a></li>
|
|
535
|
-
|
|
536
|
-
<li><a href="../TaskJuggler/TagFile/TagFileEntry.html">TaskJuggler::TagFile::TagFileEntry</a></li>
|
|
537
|
-
|
|
538
|
-
<li><a href="../TaskJuggler/Task.html">TaskJuggler::Task</a></li>
|
|
539
|
-
|
|
540
|
-
<li><a href="../TaskJuggler/TaskDepListAttribute.html">TaskJuggler::TaskDepListAttribute</a></li>
|
|
541
|
-
|
|
542
|
-
<li><a href="../TaskJuggler/TaskDependency.html">TaskJuggler::TaskDependency</a></li>
|
|
543
|
-
|
|
544
|
-
<li><a href="../TaskJuggler/TaskListAttribute.html">TaskJuggler::TaskListAttribute</a></li>
|
|
545
|
-
|
|
546
|
-
<li><a href="../TaskJuggler/TaskListRE.html">TaskJuggler::TaskListRE</a></li>
|
|
547
|
-
|
|
548
|
-
<li><a href="../TaskJuggler/TaskScenario.html">TaskJuggler::TaskScenario</a></li>
|
|
549
|
-
|
|
550
|
-
<li><a href="../TaskJuggler/TernarySearchTree.html">TaskJuggler::TernarySearchTree</a></li>
|
|
551
|
-
|
|
552
|
-
<li><a href="../TaskJuggler/TextFormatter.html">TaskJuggler::TextFormatter</a></li>
|
|
553
|
-
|
|
554
|
-
<li><a href="../TaskJuggler/TextParser.html">TaskJuggler::TextParser</a></li>
|
|
555
|
-
|
|
556
|
-
<li><a href="../TaskJuggler/TextParser/Macro.html">TaskJuggler::TextParser::Macro</a></li>
|
|
557
|
-
|
|
558
|
-
<li><a href="../TaskJuggler/TextParser/MacroTable.html">TaskJuggler::TextParser::MacroTable</a></li>
|
|
559
|
-
|
|
560
|
-
<li><a href="../TaskJuggler/TextParser/Pattern.html">TaskJuggler::TextParser::Pattern</a></li>
|
|
561
|
-
|
|
562
|
-
<li><a href="../TaskJuggler/TextParser/Rule.html">TaskJuggler::TextParser::Rule</a></li>
|
|
563
|
-
|
|
564
|
-
<li><a href="../TaskJuggler/TextParser/Scanner.html">TaskJuggler::TextParser::Scanner</a></li>
|
|
565
|
-
|
|
566
|
-
<li><a href="../TaskJuggler/TextParser/Scanner/BufferStreamHandle.html">TaskJuggler::TextParser::Scanner::BufferStreamHandle</a></li>
|
|
567
|
-
|
|
568
|
-
<li><a href="../TaskJuggler/TextParser/Scanner/FileStreamHandle.html">TaskJuggler::TextParser::Scanner::FileStreamHandle</a></li>
|
|
569
|
-
|
|
570
|
-
<li><a href="../TaskJuggler/TextParser/Scanner/MacroStackEntry.html">TaskJuggler::TextParser::Scanner::MacroStackEntry</a></li>
|
|
571
|
-
|
|
572
|
-
<li><a href="../TaskJuggler/TextParser/Scanner/StreamHandle.html">TaskJuggler::TextParser::Scanner::StreamHandle</a></li>
|
|
573
|
-
|
|
574
|
-
<li><a href="../TaskJuggler/TextParser/SourceFileInfo.html">TaskJuggler::TextParser::SourceFileInfo</a></li>
|
|
575
|
-
|
|
576
|
-
<li><a href="../TaskJuggler/TextParser/StackElement.html">TaskJuggler::TextParser::StackElement</a></li>
|
|
577
|
-
|
|
578
|
-
<li><a href="../TaskJuggler/TextParser/State.html">TaskJuggler::TextParser::State</a></li>
|
|
579
|
-
|
|
580
|
-
<li><a href="../TaskJuggler/TextParser/StateTransition.html">TaskJuggler::TextParser::StateTransition</a></li>
|
|
581
|
-
|
|
582
|
-
<li><a href="../TaskJuggler/TextParser/TextParserResultArray.html">TaskJuggler::TextParser::TextParserResultArray</a></li>
|
|
583
|
-
|
|
584
|
-
<li><a href="../TaskJuggler/TextParser/TokenDoc.html">TaskJuggler::TextParser::TokenDoc</a></li>
|
|
585
|
-
|
|
586
|
-
<li><a href="../TaskJuggler/TextReport.html">TaskJuggler::TextReport</a></li>
|
|
587
|
-
|
|
588
|
-
<li><a href="../TaskJuggler/TimeInterval.html">TaskJuggler::TimeInterval</a></li>
|
|
589
|
-
|
|
590
|
-
<li><a href="../TaskJuggler/TimeIntervalListAttribute.html">TaskJuggler::TimeIntervalListAttribute</a></li>
|
|
591
|
-
|
|
592
|
-
<li><a href="../TaskJuggler/TimeSheet.html">TaskJuggler::TimeSheet</a></li>
|
|
593
|
-
|
|
594
|
-
<li><a href="../TaskJuggler/TimeSheetReceiver.html">TaskJuggler::TimeSheetReceiver</a></li>
|
|
595
|
-
|
|
596
|
-
<li><a href="../TaskJuggler/TimeSheetRecord.html">TaskJuggler::TimeSheetRecord</a></li>
|
|
597
|
-
|
|
598
|
-
<li><a href="../TaskJuggler/TimeSheetReport.html">TaskJuggler::TimeSheetReport</a></li>
|
|
599
|
-
|
|
600
|
-
<li><a href="../TaskJuggler/TimeSheetSender.html">TaskJuggler::TimeSheetSender</a></li>
|
|
601
|
-
|
|
602
|
-
<li><a href="../TaskJuggler/TimeSheetSummary.html">TaskJuggler::TimeSheetSummary</a></li>
|
|
603
|
-
|
|
604
|
-
<li><a href="../TaskJuggler/TimeSheets.html">TaskJuggler::TimeSheets</a></li>
|
|
605
|
-
|
|
606
|
-
<li><a href="../TaskJuggler/Tj3.html">TaskJuggler::Tj3</a></li>
|
|
607
|
-
|
|
608
|
-
<li><a href="../TaskJuggler/Tj3AppBase.html">TaskJuggler::Tj3AppBase</a></li>
|
|
609
|
-
|
|
610
|
-
<li><a href="../TaskJuggler/Tj3Client.html">TaskJuggler::Tj3Client</a></li>
|
|
611
|
-
|
|
612
|
-
<li><a href="../TaskJuggler/Tj3Daemon.html">TaskJuggler::Tj3Daemon</a></li>
|
|
613
|
-
|
|
614
|
-
<li><a href="../TaskJuggler/Tj3Man.html">TaskJuggler::Tj3Man</a></li>
|
|
615
|
-
|
|
616
|
-
<li><a href="../TaskJuggler/Tj3SheetAppBase.html">TaskJuggler::Tj3SheetAppBase</a></li>
|
|
617
|
-
|
|
618
|
-
<li><a href="../TaskJuggler/Tj3SsReceiver.html">TaskJuggler::Tj3SsReceiver</a></li>
|
|
619
|
-
|
|
620
|
-
<li><a href="../TaskJuggler/Tj3SsSender.html">TaskJuggler::Tj3SsSender</a></li>
|
|
621
|
-
|
|
622
|
-
<li><a href="../TaskJuggler/Tj3TsReceiver.html">TaskJuggler::Tj3TsReceiver</a></li>
|
|
623
|
-
|
|
624
|
-
<li><a href="../TaskJuggler/Tj3TsSender.html">TaskJuggler::Tj3TsSender</a></li>
|
|
625
|
-
|
|
626
|
-
<li><a href="../TaskJuggler/Tj3TsSummary.html">TaskJuggler::Tj3TsSummary</a></li>
|
|
627
|
-
|
|
628
|
-
<li><a href="../TaskJuggler/TjException.html">TaskJuggler::TjException</a></li>
|
|
629
|
-
|
|
630
|
-
<li><a href="../TaskJuggler/TjRuntimeError.html">TaskJuggler::TjRuntimeError</a></li>
|
|
631
|
-
|
|
632
|
-
<li><a href="../TaskJuggler/TjTime.html">TaskJuggler::TjTime</a></li>
|
|
633
|
-
|
|
634
|
-
<li><a href="../TaskJuggler/TjpExample.html">TaskJuggler::TjpExample</a></li>
|
|
635
|
-
|
|
636
|
-
<li><a href="../TaskJuggler/TjpExportRE.html">TaskJuggler::TjpExportRE</a></li>
|
|
637
|
-
|
|
638
|
-
<li><a href="../TaskJuggler/TjpSyntaxRules.html">TaskJuggler::TjpSyntaxRules</a></li>
|
|
639
|
-
|
|
640
|
-
<li><a href="../TaskJuggler/URLParameter.html">TaskJuggler::URLParameter</a></li>
|
|
641
|
-
|
|
642
|
-
<li><a href="../TaskJuggler/UserManual.html">TaskJuggler::UserManual</a></li>
|
|
643
|
-
|
|
644
|
-
<li><a href="../TaskJuggler/VimSyntax.html">TaskJuggler::VimSyntax</a></li>
|
|
645
|
-
|
|
646
|
-
<li><a href="../TaskJuggler/WebServer.html">TaskJuggler::WebServer</a></li>
|
|
647
|
-
|
|
648
|
-
<li><a href="../TaskJuggler/WelcomePage.html">TaskJuggler::WelcomePage</a></li>
|
|
649
|
-
|
|
650
|
-
<li><a href="../TaskJuggler/WorkingHours.html">TaskJuggler::WorkingHours</a></li>
|
|
651
|
-
|
|
652
|
-
<li><a href="../TaskJuggler/WorkingHoursAttribute.html">TaskJuggler::WorkingHoursAttribute</a></li>
|
|
653
|
-
|
|
654
|
-
<li><a href="../TaskJuggler/XMLBlob.html">TaskJuggler::XMLBlob</a></li>
|
|
655
|
-
|
|
656
|
-
<li><a href="../TaskJuggler/XMLComment.html">TaskJuggler::XMLComment</a></li>
|
|
657
|
-
|
|
658
|
-
<li><a href="../TaskJuggler/XMLDocument.html">TaskJuggler::XMLDocument</a></li>
|
|
659
|
-
|
|
660
|
-
<li><a href="../TaskJuggler/XMLElement.html">TaskJuggler::XMLElement</a></li>
|
|
661
|
-
|
|
662
|
-
<li><a href="../TaskJuggler/XMLNamedText.html">TaskJuggler::XMLNamedText</a></li>
|
|
663
|
-
|
|
664
|
-
<li><a href="../TaskJuggler/XMLText.html">TaskJuggler::XMLText</a></li>
|
|
665
|
-
|
|
666
|
-
<li><a href="../Diff.html">Diff</a></li>
|
|
667
|
-
|
|
668
|
-
<li><a href="../Diff/Hunk.html">Diff::Hunk</a></li>
|
|
669
|
-
|
|
670
|
-
<li><a href="../AppConfig.html">AppConfig</a></li>
|
|
671
|
-
|
|
672
|
-
<li><a href="../Diffable.html">Diffable</a></li>
|
|
673
|
-
|
|
674
|
-
<li><a href="../DiffableString.html">DiffableString</a></li>
|
|
675
|
-
|
|
676
|
-
<li><a href="../Object.html">Object</a></li>
|
|
677
|
-
|
|
678
|
-
<li><a href="../RuntimeConfig.html">RuntimeConfig</a></li>
|
|
679
|
-
|
|
680
|
-
<li><a href="../String.html">String</a></li>
|
|
681
|
-
|
|
682
|
-
</ul>
|
|
683
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
|
684
|
-
</div>
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
</div>
|
|
688
|
-
</div>
|
|
689
|
-
|
|
690
|
-
<div id="documentation">
|
|
691
|
-
<h1 class="class">TaskJuggler::PropertyTreeNode</h1>
|
|
692
|
-
|
|
693
|
-
<div id="description">
|
|
694
|
-
<p>
|
|
695
|
-
This class is the base object for all <a href="Project.html">Project</a>
|
|
696
|
-
properties. A <a href="Project.html">Project</a> property is a e. g. a <a
|
|
697
|
-
href="Task.html">Task</a>, a <a href="Resource.html">Resource</a> or other
|
|
698
|
-
objects. Such properties can be arranged in tree form by assigning child
|
|
699
|
-
properties to an existing property. The parent object needs to exist at
|
|
700
|
-
object creation time. The <a
|
|
701
|
-
href="PropertyTreeNode.html">PropertyTreeNode</a> class holds all data and
|
|
702
|
-
methods that are common to the different types of properties. Each property
|
|
703
|
-
can have a set of predifined attributes. The <a
|
|
704
|
-
href="PropertySet.html">PropertySet</a> class holds collections of the same
|
|
705
|
-
<a href="PropertyTreeNode.html">PropertyTreeNode</a> objects and the
|
|
706
|
-
defined attributes. Each <a href="PropertySet.html">PropertySet</a> has a
|
|
707
|
-
predefined set of attributes, but the attribute set can be extended by the
|
|
708
|
-
user. E.g. a task has the predefined attribute ‘start’ and
|
|
709
|
-
‘end’ date. The user can extend tasks with a user defined
|
|
710
|
-
attribute like an URL that contains more details about the task.
|
|
711
|
-
</p>
|
|
712
|
-
|
|
713
|
-
</div>
|
|
714
|
-
|
|
715
|
-
<!-- Constants -->
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
<!-- Attributes -->
|
|
719
|
-
|
|
720
|
-
<div id="attribute-method-details" class="method-section section">
|
|
721
|
-
<h3 class="section-header">Attributes</h3>
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
<div id="property-et-attribute-method" class="method-detail">
|
|
725
|
-
<a name="propertySet"></a>
|
|
726
|
-
|
|
727
|
-
<div class="method-heading attribute-method-heading">
|
|
728
|
-
<span class="method-name">propertySet</span><span
|
|
729
|
-
class="attribute-access-type">[R]</span>
|
|
730
|
-
</div>
|
|
731
|
-
|
|
732
|
-
<div class="method-description">
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
</div>
|
|
737
|
-
</div>
|
|
738
|
-
|
|
739
|
-
<div id="id-attribute-method" class="method-detail">
|
|
740
|
-
<a name="id"></a>
|
|
741
|
-
|
|
742
|
-
<div class="method-heading attribute-method-heading">
|
|
743
|
-
<span class="method-name">id</span><span
|
|
744
|
-
class="attribute-access-type">[R]</span>
|
|
745
|
-
</div>
|
|
746
|
-
|
|
747
|
-
<div class="method-description">
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
</div>
|
|
752
|
-
</div>
|
|
753
|
-
|
|
754
|
-
<div id="sub-d-attribute-method" class="method-detail">
|
|
755
|
-
<a name="subId"></a>
|
|
756
|
-
|
|
757
|
-
<div class="method-heading attribute-method-heading">
|
|
758
|
-
<span class="method-name">subId</span><span
|
|
759
|
-
class="attribute-access-type">[R]</span>
|
|
760
|
-
</div>
|
|
761
|
-
|
|
762
|
-
<div class="method-description">
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
</div>
|
|
767
|
-
</div>
|
|
768
|
-
|
|
769
|
-
<div id="parent-attribute-method" class="method-detail">
|
|
770
|
-
<a name="parent"></a>
|
|
771
|
-
|
|
772
|
-
<div class="method-heading attribute-method-heading">
|
|
773
|
-
<span class="method-name">parent</span><span
|
|
774
|
-
class="attribute-access-type">[R]</span>
|
|
775
|
-
</div>
|
|
776
|
-
|
|
777
|
-
<div class="method-description">
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
</div>
|
|
782
|
-
</div>
|
|
783
|
-
|
|
784
|
-
<div id="project-attribute-method" class="method-detail">
|
|
785
|
-
<a name="project"></a>
|
|
786
|
-
|
|
787
|
-
<div class="method-heading attribute-method-heading">
|
|
788
|
-
<span class="method-name">project</span><span
|
|
789
|
-
class="attribute-access-type">[R]</span>
|
|
790
|
-
</div>
|
|
791
|
-
|
|
792
|
-
<div class="method-description">
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
</div>
|
|
797
|
-
</div>
|
|
798
|
-
|
|
799
|
-
<div id="sequence-o-attribute-method" class="method-detail">
|
|
800
|
-
<a name="sequenceNo"></a>
|
|
801
|
-
|
|
802
|
-
<div class="method-heading attribute-method-heading">
|
|
803
|
-
<span class="method-name">sequenceNo</span><span
|
|
804
|
-
class="attribute-access-type">[R]</span>
|
|
805
|
-
</div>
|
|
806
|
-
|
|
807
|
-
<div class="method-description">
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
</div>
|
|
812
|
-
</div>
|
|
813
|
-
|
|
814
|
-
<div id="children-attribute-method" class="method-detail">
|
|
815
|
-
<a name="children"></a>
|
|
816
|
-
|
|
817
|
-
<div class="method-heading attribute-method-heading">
|
|
818
|
-
<span class="method-name">children</span><span
|
|
819
|
-
class="attribute-access-type">[R]</span>
|
|
820
|
-
</div>
|
|
821
|
-
|
|
822
|
-
<div class="method-description">
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
</div>
|
|
827
|
-
</div>
|
|
828
|
-
|
|
829
|
-
<div id="adoptees-attribute-method" class="method-detail">
|
|
830
|
-
<a name="adoptees"></a>
|
|
831
|
-
|
|
832
|
-
<div class="method-heading attribute-method-heading">
|
|
833
|
-
<span class="method-name">adoptees</span><span
|
|
834
|
-
class="attribute-access-type">[R]</span>
|
|
835
|
-
</div>
|
|
836
|
-
|
|
837
|
-
<div class="method-description">
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
</div>
|
|
842
|
-
</div>
|
|
843
|
-
|
|
844
|
-
<div id="name-attribute-method" class="method-detail">
|
|
845
|
-
<a name="name"></a>
|
|
846
|
-
|
|
847
|
-
<a name="name="></a>
|
|
848
|
-
|
|
849
|
-
<div class="method-heading attribute-method-heading">
|
|
850
|
-
<span class="method-name">name</span><span
|
|
851
|
-
class="attribute-access-type">[RW]</span>
|
|
852
|
-
</div>
|
|
853
|
-
|
|
854
|
-
<div class="method-description">
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
</div>
|
|
859
|
-
</div>
|
|
860
|
-
|
|
861
|
-
<div id="source-ile-nfo-attribute-method" class="method-detail">
|
|
862
|
-
<a name="sourceFileInfo"></a>
|
|
863
|
-
|
|
864
|
-
<a name="sourceFileInfo="></a>
|
|
865
|
-
|
|
866
|
-
<div class="method-heading attribute-method-heading">
|
|
867
|
-
<span class="method-name">sourceFileInfo</span><span
|
|
868
|
-
class="attribute-access-type">[RW]</span>
|
|
869
|
-
</div>
|
|
870
|
-
|
|
871
|
-
<div class="method-description">
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
</div>
|
|
876
|
-
</div>
|
|
877
|
-
|
|
878
|
-
<div id="data-attribute-method" class="method-detail">
|
|
879
|
-
<a name="data"></a>
|
|
880
|
-
|
|
881
|
-
<div class="method-heading attribute-method-heading">
|
|
882
|
-
<span class="method-name">data</span><span
|
|
883
|
-
class="attribute-access-type">[R]</span>
|
|
884
|
-
</div>
|
|
885
|
-
|
|
886
|
-
<div class="method-description">
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
</div>
|
|
891
|
-
</div>
|
|
892
|
-
|
|
893
|
-
</div>
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
<!-- Methods -->
|
|
897
|
-
|
|
898
|
-
<div id="public-class-method-details" class="method-section section">
|
|
899
|
-
<h3 class="section-header">Public Class Methods</h3>
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
<div id="new-method" class="method-detail ">
|
|
903
|
-
<a name="method-c-new"></a>
|
|
904
|
-
|
|
905
|
-
<div class="method-heading">
|
|
906
|
-
|
|
907
|
-
<span class="method-name">new</span><span
|
|
908
|
-
class="method-args">(propertySet, id, name, parent)</span>
|
|
909
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
910
|
-
|
|
911
|
-
</div>
|
|
912
|
-
|
|
913
|
-
<div class="method-description">
|
|
914
|
-
|
|
915
|
-
<p>
|
|
916
|
-
Create a new <a href="PropertyTreeNode.html">PropertyTreeNode</a> object.
|
|
917
|
-
<em>propertySet</em> is the <a href="PropertySet.html">PropertySet</a> that
|
|
918
|
-
this <a href="PropertyTreeNode.html">PropertyTreeNode</a> object belongs
|
|
919
|
-
to. The <a href="PropertySet.html">PropertySet</a> determines the
|
|
920
|
-
attributes that are common to all Nodes in the set. <em>id</em> is a <a
|
|
921
|
-
href="../String.html">String</a> that is unique in the namespace of the
|
|
922
|
-
set. <em>name</em> is a user readable, short description of the object.
|
|
923
|
-
<em>parent</em> is the <a href="PropertyTreeNode.html">PropertyTreeNode</a>
|
|
924
|
-
that sits above this node in the object hierachy. A root object has a
|
|
925
|
-
<em>parent</em> of nil. For sets with hierachical name spaces, parent can
|
|
926
|
-
be nil and specified by a hierachical <em>id</em> (e. g.
|
|
927
|
-
‘father.son’).
|
|
928
|
-
</p>
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
<div class="method-source-code"
|
|
933
|
-
id="new-source">
|
|
934
|
-
<pre>
|
|
935
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 43</span>
|
|
936
|
-
43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">propertySet</span>, <span class="ruby-identifier">id</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">parent</span>)
|
|
937
|
-
44: <span class="ruby-ivar">@propertySet</span> = <span class="ruby-identifier">propertySet</span>
|
|
938
|
-
45: <span class="ruby-ivar">@project</span> = <span class="ruby-identifier">propertySet</span>.<span class="ruby-identifier">project</span>
|
|
939
|
-
46: <span class="ruby-ivar">@parent</span> = <span class="ruby-identifier">parent</span>
|
|
940
|
-
47:
|
|
941
|
-
48: <span class="ruby-comment cmt"># Scenario specific data</span>
|
|
942
|
-
49: <span class="ruby-ivar">@data</span> = <span class="ruby-keyword kw">nil</span>
|
|
943
|
-
50:
|
|
944
|
-
51: <span class="ruby-comment cmt"># Attributes are created on-demand. We need to be careful that a pure</span>
|
|
945
|
-
52: <span class="ruby-comment cmt"># check for existance does not create them unecessarily.</span>
|
|
946
|
-
53: <span class="ruby-ivar">@attributes</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, <span class="ruby-identifier">attributeId</span><span class="ruby-operator">|</span>
|
|
947
|
-
54: <span class="ruby-keyword kw">unless</span> (<span class="ruby-identifier">aType</span> = <span class="ruby-identifier">attributeDefinition</span>(<span class="ruby-identifier">attributeId</span>))
|
|
948
|
-
55: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>,
|
|
949
|
-
56: <span class="ruby-node">"Unknown attribute '#{attributeId}' requested for "</span> <span class="ruby-operator">+</span>
|
|
950
|
-
57: <span class="ruby-node">"#{self.class.to_s.sub(/TaskJuggler::/, '')} '#{fullId}'"</span>
|
|
951
|
-
58: <span class="ruby-keyword kw">end</span>
|
|
952
|
-
59: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">aType</span>.<span class="ruby-identifier">scenarioSpecific</span>
|
|
953
|
-
60: <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">attributeId</span>] = <span class="ruby-identifier">aType</span>.<span class="ruby-identifier">objClass</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@propertySet</span>, <span class="ruby-identifier">aType</span>, <span class="ruby-keyword kw">self</span>)
|
|
954
|
-
61: <span class="ruby-keyword kw">else</span>
|
|
955
|
-
62: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">"Attribute '#{attributeId}' is scenario specific"</span>
|
|
956
|
-
63: <span class="ruby-keyword kw">end</span>
|
|
957
|
-
64: <span class="ruby-keyword kw">end</span>
|
|
958
|
-
65: <span class="ruby-ivar">@scenarioAttributes</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@project</span>.<span class="ruby-identifier">scenarioCount</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">scenarioIdx</span><span class="ruby-operator">|</span>
|
|
959
|
-
66: <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, <span class="ruby-identifier">attributeId</span><span class="ruby-operator">|</span>
|
|
960
|
-
67: <span class="ruby-keyword kw">unless</span> (<span class="ruby-identifier">aType</span> = <span class="ruby-identifier">attributeDefinition</span>(<span class="ruby-identifier">attributeId</span>))
|
|
961
|
-
68: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>,
|
|
962
|
-
69: <span class="ruby-node">"Unknown attribute '#{attributeId}' requested for "</span> <span class="ruby-operator">+</span>
|
|
963
|
-
70: <span class="ruby-node">"#{self.class.to_s.sub(/TaskJuggler::/, '')} '#{fullId}'"</span>
|
|
964
|
-
71: <span class="ruby-keyword kw">end</span>
|
|
965
|
-
72: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">aType</span>.<span class="ruby-identifier">scenarioSpecific</span>
|
|
966
|
-
73: <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">attributeId</span>] = <span class="ruby-identifier">aType</span>.<span class="ruby-identifier">objClass</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@propertySet</span>, <span class="ruby-identifier">aType</span>,
|
|
967
|
-
74: <span class="ruby-ivar">@data</span>[<span class="ruby-identifier">scenarioIdx</span>])
|
|
968
|
-
75: <span class="ruby-keyword kw">else</span>
|
|
969
|
-
76: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>,
|
|
970
|
-
77: <span class="ruby-node">"Attribute '#{attributeId}' is not scenario specific"</span>
|
|
971
|
-
78: <span class="ruby-keyword kw">end</span>
|
|
972
|
-
79: <span class="ruby-keyword kw">end</span>
|
|
973
|
-
80: <span class="ruby-keyword kw">end</span>
|
|
974
|
-
81:
|
|
975
|
-
82: <span class="ruby-comment cmt"># If _id_ is still nil, we generate a unique id.</span>
|
|
976
|
-
83: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">id</span>
|
|
977
|
-
84: <span class="ruby-identifier">tag</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/TaskJuggler::/</span>, <span class="ruby-value str">''</span>)
|
|
978
|
-
85: <span class="ruby-identifier">id</span> = <span class="ruby-value str">'_'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">tag</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'_'</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">propertySet</span>.<span class="ruby-identifier">items</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>).<span class="ruby-identifier">to_s</span>
|
|
979
|
-
86: <span class="ruby-identifier">id</span> = <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">fullId</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'.'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">id</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@propertySet</span>.<span class="ruby-identifier">flatNamespace</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">parent</span>
|
|
980
|
-
87: <span class="ruby-keyword kw">end</span>
|
|
981
|
-
88: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@propertySet</span>.<span class="ruby-identifier">flatNamespace</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">id</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-value str">'.'</span>)
|
|
982
|
-
89: <span class="ruby-identifier">parentId</span> = <span class="ruby-identifier">id</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span>(<span class="ruby-identifier">id</span>.<span class="ruby-identifier">rindex</span>(<span class="ruby-value str">'.'</span>) <span class="ruby-operator">-</span> <span class="ruby-value">1</span>)]
|
|
983
|
-
90: <span class="ruby-comment cmt"># Set parent to the parent property if it's still nil.</span>
|
|
984
|
-
91: <span class="ruby-ivar">@parent</span> = <span class="ruby-ivar">@propertySet</span>[<span class="ruby-identifier">parentId</span>] <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@parent</span>
|
|
985
|
-
92: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
|
|
986
|
-
93: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@parent</span> <span class="ruby-operator">||</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@propertySet</span>[<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">fullId</span>]
|
|
987
|
-
94: <span class="ruby-identifier">raise</span> <span class="ruby-value str">"Fatal Error: parent must be member of same property set"</span>
|
|
988
|
-
95: <span class="ruby-keyword kw">end</span>
|
|
989
|
-
96: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">parentId</span> <span class="ruby-operator">!=</span> <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">fullId</span>
|
|
990
|
-
97: <span class="ruby-identifier">raise</span> <span class="ruby-node">"Fatal Error: parent (#{@parent.fullId}) and parent ID "</span> <span class="ruby-operator">+</span>
|
|
991
|
-
98: <span class="ruby-node">"(#{@parentId}) don't match"</span>
|
|
992
|
-
99: <span class="ruby-keyword kw">end</span>
|
|
993
|
-
100: <span class="ruby-keyword kw">end</span>
|
|
994
|
-
101: <span class="ruby-ivar">@subId</span> = <span class="ruby-identifier">id</span>[(<span class="ruby-identifier">id</span>.<span class="ruby-identifier">rindex</span>(<span class="ruby-value str">'.'</span>) <span class="ruby-operator">+</span> <span class="ruby-value">1</span>)<span class="ruby-operator">..</span> <span class="ruby-value">1</span>]
|
|
995
|
-
102: <span class="ruby-keyword kw">else</span>
|
|
996
|
-
103: <span class="ruby-ivar">@subId</span> = <span class="ruby-identifier">id</span>
|
|
997
|
-
104: <span class="ruby-keyword kw">end</span>
|
|
998
|
-
105: <span class="ruby-comment cmt"># The attribute 'id' is either the short ID or the full hierarchical ID.</span>
|
|
999
|
-
106: <span class="ruby-identifier">set</span>(<span class="ruby-value str">'id'</span>, <span class="ruby-identifier">fullId</span>)
|
|
1000
|
-
107:
|
|
1001
|
-
108: <span class="ruby-comment cmt"># The name of the property.</span>
|
|
1002
|
-
109: <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
|
|
1003
|
-
110: <span class="ruby-identifier">set</span>(<span class="ruby-value str">'name'</span>, <span class="ruby-identifier">name</span>)
|
|
1004
|
-
111:
|
|
1005
|
-
112: <span class="ruby-ivar">@level</span> = <span class="ruby-value">1</span>
|
|
1006
|
-
113: <span class="ruby-ivar">@sourceFileInfo</span> = <span class="ruby-keyword kw">nil</span>
|
|
1007
|
-
114:
|
|
1008
|
-
115: <span class="ruby-ivar">@sequenceNo</span> = <span class="ruby-ivar">@propertySet</span>.<span class="ruby-identifier">items</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
|
|
1009
|
-
116: <span class="ruby-identifier">set</span>(<span class="ruby-value str">'seqno'</span>, <span class="ruby-ivar">@sequenceNo</span>)
|
|
1010
|
-
117: <span class="ruby-comment cmt"># This is a list of the real sub nodes of this PropertyTreeNode.</span>
|
|
1011
|
-
118: <span class="ruby-ivar">@children</span> = []
|
|
1012
|
-
119: <span class="ruby-comment cmt"># This is a list of the adopted sub nodes of this PropertyTreeNode.</span>
|
|
1013
|
-
120: <span class="ruby-ivar">@adoptees</span> = []
|
|
1014
|
-
121: <span class="ruby-comment cmt"># In case we have a parent object, we register this object as child of</span>
|
|
1015
|
-
122: <span class="ruby-comment cmt"># the parent.</span>
|
|
1016
|
-
123: <span class="ruby-keyword kw">if</span> (<span class="ruby-ivar">@parent</span>)
|
|
1017
|
-
124: <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">addChild</span>(<span class="ruby-keyword kw">self</span>)
|
|
1018
|
-
125: <span class="ruby-keyword kw">end</span>
|
|
1019
|
-
126: <span class="ruby-comment cmt"># This is a list of the PropertyTreeNode objects that have adopted this</span>
|
|
1020
|
-
127: <span class="ruby-comment cmt"># node.</span>
|
|
1021
|
-
128: <span class="ruby-ivar">@stepParents</span> = []
|
|
1022
|
-
129: <span class="ruby-keyword kw">end</span></pre>
|
|
1023
|
-
</div>
|
|
1024
|
-
|
|
1025
|
-
</div>
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
</div>
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
</div>
|
|
1034
|
-
|
|
1035
|
-
<div id="public-instance-method-details" class="method-section section">
|
|
1036
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
<div id="--method" class="method-detail ">
|
|
1040
|
-
<a name="method-i-%5B%5D"></a>
|
|
1041
|
-
|
|
1042
|
-
<div class="method-heading">
|
|
1043
|
-
|
|
1044
|
-
<span class="method-name">[]</span><span
|
|
1045
|
-
class="method-args">(attributeId, scenario)</span>
|
|
1046
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1047
|
-
|
|
1048
|
-
</div>
|
|
1049
|
-
|
|
1050
|
-
<div class="method-description">
|
|
1051
|
-
|
|
1052
|
-
<p>
|
|
1053
|
-
Return the value of the attribute with ID <em>attributeId</em>. For
|
|
1054
|
-
scenario-specific attributes, <em>scenario</em> must indicate the index of
|
|
1055
|
-
the <a href="Scenario.html">Scenario</a>.
|
|
1056
|
-
</p>
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
<div class="method-source-code"
|
|
1061
|
-
id="--source">
|
|
1062
|
-
<pre>
|
|
1063
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 456</span>
|
|
1064
|
-
456: <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">attributeId</span>, <span class="ruby-identifier">scenario</span>)
|
|
1065
|
-
457: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenario</span>][<span class="ruby-identifier">attributeId</span>]
|
|
1066
|
-
458: <span class="ruby-ivar">@data</span>[<span class="ruby-identifier">scenario</span>].<span class="ruby-identifier">instance_variable_get</span>((<span class="ruby-value str">'@'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">attributeId</span>).<span class="ruby-identifier">intern</span>)
|
|
1067
|
-
459: <span class="ruby-keyword kw">end</span></pre>
|
|
1068
|
-
</div>
|
|
1069
|
-
|
|
1070
|
-
</div>
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
</div>
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
<div id="--method" class="method-detail ">
|
|
1079
|
-
<a name="method-i-%5B%5D%3D"></a>
|
|
1080
|
-
|
|
1081
|
-
<div class="method-heading">
|
|
1082
|
-
|
|
1083
|
-
<span class="method-name">[]=</span><span
|
|
1084
|
-
class="method-args">(attributeId, scenario, value)</span>
|
|
1085
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1086
|
-
|
|
1087
|
-
</div>
|
|
1088
|
-
|
|
1089
|
-
<div class="method-description">
|
|
1090
|
-
|
|
1091
|
-
<p>
|
|
1092
|
-
Set the scenario specific attribute with ID <em>attributeId</em> for the
|
|
1093
|
-
scenario with index <em>scenario</em> to <em>value</em>. If
|
|
1094
|
-
<em>scenario</em> is nil, the attribute must not be scenario specific. In
|
|
1095
|
-
case the attribute does not exist, an exception is raised.
|
|
1096
|
-
</p>
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
<div class="method-source-code"
|
|
1101
|
-
id="--source">
|
|
1102
|
-
<pre>
|
|
1103
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 419</span>
|
|
1104
|
-
419: <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">attributeId</span>, <span class="ruby-identifier">scenario</span>, <span class="ruby-identifier">value</span>)
|
|
1105
|
-
420: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">scenario</span>
|
|
1106
|
-
421: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">AttributeBase</span>.<span class="ruby-identifier">mode</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
|
1107
|
-
422: <span class="ruby-comment cmt"># If we get values in 'provided' mode, we copy them immedidately to</span>
|
|
1108
|
-
423: <span class="ruby-comment cmt"># all derived scenarios.</span>
|
|
1109
|
-
424: <span class="ruby-identifier">overwrite</span> = <span class="ruby-keyword kw">false</span>
|
|
1110
|
-
425: <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">scenario</span>(<span class="ruby-identifier">scenario</span>).<span class="ruby-identifier">all</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sc</span><span class="ruby-operator">|</span>
|
|
1111
|
-
426: <span class="ruby-identifier">scenarioIdx</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">scenarioIdx</span>(<span class="ruby-identifier">sc</span>)
|
|
1112
|
-
427:
|
|
1113
|
-
428: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">provided</span>
|
|
1114
|
-
429: <span class="ruby-identifier">overwrite</span> = <span class="ruby-keyword kw">true</span>
|
|
1115
|
-
430: <span class="ruby-keyword kw">end</span>
|
|
1116
|
-
431:
|
|
1117
|
-
432: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">scenarioIdx</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">scenario</span>
|
|
1118
|
-
433: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">set</span>(<span class="ruby-identifier">value</span>)
|
|
1119
|
-
434: <span class="ruby-keyword kw">else</span>
|
|
1120
|
-
435: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">inherit</span>(<span class="ruby-identifier">value</span>)
|
|
1121
|
-
436: <span class="ruby-keyword kw">end</span>
|
|
1122
|
-
437: <span class="ruby-keyword kw">end</span>
|
|
1123
|
-
438: <span class="ruby-comment cmt"># We only raise the overwrite error after all scenarios have been</span>
|
|
1124
|
-
439: <span class="ruby-comment cmt"># set. For some attributes the overwrite is actually allowed.</span>
|
|
1125
|
-
440: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">overwrite</span>
|
|
1126
|
-
441: <span class="ruby-identifier">raise</span> <span class="ruby-constant">AttributeOverwrite</span>,
|
|
1127
|
-
442: <span class="ruby-value str">"Overwriting a previously provided value for attribute "</span> <span class="ruby-operator">+</span>
|
|
1128
|
-
443: <span class="ruby-node">"#{attributeId}"</span>
|
|
1129
|
-
444: <span class="ruby-keyword kw">end</span>
|
|
1130
|
-
445: <span class="ruby-keyword kw">else</span>
|
|
1131
|
-
446: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenario</span>][<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">set</span>(<span class="ruby-identifier">value</span>)
|
|
1132
|
-
447: <span class="ruby-keyword kw">end</span>
|
|
1133
|
-
448: <span class="ruby-keyword kw">else</span>
|
|
1134
|
-
449: <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">set</span>(<span class="ruby-identifier">value</span>)
|
|
1135
|
-
450: <span class="ruby-keyword kw">end</span>
|
|
1136
|
-
451: <span class="ruby-keyword kw">end</span></pre>
|
|
1137
|
-
</div>
|
|
1138
|
-
|
|
1139
|
-
</div>
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
</div>
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
<div id="add-hild-method" class="method-detail ">
|
|
1148
|
-
<a name="method-i-addChild"></a>
|
|
1149
|
-
|
|
1150
|
-
<div class="method-heading">
|
|
1151
|
-
|
|
1152
|
-
<span class="method-name">addChild</span><span
|
|
1153
|
-
class="method-args">(child)</span>
|
|
1154
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1155
|
-
|
|
1156
|
-
</div>
|
|
1157
|
-
|
|
1158
|
-
<div class="method-description">
|
|
1159
|
-
|
|
1160
|
-
<p>
|
|
1161
|
-
Add <em>child</em> node as child to this node.
|
|
1162
|
-
</p>
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
<div class="method-source-code"
|
|
1167
|
-
id="add-hild-source">
|
|
1168
|
-
<pre>
|
|
1169
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 337</span>
|
|
1170
|
-
337: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">addChild</span>(<span class="ruby-identifier">child</span>)
|
|
1171
|
-
338: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">child</span>.<span class="ruby-identifier">propertySet</span> <span class="ruby-operator">!=</span> <span class="ruby-ivar">@propertySet</span>
|
|
1172
|
-
339: <span class="ruby-identifier">raise</span> <span class="ruby-value str">"Child nodes must belong to the same property set as the parent"</span>
|
|
1173
|
-
340: <span class="ruby-keyword kw">end</span>
|
|
1174
|
-
341: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">child</span>)
|
|
1175
|
-
342: <span class="ruby-keyword kw">end</span></pre>
|
|
1176
|
-
</div>
|
|
1177
|
-
|
|
1178
|
-
</div>
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
</div>
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
<div id="adopt-method" class="method-detail ">
|
|
1187
|
-
<a name="method-i-adopt"></a>
|
|
1188
|
-
|
|
1189
|
-
<div class="method-heading">
|
|
1190
|
-
|
|
1191
|
-
<span class="method-name">adopt</span><span
|
|
1192
|
-
class="method-args">(property)</span>
|
|
1193
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1194
|
-
|
|
1195
|
-
</div>
|
|
1196
|
-
|
|
1197
|
-
<div class="method-description">
|
|
1198
|
-
|
|
1199
|
-
<p>
|
|
1200
|
-
Adopt <em>property</em> as a step child. Also register the new relationship
|
|
1201
|
-
with the child.
|
|
1202
|
-
</p>
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
<div class="method-source-code"
|
|
1207
|
-
id="adopt-source">
|
|
1208
|
-
<pre>
|
|
1209
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 140</span>
|
|
1210
|
-
140: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">adopt</span>(<span class="ruby-identifier">property</span>)
|
|
1211
|
-
141: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@adoptees</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">property</span>)
|
|
1212
|
-
142:
|
|
1213
|
-
143: <span class="ruby-comment cmt"># The adopted node and the adopting node must not have any common</span>
|
|
1214
|
-
144: <span class="ruby-comment cmt"># ancestors.</span>
|
|
1215
|
-
145: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">root</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">property</span>.<span class="ruby-identifier">root</span>
|
|
1216
|
-
146: <span class="ruby-identifier">error</span>(<span class="ruby-value str">'adopt_common_root'</span>,
|
|
1217
|
-
147: <span class="ruby-node">"The adoptee #{property.fullId} and the parent #{fullId} "</span> <span class="ruby-operator">+</span>
|
|
1218
|
-
148: <span class="ruby-value str">"may not share common ancestors."</span>)
|
|
1219
|
-
149: <span class="ruby-keyword kw">end</span>
|
|
1220
|
-
150:
|
|
1221
|
-
151: <span class="ruby-comment cmt"># The adopted trees for this node must not overlap.</span>
|
|
1222
|
-
152: <span class="ruby-ivar">@adoptees</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">adoptee</span><span class="ruby-operator">|</span>
|
|
1223
|
-
153: <span class="ruby-comment cmt"># Check if the to be adopted node is an ancestor of an already adopted</span>
|
|
1224
|
-
154: <span class="ruby-comment cmt"># node.</span>
|
|
1225
|
-
155: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">adoptee</span>.<span class="ruby-identifier">ancestors</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">property</span>)
|
|
1226
|
-
156: <span class="ruby-identifier">error</span>(<span class="ruby-value str">'adopt_duplicate_child'</span>,
|
|
1227
|
-
157: <span class="ruby-node">"The child #{adoptee.fullId} of #{property.fullId} "</span> <span class="ruby-operator">+</span>
|
|
1228
|
-
158: <span class="ruby-node">"has already been adopted by #{fullId}."</span>)
|
|
1229
|
-
159: <span class="ruby-keyword kw">end</span>
|
|
1230
|
-
160: <span class="ruby-comment cmt"># Check if the already adopted nodes are an ancestor of the to be</span>
|
|
1231
|
-
161: <span class="ruby-comment cmt"># adopted node.</span>
|
|
1232
|
-
162: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">property</span>.<span class="ruby-identifier">ancestors</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">adoptee</span>)
|
|
1233
|
-
163: <span class="ruby-identifier">error</span>(<span class="ruby-value str">'adopt_duplicate_parent'</span>,
|
|
1234
|
-
164: <span class="ruby-node">"The parent #{adoptee.fullId} of #{property.fullId} "</span> <span class="ruby-operator">+</span>
|
|
1235
|
-
165: <span class="ruby-node">"has already been adopted by #{fullId}."</span>)
|
|
1236
|
-
166: <span class="ruby-keyword kw">end</span>
|
|
1237
|
-
167: <span class="ruby-keyword kw">end</span>
|
|
1238
|
-
168:
|
|
1239
|
-
169: <span class="ruby-ivar">@adoptees</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">property</span>
|
|
1240
|
-
170: <span class="ruby-identifier">property</span>.<span class="ruby-identifier">getAdopted</span>(<span class="ruby-keyword kw">self</span>)
|
|
1241
|
-
171: <span class="ruby-keyword kw">end</span></pre>
|
|
1242
|
-
</div>
|
|
1243
|
-
|
|
1244
|
-
</div>
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
</div>
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
<div id="all-method" class="method-detail ">
|
|
1253
|
-
<a name="method-i-all"></a>
|
|
1254
|
-
|
|
1255
|
-
<div class="method-heading">
|
|
1256
|
-
|
|
1257
|
-
<span class="method-name">all</span><span
|
|
1258
|
-
class="method-args">()</span>
|
|
1259
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1260
|
-
|
|
1261
|
-
</div>
|
|
1262
|
-
|
|
1263
|
-
<div class="method-description">
|
|
1264
|
-
|
|
1265
|
-
<p>
|
|
1266
|
-
Returns a list of this node and all transient sub nodes.
|
|
1267
|
-
</p>
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
<div class="method-source-code"
|
|
1272
|
-
id="all-source">
|
|
1273
|
-
<pre>
|
|
1274
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 259</span>
|
|
1275
|
-
259: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">all</span>
|
|
1276
|
-
260: <span class="ruby-identifier">res</span> = [ <span class="ruby-keyword kw">self</span> ]
|
|
1277
|
-
261: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
|
|
1278
|
-
262: <span class="ruby-identifier">res</span> = <span class="ruby-identifier">res</span>.<span class="ruby-identifier">concat</span>(<span class="ruby-identifier">c</span>.<span class="ruby-identifier">all</span>)
|
|
1279
|
-
263: <span class="ruby-keyword kw">end</span>
|
|
1280
|
-
264: <span class="ruby-identifier">res</span>
|
|
1281
|
-
265: <span class="ruby-keyword kw">end</span></pre>
|
|
1282
|
-
</div>
|
|
1283
|
-
|
|
1284
|
-
</div>
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
</div>
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
<div id="all-eaves-method" class="method-detail ">
|
|
1293
|
-
<a name="method-i-allLeaves"></a>
|
|
1294
|
-
|
|
1295
|
-
<div class="method-heading">
|
|
1296
|
-
|
|
1297
|
-
<span class="method-name">allLeaves</span><span
|
|
1298
|
-
class="method-args">(withoutSelf = false)</span>
|
|
1299
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1300
|
-
|
|
1301
|
-
</div>
|
|
1302
|
-
|
|
1303
|
-
<div class="method-description">
|
|
1304
|
-
|
|
1305
|
-
<p>
|
|
1306
|
-
Return a list of all leaf nodes of this node.
|
|
1307
|
-
</p>
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
<div class="method-source-code"
|
|
1312
|
-
id="all-eaves-source">
|
|
1313
|
-
<pre>
|
|
1314
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 268</span>
|
|
1315
|
-
268: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">allLeaves</span>(<span class="ruby-identifier">withoutSelf</span> = <span class="ruby-keyword kw">false</span>)
|
|
1316
|
-
269: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">leaf?</span>
|
|
1317
|
-
270: <span class="ruby-identifier">res</span> = <span class="ruby-identifier">withoutSelf</span> <span class="ruby-operator">?</span> [] <span class="ruby-operator">:</span> [ <span class="ruby-keyword kw">self</span> ]
|
|
1318
|
-
271: <span class="ruby-keyword kw">else</span>
|
|
1319
|
-
272: <span class="ruby-identifier">res</span> = []
|
|
1320
|
-
273: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
|
|
1321
|
-
274: <span class="ruby-identifier">res</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">allLeaves</span>
|
|
1322
|
-
275: <span class="ruby-keyword kw">end</span>
|
|
1323
|
-
276: <span class="ruby-keyword kw">end</span>
|
|
1324
|
-
277: <span class="ruby-identifier">res</span>
|
|
1325
|
-
278: <span class="ruby-keyword kw">end</span></pre>
|
|
1326
|
-
</div>
|
|
1327
|
-
|
|
1328
|
-
</div>
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
</div>
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
<div id="ancestors-method" class="method-detail ">
|
|
1337
|
-
<a name="method-i-ancestors"></a>
|
|
1338
|
-
|
|
1339
|
-
<div class="method-heading">
|
|
1340
|
-
|
|
1341
|
-
<span class="method-name">ancestors</span><span
|
|
1342
|
-
class="method-args">()</span>
|
|
1343
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1344
|
-
|
|
1345
|
-
</div>
|
|
1346
|
-
|
|
1347
|
-
<div class="method-description">
|
|
1348
|
-
|
|
1349
|
-
<p>
|
|
1350
|
-
Return a list with all parent nodes of this node.
|
|
1351
|
-
</p>
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
<div class="method-source-code"
|
|
1356
|
-
id="ancestors-source">
|
|
1357
|
-
<pre>
|
|
1358
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 364</span>
|
|
1359
|
-
364: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ancestors</span>
|
|
1360
|
-
365: <span class="ruby-identifier">nodes</span> = []
|
|
1361
|
-
366: <span class="ruby-identifier">n</span> = <span class="ruby-keyword kw">self</span>
|
|
1362
|
-
367: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">parent</span>
|
|
1363
|
-
368: <span class="ruby-identifier">nodes</span> <span class="ruby-operator"><<</span> (<span class="ruby-identifier">n</span> = <span class="ruby-identifier">n</span>.<span class="ruby-identifier">parent</span>)
|
|
1364
|
-
369: <span class="ruby-keyword kw">end</span>
|
|
1365
|
-
370: <span class="ruby-identifier">nodes</span>
|
|
1366
|
-
371: <span class="ruby-keyword kw">end</span></pre>
|
|
1367
|
-
</div>
|
|
1368
|
-
|
|
1369
|
-
</div>
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
</div>
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
<div id="attribute-efinition-method" class="method-detail ">
|
|
1378
|
-
<a name="method-i-attributeDefinition"></a>
|
|
1379
|
-
|
|
1380
|
-
<div class="method-heading">
|
|
1381
|
-
|
|
1382
|
-
<span class="method-name">attributeDefinition</span><span
|
|
1383
|
-
class="method-args">(attributeId)</span>
|
|
1384
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1385
|
-
|
|
1386
|
-
</div>
|
|
1387
|
-
|
|
1388
|
-
<div class="method-description">
|
|
1389
|
-
|
|
1390
|
-
<p>
|
|
1391
|
-
Return the type of the attribute with ID <em>attributeId</em>.
|
|
1392
|
-
</p>
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
<div class="method-source-code"
|
|
1397
|
-
id="attribute-efinition-source">
|
|
1398
|
-
<pre>
|
|
1399
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 383</span>
|
|
1400
|
-
383: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attributeDefinition</span>(<span class="ruby-identifier">attributeId</span>)
|
|
1401
|
-
384: <span class="ruby-ivar">@propertySet</span>.<span class="ruby-identifier">attributeDefinitions</span>[<span class="ruby-identifier">attributeId</span>]
|
|
1402
|
-
385: <span class="ruby-keyword kw">end</span></pre>
|
|
1403
|
-
</div>
|
|
1404
|
-
|
|
1405
|
-
</div>
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
</div>
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
<div id="backup-ttributes-method" class="method-detail ">
|
|
1414
|
-
<a name="method-i-backupAttributes"></a>
|
|
1415
|
-
|
|
1416
|
-
<div class="method-heading">
|
|
1417
|
-
|
|
1418
|
-
<span class="method-name">backupAttributes</span><span
|
|
1419
|
-
class="method-args">()</span>
|
|
1420
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1421
|
-
|
|
1422
|
-
</div>
|
|
1423
|
-
|
|
1424
|
-
<div class="method-description">
|
|
1425
|
-
|
|
1426
|
-
<p>
|
|
1427
|
-
This method creates a shallow copy of all attributes and returns them as an
|
|
1428
|
-
Array that can be used with restoreAttributes().
|
|
1429
|
-
</p>
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
<div class="method-source-code"
|
|
1434
|
-
id="backup-ttributes-source">
|
|
1435
|
-
<pre>
|
|
1436
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 195</span>
|
|
1437
|
-
195: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">backupAttributes</span>
|
|
1438
|
-
196: [ <span class="ruby-ivar">@attributes</span>.<span class="ruby-identifier">clone</span>, <span class="ruby-ivar">@scenarioAttributes</span>.<span class="ruby-identifier">clone</span> ]
|
|
1439
|
-
197: <span class="ruby-keyword kw">end</span></pre>
|
|
1440
|
-
</div>
|
|
1441
|
-
|
|
1442
|
-
</div>
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
</div>
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
<div id="check-ails-nd-arnings-method" class="method-detail ">
|
|
1451
|
-
<a name="method-i-checkFailsAndWarnings"></a>
|
|
1452
|
-
|
|
1453
|
-
<div class="method-heading">
|
|
1454
|
-
|
|
1455
|
-
<span class="method-name">checkFailsAndWarnings</span><span
|
|
1456
|
-
class="method-args">()</span>
|
|
1457
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1458
|
-
|
|
1459
|
-
</div>
|
|
1460
|
-
|
|
1461
|
-
<div class="method-description">
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
<div class="method-source-code"
|
|
1468
|
-
id="check-ails-nd-arnings-source">
|
|
1469
|
-
<pre>
|
|
1470
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 503</span>
|
|
1471
|
-
503: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">checkFailsAndWarnings</span>
|
|
1472
|
-
504: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@attributes</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-value str">'fail'</span>) <span class="ruby-operator">||</span> <span class="ruby-ivar">@attributes</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-value str">'warn'</span>)
|
|
1473
|
-
505: <span class="ruby-identifier">propertyType</span> = <span class="ruby-keyword kw">case</span> <span class="ruby-keyword kw">self</span>
|
|
1474
|
-
506: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Task</span>
|
|
1475
|
-
507: <span class="ruby-value str">'task'</span>
|
|
1476
|
-
508: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Resource</span>
|
|
1477
|
-
509: <span class="ruby-value str">'resource'</span>
|
|
1478
|
-
510: <span class="ruby-keyword kw">else</span>
|
|
1479
|
-
511: <span class="ruby-value str">'unknown'</span>
|
|
1480
|
-
512: <span class="ruby-keyword kw">end</span>
|
|
1481
|
-
513: <span class="ruby-identifier">queryAttrs</span> = { <span class="ruby-value str">'project'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@project</span>,
|
|
1482
|
-
514: <span class="ruby-value str">'property'</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">self</span>,
|
|
1483
|
-
515: <span class="ruby-value str">'scopeProperty'</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">nil</span>,
|
|
1484
|
-
516: <span class="ruby-value str">'start'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@project</span>[<span class="ruby-value str">'start'</span>],
|
|
1485
|
-
517: <span class="ruby-value str">'end'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@project</span>[<span class="ruby-value str">'end'</span>],
|
|
1486
|
-
518: <span class="ruby-value str">'loadUnit'</span> =<span class="ruby-operator">></span> <span class="ruby-value">:days</span>,
|
|
1487
|
-
519: <span class="ruby-value str">'numberFormat'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@project</span>[<span class="ruby-value str">'numberFormat'</span>],
|
|
1488
|
-
520: <span class="ruby-value str">'timeFormat'</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">nil</span>,
|
|
1489
|
-
521: <span class="ruby-value str">'currencyFormat'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@project</span>[<span class="ruby-value str">'currencyFormat'</span>] }
|
|
1490
|
-
522: <span class="ruby-identifier">query</span> = <span class="ruby-constant">Query</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">queryAttrs</span>)
|
|
1491
|
-
523: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@attributes</span>[<span class="ruby-value str">'fail'</span>]
|
|
1492
|
-
524: <span class="ruby-ivar">@attributes</span>[<span class="ruby-value str">'fail'</span>].<span class="ruby-identifier">get</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">expr</span><span class="ruby-operator">|</span>
|
|
1493
|
-
525: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">expr</span>.<span class="ruby-identifier">eval</span>(<span class="ruby-identifier">query</span>)
|
|
1494
|
-
526: <span class="ruby-identifier">error</span>(<span class="ruby-node">"#{propertyType}_fail_check"</span>,
|
|
1495
|
-
527: <span class="ruby-node">"User defined check failed for #{propertyType} "</span> <span class="ruby-operator">+</span>
|
|
1496
|
-
528: <span class="ruby-node">"#{fullId} \n"</span> <span class="ruby-operator">+</span>
|
|
1497
|
-
529: <span class="ruby-node">"Condition: #{expr.to_s}\n"</span> <span class="ruby-operator">+</span>
|
|
1498
|
-
530: <span class="ruby-node">"Result: #{expr.to_s(query)}"</span>)
|
|
1499
|
-
531: <span class="ruby-keyword kw">end</span>
|
|
1500
|
-
532: <span class="ruby-keyword kw">end</span>
|
|
1501
|
-
533: <span class="ruby-keyword kw">end</span>
|
|
1502
|
-
534: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@attributes</span>[<span class="ruby-value str">'warn'</span>]
|
|
1503
|
-
535: <span class="ruby-ivar">@attributes</span>[<span class="ruby-value str">'warn'</span>].<span class="ruby-identifier">get</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">expr</span><span class="ruby-operator">|</span>
|
|
1504
|
-
536: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">expr</span>.<span class="ruby-identifier">eval</span>(<span class="ruby-identifier">query</span>)
|
|
1505
|
-
537: <span class="ruby-identifier">warning</span>(<span class="ruby-node">"#{propertyType}_warn_check"</span>,
|
|
1506
|
-
538: <span class="ruby-node">"User defined warning triggered for #{propertyType} "</span> <span class="ruby-operator">+</span>
|
|
1507
|
-
539: <span class="ruby-node">"#{fullId} \n"</span> <span class="ruby-operator">+</span>
|
|
1508
|
-
540: <span class="ruby-node">"Condition: #{expr.to_s}\n"</span> <span class="ruby-operator">+</span>
|
|
1509
|
-
541: <span class="ruby-node">"Result: #{expr.to_s(query)}"</span>)
|
|
1510
|
-
542: <span class="ruby-keyword kw">end</span>
|
|
1511
|
-
543: <span class="ruby-keyword kw">end</span>
|
|
1512
|
-
544: <span class="ruby-keyword kw">end</span>
|
|
1513
|
-
545: <span class="ruby-keyword kw">end</span>
|
|
1514
|
-
546: <span class="ruby-keyword kw">end</span></pre>
|
|
1515
|
-
</div>
|
|
1516
|
-
|
|
1517
|
-
</div>
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
</div>
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
<div id="container--method" class="method-detail ">
|
|
1526
|
-
<a name="method-i-container%3F"></a>
|
|
1527
|
-
|
|
1528
|
-
<div class="method-heading">
|
|
1529
|
-
|
|
1530
|
-
<span class="method-name">container?</span><span
|
|
1531
|
-
class="method-args">()</span>
|
|
1532
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1533
|
-
|
|
1534
|
-
</div>
|
|
1535
|
-
|
|
1536
|
-
<div class="method-description">
|
|
1537
|
-
|
|
1538
|
-
<p>
|
|
1539
|
-
Return true if the node has children.
|
|
1540
|
-
</p>
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
<div class="method-source-code"
|
|
1545
|
-
id="container--source">
|
|
1546
|
-
<pre>
|
|
1547
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 359</span>
|
|
1548
|
-
359: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">container?</span>
|
|
1549
|
-
360: <span class="ruby-operator">!</span><span class="ruby-ivar">@children</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">||</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@adoptees</span>.<span class="ruby-identifier">empty?</span>
|
|
1550
|
-
361: <span class="ruby-keyword kw">end</span></pre>
|
|
1551
|
-
</div>
|
|
1552
|
-
|
|
1553
|
-
</div>
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
</div>
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
<div id="deep-clone-method" class="method-detail ">
|
|
1562
|
-
<a name="method-i-deep_clone"></a>
|
|
1563
|
-
|
|
1564
|
-
<div class="method-heading">
|
|
1565
|
-
|
|
1566
|
-
<span class="method-name">deep_clone</span><span
|
|
1567
|
-
class="method-args">()</span>
|
|
1568
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1569
|
-
|
|
1570
|
-
</div>
|
|
1571
|
-
|
|
1572
|
-
<div class="method-description">
|
|
1573
|
-
|
|
1574
|
-
<p>
|
|
1575
|
-
We only use <a
|
|
1576
|
-
href="PropertyTreeNode.html#method-i-deep_clone">deep_clone</a> for
|
|
1577
|
-
attributes, never for properties. Since attributes may reference properties
|
|
1578
|
-
these references should remain references.
|
|
1579
|
-
</p>
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
<div class="method-source-code"
|
|
1584
|
-
id="deep-clone-source">
|
|
1585
|
-
<pre>
|
|
1586
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 134</span>
|
|
1587
|
-
134: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deep_clone</span>
|
|
1588
|
-
135: <span class="ruby-keyword kw">self</span>
|
|
1589
|
-
136: <span class="ruby-keyword kw">end</span></pre>
|
|
1590
|
-
</div>
|
|
1591
|
-
|
|
1592
|
-
</div>
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
</div>
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
<div id="error-method" class="method-detail ">
|
|
1601
|
-
<a name="method-i-error"></a>
|
|
1602
|
-
|
|
1603
|
-
<div class="method-heading">
|
|
1604
|
-
|
|
1605
|
-
<span class="method-name">error</span><span
|
|
1606
|
-
class="method-args">(id, text)</span>
|
|
1607
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1608
|
-
|
|
1609
|
-
</div>
|
|
1610
|
-
|
|
1611
|
-
<div class="method-description">
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
<div class="method-source-code"
|
|
1618
|
-
id="error-source">
|
|
1619
|
-
<pre>
|
|
1620
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 648</span>
|
|
1621
|
-
648: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">error</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>)
|
|
1622
|
-
649: <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">messageHandler</span>.<span class="ruby-identifier">error</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>, <span class="ruby-ivar">@sourceFileInfo</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-keyword kw">nil</span>)
|
|
1623
|
-
650: <span class="ruby-keyword kw">end</span></pre>
|
|
1624
|
-
</div>
|
|
1625
|
-
|
|
1626
|
-
</div>
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
</div>
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
<div id="full-d-method" class="method-detail ">
|
|
1635
|
-
<a name="method-i-fullId"></a>
|
|
1636
|
-
|
|
1637
|
-
<div class="method-heading">
|
|
1638
|
-
|
|
1639
|
-
<span class="method-name">fullId</span><span
|
|
1640
|
-
class="method-args">()</span>
|
|
1641
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1642
|
-
|
|
1643
|
-
</div>
|
|
1644
|
-
|
|
1645
|
-
<div class="method-description">
|
|
1646
|
-
|
|
1647
|
-
<p>
|
|
1648
|
-
Return the full id of this node. For <a
|
|
1649
|
-
href="PropertySet.html">PropertySet</a> objects with a flat namespace, this
|
|
1650
|
-
is just the ID. Otherwise, the full ID is composed of all IDs from the root
|
|
1651
|
-
node to this node, separating the IDs by a dot.
|
|
1652
|
-
</p>
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
<div class="method-source-code"
|
|
1657
|
-
id="full-d-source">
|
|
1658
|
-
<pre>
|
|
1659
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 283</span>
|
|
1660
|
-
283: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullId</span>
|
|
1661
|
-
284: <span class="ruby-identifier">res</span> = <span class="ruby-ivar">@subId</span>
|
|
1662
|
-
285: <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@propertySet</span>.<span class="ruby-identifier">flatNamespace</span>
|
|
1663
|
-
286: <span class="ruby-identifier">t</span> = <span class="ruby-keyword kw">self</span>
|
|
1664
|
-
287: <span class="ruby-keyword kw">until</span> (<span class="ruby-identifier">t</span> = <span class="ruby-identifier">t</span>.<span class="ruby-identifier">parent</span>).<span class="ruby-identifier">nil?</span>
|
|
1665
|
-
288: <span class="ruby-identifier">res</span> = <span class="ruby-identifier">t</span>.<span class="ruby-identifier">subId</span> <span class="ruby-operator">+</span> <span class="ruby-value str">"."</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">res</span>
|
|
1666
|
-
289: <span class="ruby-keyword kw">end</span>
|
|
1667
|
-
290: <span class="ruby-keyword kw">end</span>
|
|
1668
|
-
291: <span class="ruby-identifier">res</span>
|
|
1669
|
-
292: <span class="ruby-keyword kw">end</span></pre>
|
|
1670
|
-
</div>
|
|
1671
|
-
|
|
1672
|
-
</div>
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
</div>
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
<div id="get-method" class="method-detail ">
|
|
1681
|
-
<a name="method-i-get"></a>
|
|
1682
|
-
|
|
1683
|
-
<div class="method-heading">
|
|
1684
|
-
|
|
1685
|
-
<span class="method-name">get</span><span
|
|
1686
|
-
class="method-args">(attributeId)</span>
|
|
1687
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1688
|
-
|
|
1689
|
-
</div>
|
|
1690
|
-
|
|
1691
|
-
<div class="method-description">
|
|
1692
|
-
|
|
1693
|
-
<p>
|
|
1694
|
-
Return the value of the non-scenario-specific attribute with ID
|
|
1695
|
-
<em>attributeId</em>. This method works for built-in attributes as well. In
|
|
1696
|
-
case the attribute does not exist, an exception is raised.
|
|
1697
|
-
</p>
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
<div class="method-source-code"
|
|
1702
|
-
id="get-source">
|
|
1703
|
-
<pre>
|
|
1704
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 390</span>
|
|
1705
|
-
390: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">attributeId</span>)
|
|
1706
|
-
391: <span class="ruby-comment cmt"># Make sure the attribute gets created if it doesn't exist already.</span>
|
|
1707
|
-
392: <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">attributeId</span>]
|
|
1708
|
-
393: <span class="ruby-identifier">instance_variable_get</span>((<span class="ruby-value str">'@'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">attributeId</span>).<span class="ruby-identifier">intern</span>)
|
|
1709
|
-
394: <span class="ruby-keyword kw">end</span></pre>
|
|
1710
|
-
</div>
|
|
1711
|
-
|
|
1712
|
-
</div>
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
</div>
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
<div id="get-ttribute-method" class="method-detail ">
|
|
1721
|
-
<a name="method-i-getAttribute"></a>
|
|
1722
|
-
|
|
1723
|
-
<div class="method-heading">
|
|
1724
|
-
|
|
1725
|
-
<span class="method-name">getAttribute</span><span
|
|
1726
|
-
class="method-args">(attributeId, scenarioIdx = nil)</span>
|
|
1727
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1728
|
-
|
|
1729
|
-
</div>
|
|
1730
|
-
|
|
1731
|
-
<div class="method-description">
|
|
1732
|
-
|
|
1733
|
-
<p>
|
|
1734
|
-
Return the value of the attribute with ID <em>attributeId</em>. This method
|
|
1735
|
-
works for built-in attributes as well. In case this is a scenario-specific
|
|
1736
|
-
attribute, the scenario index needs to be provided by <em>scenarioIdx</em>,
|
|
1737
|
-
otherwise it must be nil. In case the attribute does not exist, an
|
|
1738
|
-
exception is raised.
|
|
1739
|
-
</p>
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
<div class="method-source-code"
|
|
1744
|
-
id="get-ttribute-source">
|
|
1745
|
-
<pre>
|
|
1746
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 401</span>
|
|
1747
|
-
401: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getAttribute</span>(<span class="ruby-identifier">attributeId</span>, <span class="ruby-identifier">scenarioIdx</span> = <span class="ruby-keyword kw">nil</span>)
|
|
1748
|
-
402: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">scenarioIdx</span>
|
|
1749
|
-
403: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attributeId</span>]
|
|
1750
|
-
404: <span class="ruby-keyword kw">else</span>
|
|
1751
|
-
405: <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">attributeId</span>]
|
|
1752
|
-
406: <span class="ruby-keyword kw">end</span>
|
|
1753
|
-
407: <span class="ruby-keyword kw">end</span></pre>
|
|
1754
|
-
</div>
|
|
1755
|
-
|
|
1756
|
-
</div>
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
</div>
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
<div id="get-ndicies-method" class="method-detail ">
|
|
1765
|
-
<a name="method-i-getBSIndicies"></a>
|
|
1766
|
-
|
|
1767
|
-
<div class="method-heading">
|
|
1768
|
-
|
|
1769
|
-
<span class="method-name">getBSIndicies</span><span
|
|
1770
|
-
class="method-args">()</span>
|
|
1771
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1772
|
-
|
|
1773
|
-
</div>
|
|
1774
|
-
|
|
1775
|
-
<div class="method-description">
|
|
1776
|
-
|
|
1777
|
-
<p>
|
|
1778
|
-
Return the hierarchical index of this node. In project management lingo
|
|
1779
|
-
this is called the Breakdown Structure Index (BSI). The result is an Array
|
|
1780
|
-
with an index for each level from the root to this node.
|
|
1781
|
-
</p>
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
<div class="method-source-code"
|
|
1786
|
-
id="get-ndicies-source">
|
|
1787
|
-
<pre>
|
|
1788
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 311</span>
|
|
1789
|
-
311: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getBSIndicies</span>
|
|
1790
|
-
312: <span class="ruby-identifier">idcs</span> = []
|
|
1791
|
-
313: <span class="ruby-identifier">p</span> = <span class="ruby-keyword kw">self</span>
|
|
1792
|
-
314: <span class="ruby-keyword kw">begin</span>
|
|
1793
|
-
315: <span class="ruby-identifier">parent</span> = <span class="ruby-identifier">p</span>.<span class="ruby-identifier">parent</span>
|
|
1794
|
-
316: <span class="ruby-identifier">idcs</span>.<span class="ruby-identifier">insert</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">parent</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">levelSeqNo</span>(<span class="ruby-identifier">p</span>) <span class="ruby-operator">:</span>
|
|
1795
|
-
317: <span class="ruby-ivar">@propertySet</span>.<span class="ruby-identifier">levelSeqNo</span>(<span class="ruby-identifier">p</span>))
|
|
1796
|
-
318: <span class="ruby-identifier">p</span> = <span class="ruby-identifier">parent</span>
|
|
1797
|
-
319: <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">p</span>
|
|
1798
|
-
320: <span class="ruby-identifier">idcs</span>
|
|
1799
|
-
321: <span class="ruby-keyword kw">end</span></pre>
|
|
1800
|
-
</div>
|
|
1801
|
-
|
|
1802
|
-
</div>
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
</div>
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
<div id="get-ndicies-method" class="method-detail ">
|
|
1811
|
-
<a name="method-i-getIndicies"></a>
|
|
1812
|
-
|
|
1813
|
-
<div class="method-heading">
|
|
1814
|
-
|
|
1815
|
-
<span class="method-name">getIndicies</span><span
|
|
1816
|
-
class="method-args">()</span>
|
|
1817
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1818
|
-
|
|
1819
|
-
</div>
|
|
1820
|
-
|
|
1821
|
-
<div class="method-description">
|
|
1822
|
-
|
|
1823
|
-
<p>
|
|
1824
|
-
Return the ‘index’ attributes of this property, prefixed by the
|
|
1825
|
-
‘index’ attributes of all its parents. The result is an Array
|
|
1826
|
-
of Fixnums.
|
|
1827
|
-
</p>
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
<div class="method-source-code"
|
|
1832
|
-
id="get-ndicies-source">
|
|
1833
|
-
<pre>
|
|
1834
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 325</span>
|
|
1835
|
-
325: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getIndicies</span>
|
|
1836
|
-
326: <span class="ruby-identifier">idcs</span> = []
|
|
1837
|
-
327: <span class="ruby-identifier">p</span> = <span class="ruby-keyword kw">self</span>
|
|
1838
|
-
328: <span class="ruby-keyword kw">begin</span>
|
|
1839
|
-
329: <span class="ruby-identifier">parent</span> = <span class="ruby-identifier">p</span>.<span class="ruby-identifier">parent</span>
|
|
1840
|
-
330: <span class="ruby-identifier">idcs</span>.<span class="ruby-identifier">insert</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">p</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value str">'index'</span>))
|
|
1841
|
-
331: <span class="ruby-identifier">p</span> = <span class="ruby-identifier">parent</span>
|
|
1842
|
-
332: <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">p</span>
|
|
1843
|
-
333: <span class="ruby-identifier">idcs</span>
|
|
1844
|
-
334: <span class="ruby-keyword kw">end</span></pre>
|
|
1845
|
-
</div>
|
|
1846
|
-
|
|
1847
|
-
</div>
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
</div>
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
<div id="info-method" class="method-detail ">
|
|
1856
|
-
<a name="method-i-info"></a>
|
|
1857
|
-
|
|
1858
|
-
<div class="method-heading">
|
|
1859
|
-
|
|
1860
|
-
<span class="method-name">info</span><span
|
|
1861
|
-
class="method-args">(id, text)</span>
|
|
1862
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1863
|
-
|
|
1864
|
-
</div>
|
|
1865
|
-
|
|
1866
|
-
<div class="method-description">
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
<div class="method-source-code"
|
|
1873
|
-
id="info-source">
|
|
1874
|
-
<pre>
|
|
1875
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 656</span>
|
|
1876
|
-
656: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">info</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>)
|
|
1877
|
-
657: <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">messageHandler</span>.<span class="ruby-identifier">info</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>, <span class="ruby-ivar">@sourceFileInfo</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-keyword kw">nil</span>)
|
|
1878
|
-
658: <span class="ruby-keyword kw">end</span></pre>
|
|
1879
|
-
</div>
|
|
1880
|
-
|
|
1881
|
-
</div>
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
</div>
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
<div id="inherit-ttributes-method" class="method-detail ">
|
|
1890
|
-
<a name="method-i-inheritAttributes"></a>
|
|
1891
|
-
|
|
1892
|
-
<div class="method-heading">
|
|
1893
|
-
|
|
1894
|
-
<span class="method-name">inheritAttributes</span><span
|
|
1895
|
-
class="method-args">()</span>
|
|
1896
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1897
|
-
|
|
1898
|
-
</div>
|
|
1899
|
-
|
|
1900
|
-
<div class="method-description">
|
|
1901
|
-
|
|
1902
|
-
<p>
|
|
1903
|
-
Inherit values for the attributes from the parent node or the <a
|
|
1904
|
-
href="Project.html">Project</a>.
|
|
1905
|
-
</p>
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
<div class="method-source-code"
|
|
1910
|
-
id="inherit-ttributes-source">
|
|
1911
|
-
<pre>
|
|
1912
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 211</span>
|
|
1913
|
-
211: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inheritAttributes</span>
|
|
1914
|
-
212: <span class="ruby-comment cmt"># Inherit non-scenario-specific values</span>
|
|
1915
|
-
213: <span class="ruby-ivar">@propertySet</span>.<span class="ruby-identifier">eachAttributeDefinition</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">attrDef</span><span class="ruby-operator">|</span>
|
|
1916
|
-
214: <span class="ruby-keyword kw">next</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">scenarioSpecific</span> <span class="ruby-operator">||</span> <span class="ruby-operator">!</span><span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">inheritedFromParent</span>
|
|
1917
|
-
215:
|
|
1918
|
-
216: <span class="ruby-identifier">aId</span> = <span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">id</span>
|
|
1919
|
-
217: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">parent</span>
|
|
1920
|
-
218: <span class="ruby-comment cmt"># Inherit values from parent property</span>
|
|
1921
|
-
219: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">provided</span>(<span class="ruby-identifier">aId</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">inherited</span>(<span class="ruby-identifier">aId</span>)
|
|
1922
|
-
220: <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">aId</span>].<span class="ruby-identifier">inherit</span>(<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">aId</span>))
|
|
1923
|
-
221: <span class="ruby-keyword kw">end</span>
|
|
1924
|
-
222: <span class="ruby-keyword kw">else</span>
|
|
1925
|
-
223: <span class="ruby-comment cmt"># Inherit selected values from project if top-level property</span>
|
|
1926
|
-
224: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">inheritedFromProject</span>
|
|
1927
|
-
225: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@project</span>[<span class="ruby-identifier">aId</span>]
|
|
1928
|
-
226: <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">aId</span>].<span class="ruby-identifier">inherit</span>(<span class="ruby-ivar">@project</span>[<span class="ruby-identifier">aId</span>])
|
|
1929
|
-
227: <span class="ruby-keyword kw">end</span>
|
|
1930
|
-
228: <span class="ruby-keyword kw">end</span>
|
|
1931
|
-
229: <span class="ruby-keyword kw">end</span>
|
|
1932
|
-
230: <span class="ruby-keyword kw">end</span>
|
|
1933
|
-
231:
|
|
1934
|
-
232: <span class="ruby-comment cmt"># Inherit scenario-specific values</span>
|
|
1935
|
-
233: <span class="ruby-ivar">@propertySet</span>.<span class="ruby-identifier">eachAttributeDefinition</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">attrDef</span><span class="ruby-operator">|</span>
|
|
1936
|
-
234: <span class="ruby-keyword kw">next</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">scenarioSpecific</span> <span class="ruby-operator">||</span> <span class="ruby-operator">!</span><span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">inheritedFromParent</span>
|
|
1937
|
-
235:
|
|
1938
|
-
236: <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">scenarioCount</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">scenarioIdx</span><span class="ruby-operator">|</span>
|
|
1939
|
-
237: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">parent</span>
|
|
1940
|
-
238: <span class="ruby-comment cmt"># Inherit scenario specific values from parent property</span>
|
|
1941
|
-
239: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">provided</span>(<span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">scenarioIdx</span>) <span class="ruby-operator">||</span>
|
|
1942
|
-
240: <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">inherited</span>(<span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">scenarioIdx</span>)
|
|
1943
|
-
241: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">id</span>].<span class="ruby-identifier">inherit</span>(
|
|
1944
|
-
242: <span class="ruby-identifier">parent</span>[<span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">scenarioIdx</span>])
|
|
1945
|
-
243: <span class="ruby-keyword kw">end</span>
|
|
1946
|
-
244: <span class="ruby-keyword kw">else</span>
|
|
1947
|
-
245: <span class="ruby-comment cmt"># Inherit selected values from project if top-level property</span>
|
|
1948
|
-
246: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">inheritedFromProject</span>
|
|
1949
|
-
247: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@project</span>[<span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">id</span>] <span class="ruby-operator">&&</span>
|
|
1950
|
-
248: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">id</span>]
|
|
1951
|
-
249: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">id</span>].<span class="ruby-identifier">inherit</span>(
|
|
1952
|
-
250: <span class="ruby-ivar">@project</span>[<span class="ruby-identifier">attrDef</span>.<span class="ruby-identifier">id</span>])
|
|
1953
|
-
251: <span class="ruby-keyword kw">end</span>
|
|
1954
|
-
252: <span class="ruby-keyword kw">end</span>
|
|
1955
|
-
253: <span class="ruby-keyword kw">end</span>
|
|
1956
|
-
254: <span class="ruby-keyword kw">end</span>
|
|
1957
|
-
255: <span class="ruby-keyword kw">end</span>
|
|
1958
|
-
256: <span class="ruby-keyword kw">end</span></pre>
|
|
1959
|
-
</div>
|
|
1960
|
-
|
|
1961
|
-
</div>
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
</div>
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
<div id="inherited-method" class="method-detail ">
|
|
1970
|
-
<a name="method-i-inherited"></a>
|
|
1971
|
-
|
|
1972
|
-
<div class="method-heading">
|
|
1973
|
-
|
|
1974
|
-
<span class="method-name">inherited</span><span
|
|
1975
|
-
class="method-args">(attributeId, scenarioIdx = nil)</span>
|
|
1976
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1977
|
-
|
|
1978
|
-
</div>
|
|
1979
|
-
|
|
1980
|
-
<div class="method-description">
|
|
1981
|
-
|
|
1982
|
-
<p>
|
|
1983
|
-
Returns true if the value of the attribute <em>attributeId</em> (in
|
|
1984
|
-
scenario <em>scenarioIdx</em>) has been inherited from a parent node or
|
|
1985
|
-
scenario.
|
|
1986
|
-
</p>
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
<div class="method-source-code"
|
|
1991
|
-
id="inherited-source">
|
|
1992
|
-
<pre>
|
|
1993
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 477</span>
|
|
1994
|
-
477: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inherited</span>(<span class="ruby-identifier">attributeId</span>, <span class="ruby-identifier">scenarioIdx</span> = <span class="ruby-keyword kw">nil</span>)
|
|
1995
|
-
478: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">scenarioIdx</span>
|
|
1996
|
-
479: <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>].<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">attributeId</span>)
|
|
1997
|
-
480: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
|
|
1998
|
-
481: <span class="ruby-keyword kw">end</span>
|
|
1999
|
-
482: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">inherited</span>
|
|
2000
|
-
483: <span class="ruby-keyword kw">else</span>
|
|
2001
|
-
484: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@attributes</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">attributeId</span>)
|
|
2002
|
-
485: <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">inherited</span>
|
|
2003
|
-
486: <span class="ruby-keyword kw">end</span>
|
|
2004
|
-
487: <span class="ruby-keyword kw">end</span></pre>
|
|
2005
|
-
</div>
|
|
2006
|
-
|
|
2007
|
-
</div>
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
</div>
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
<div id="is-hild-f--method" class="method-detail ">
|
|
2016
|
-
<a name="method-i-isChildOf%3F"></a>
|
|
2017
|
-
|
|
2018
|
-
<div class="method-heading">
|
|
2019
|
-
|
|
2020
|
-
<span class="method-name">isChildOf?</span><span
|
|
2021
|
-
class="method-args">(ancestor)</span>
|
|
2022
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2023
|
-
|
|
2024
|
-
</div>
|
|
2025
|
-
|
|
2026
|
-
<div class="method-description">
|
|
2027
|
-
|
|
2028
|
-
<p>
|
|
2029
|
-
Find out if this property is a direct or indirect child of
|
|
2030
|
-
<em>ancestor</em>.
|
|
2031
|
-
</p>
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
<div class="method-source-code"
|
|
2036
|
-
id="is-hild-f--source">
|
|
2037
|
-
<pre>
|
|
2038
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 345</span>
|
|
2039
|
-
345: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">isChildOf?</span>(<span class="ruby-identifier">ancestor</span>)
|
|
2040
|
-
346: <span class="ruby-identifier">parent</span> = <span class="ruby-keyword kw">self</span>
|
|
2041
|
-
347: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">parent</span> = <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">parent</span>
|
|
2042
|
-
348: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">parent</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">ancestor</span>)
|
|
2043
|
-
349: <span class="ruby-keyword kw">end</span>
|
|
2044
|
-
350: <span class="ruby-keyword kw">false</span>
|
|
2045
|
-
351: <span class="ruby-keyword kw">end</span></pre>
|
|
2046
|
-
</div>
|
|
2047
|
-
|
|
2048
|
-
</div>
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
</div>
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
<div id="kids-method" class="method-detail ">
|
|
2057
|
-
<a name="method-i-kids"></a>
|
|
2058
|
-
|
|
2059
|
-
<div class="method-heading">
|
|
2060
|
-
|
|
2061
|
-
<span class="method-name">kids</span><span
|
|
2062
|
-
class="method-args">()</span>
|
|
2063
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2064
|
-
|
|
2065
|
-
</div>
|
|
2066
|
-
|
|
2067
|
-
<div class="method-description">
|
|
2068
|
-
|
|
2069
|
-
<p>
|
|
2070
|
-
Return a list of all children including adopted kids.
|
|
2071
|
-
</p>
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
<div class="method-source-code"
|
|
2076
|
-
id="kids-source">
|
|
2077
|
-
<pre>
|
|
2078
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 184</span>
|
|
2079
|
-
184: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">kids</span>
|
|
2080
|
-
185: <span class="ruby-ivar">@children</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@adoptees</span>
|
|
2081
|
-
186: <span class="ruby-keyword kw">end</span></pre>
|
|
2082
|
-
</div>
|
|
2083
|
-
|
|
2084
|
-
</div>
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
</div>
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
<div id="leaf--method" class="method-detail ">
|
|
2093
|
-
<a name="method-i-leaf%3F"></a>
|
|
2094
|
-
|
|
2095
|
-
<div class="method-heading">
|
|
2096
|
-
|
|
2097
|
-
<span class="method-name">leaf?</span><span
|
|
2098
|
-
class="method-args">()</span>
|
|
2099
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2100
|
-
|
|
2101
|
-
</div>
|
|
2102
|
-
|
|
2103
|
-
<div class="method-description">
|
|
2104
|
-
|
|
2105
|
-
<p>
|
|
2106
|
-
Return true if the node is a leaf node (has no children).
|
|
2107
|
-
</p>
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
<div class="method-source-code"
|
|
2112
|
-
id="leaf--source">
|
|
2113
|
-
<pre>
|
|
2114
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 354</span>
|
|
2115
|
-
354: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">leaf?</span>
|
|
2116
|
-
355: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@adoptees</span>.<span class="ruby-identifier">empty?</span>
|
|
2117
|
-
356: <span class="ruby-keyword kw">end</span></pre>
|
|
2118
|
-
</div>
|
|
2119
|
-
|
|
2120
|
-
</div>
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
</div>
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
<div id="level-method" class="method-detail ">
|
|
2129
|
-
<a name="method-i-level"></a>
|
|
2130
|
-
|
|
2131
|
-
<div class="method-heading">
|
|
2132
|
-
|
|
2133
|
-
<span class="method-name">level</span><span
|
|
2134
|
-
class="method-args">()</span>
|
|
2135
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2136
|
-
|
|
2137
|
-
</div>
|
|
2138
|
-
|
|
2139
|
-
<div class="method-description">
|
|
2140
|
-
|
|
2141
|
-
<p>
|
|
2142
|
-
Returns the level that this property is on. Top-level properties return 0,
|
|
2143
|
-
their children 1 and so on. This value is cached internally, so it does not
|
|
2144
|
-
have to be calculated each time the function is called.
|
|
2145
|
-
</p>
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
<div class="method-source-code"
|
|
2150
|
-
id="level-source">
|
|
2151
|
-
<pre>
|
|
2152
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 297</span>
|
|
2153
|
-
297: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">level</span>
|
|
2154
|
-
298: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@level</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@level</span> <span class="ruby-operator">>=</span> <span class="ruby-value">0</span>
|
|
2155
|
-
299:
|
|
2156
|
-
300: <span class="ruby-identifier">t</span> = <span class="ruby-keyword kw">self</span>
|
|
2157
|
-
301: <span class="ruby-ivar">@level</span> = <span class="ruby-value">0</span>
|
|
2158
|
-
302: <span class="ruby-keyword kw">until</span> (<span class="ruby-identifier">t</span> = <span class="ruby-identifier">t</span>.<span class="ruby-identifier">parent</span>).<span class="ruby-identifier">nil?</span>
|
|
2159
|
-
303: <span class="ruby-ivar">@level</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
|
|
2160
|
-
304: <span class="ruby-keyword kw">end</span>
|
|
2161
|
-
305: <span class="ruby-ivar">@level</span>
|
|
2162
|
-
306: <span class="ruby-keyword kw">end</span></pre>
|
|
2163
|
-
</div>
|
|
2164
|
-
|
|
2165
|
-
</div>
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
</div>
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
<div id="level-eq-o-method" class="method-detail ">
|
|
2174
|
-
<a name="method-i-levelSeqNo"></a>
|
|
2175
|
-
|
|
2176
|
-
<div class="method-heading">
|
|
2177
|
-
|
|
2178
|
-
<span class="method-name">levelSeqNo</span><span
|
|
2179
|
-
class="method-args">(node)</span>
|
|
2180
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2181
|
-
|
|
2182
|
-
</div>
|
|
2183
|
-
|
|
2184
|
-
<div class="method-description">
|
|
2185
|
-
|
|
2186
|
-
<p>
|
|
2187
|
-
Return the index of the child <em>node</em>.
|
|
2188
|
-
</p>
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
<div class="method-source-code"
|
|
2193
|
-
id="level-eq-o-source">
|
|
2194
|
-
<pre>
|
|
2195
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 206</span>
|
|
2196
|
-
206: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">levelSeqNo</span>(<span class="ruby-identifier">node</span>)
|
|
2197
|
-
207: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">index</span>(<span class="ruby-identifier">node</span>) <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
|
|
2198
|
-
208: <span class="ruby-keyword kw">end</span></pre>
|
|
2199
|
-
</div>
|
|
2200
|
-
|
|
2201
|
-
</div>
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
</div>
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
<div id="method-missing-method" class="method-detail ">
|
|
2210
|
-
<a name="method-i-method_missing"></a>
|
|
2211
|
-
|
|
2212
|
-
<div class="method-heading">
|
|
2213
|
-
|
|
2214
|
-
<span class="method-name">method_missing</span><span
|
|
2215
|
-
class="method-args">(func, scenarioIdx, *args)</span>
|
|
2216
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2217
|
-
|
|
2218
|
-
</div>
|
|
2219
|
-
|
|
2220
|
-
<div class="method-description">
|
|
2221
|
-
|
|
2222
|
-
<p>
|
|
2223
|
-
Many <a href="PropertyTreeNode.html">PropertyTreeNode</a> functions are
|
|
2224
|
-
scenario specific. These functions are provided by the class *<a
|
|
2225
|
-
href="Scenario.html">Scenario</a> classes. In case we can’t find a
|
|
2226
|
-
function called for the base class we try to find it in corresponding *<a
|
|
2227
|
-
href="Scenario.html">Scenario</a> class.
|
|
2228
|
-
</p>
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
<div class="method-source-code"
|
|
2233
|
-
id="method-missing-source">
|
|
2234
|
-
<pre>
|
|
2235
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 644</span>
|
|
2236
|
-
644: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">func</span>, <span class="ruby-identifier">scenarioIdx</span>, *<span class="ruby-identifier">args</span>)
|
|
2237
|
-
645: <span class="ruby-ivar">@data</span>[<span class="ruby-identifier">scenarioIdx</span>].<span class="ruby-identifier">method</span>(<span class="ruby-identifier">func</span>).<span class="ruby-identifier">call</span>(*<span class="ruby-identifier">args</span>)
|
|
2238
|
-
646: <span class="ruby-keyword kw">end</span></pre>
|
|
2239
|
-
</div>
|
|
2240
|
-
|
|
2241
|
-
</div>
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
</div>
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
<div id="modified--method" class="method-detail ">
|
|
2250
|
-
<a name="method-i-modified%3F"></a>
|
|
2251
|
-
|
|
2252
|
-
<div class="method-heading">
|
|
2253
|
-
|
|
2254
|
-
<span class="method-name">modified?</span><span
|
|
2255
|
-
class="method-args">(attributeId, scenarioIdx = nil)</span>
|
|
2256
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2257
|
-
|
|
2258
|
-
</div>
|
|
2259
|
-
|
|
2260
|
-
<div class="method-description">
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
<div class="method-source-code"
|
|
2267
|
-
id="modified--source">
|
|
2268
|
-
<pre>
|
|
2269
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 489</span>
|
|
2270
|
-
489: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modified?</span>(<span class="ruby-identifier">attributeId</span>, <span class="ruby-identifier">scenarioIdx</span> = <span class="ruby-keyword kw">nil</span>)
|
|
2271
|
-
490: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">scenarioIdx</span>
|
|
2272
|
-
491: <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>].<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">attributeId</span>)
|
|
2273
|
-
492: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
|
|
2274
|
-
493: <span class="ruby-keyword kw">end</span>
|
|
2275
|
-
494:
|
|
2276
|
-
495: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">provided</span> <span class="ruby-operator">||</span>
|
|
2277
|
-
496: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">inherited</span>
|
|
2278
|
-
497: <span class="ruby-keyword kw">else</span>
|
|
2279
|
-
498: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@attributes</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">attributeId</span>)
|
|
2280
|
-
499: <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">provided</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">inherited</span>
|
|
2281
|
-
500: <span class="ruby-keyword kw">end</span>
|
|
2282
|
-
501: <span class="ruby-keyword kw">end</span></pre>
|
|
2283
|
-
</div>
|
|
2284
|
-
|
|
2285
|
-
</div>
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
</div>
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
<div id="parents-method" class="method-detail ">
|
|
2294
|
-
<a name="method-i-parents"></a>
|
|
2295
|
-
|
|
2296
|
-
<div class="method-heading">
|
|
2297
|
-
|
|
2298
|
-
<span class="method-name">parents</span><span
|
|
2299
|
-
class="method-args">()</span>
|
|
2300
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2301
|
-
|
|
2302
|
-
</div>
|
|
2303
|
-
|
|
2304
|
-
<div class="method-description">
|
|
2305
|
-
|
|
2306
|
-
<p>
|
|
2307
|
-
Return a list of all parents including step parents.
|
|
2308
|
-
</p>
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
<div class="method-source-code"
|
|
2313
|
-
id="parents-source">
|
|
2314
|
-
<pre>
|
|
2315
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 189</span>
|
|
2316
|
-
189: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parents</span>
|
|
2317
|
-
190: (<span class="ruby-ivar">@parent</span> <span class="ruby-operator">?</span> [ <span class="ruby-ivar">@parent</span> ] <span class="ruby-operator">:</span> []) <span class="ruby-operator">+</span> <span class="ruby-ivar">@stepParents</span>
|
|
2318
|
-
191: <span class="ruby-keyword kw">end</span></pre>
|
|
2319
|
-
</div>
|
|
2320
|
-
|
|
2321
|
-
</div>
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
</div>
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
<div id="provided-method" class="method-detail ">
|
|
2330
|
-
<a name="method-i-provided"></a>
|
|
2331
|
-
|
|
2332
|
-
<div class="method-heading">
|
|
2333
|
-
|
|
2334
|
-
<span class="method-name">provided</span><span
|
|
2335
|
-
class="method-args">(attributeId, scenarioIdx = nil)</span>
|
|
2336
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2337
|
-
|
|
2338
|
-
</div>
|
|
2339
|
-
|
|
2340
|
-
<div class="method-description">
|
|
2341
|
-
|
|
2342
|
-
<p>
|
|
2343
|
-
Returns true if the value of the attribute <em>attributeId</em> (in
|
|
2344
|
-
scenario <em>scenarioIdx</em>) has been provided by the user.
|
|
2345
|
-
</p>
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
<div class="method-source-code"
|
|
2350
|
-
id="provided-source">
|
|
2351
|
-
<pre>
|
|
2352
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 463</span>
|
|
2353
|
-
463: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">provided</span>(<span class="ruby-identifier">attributeId</span>, <span class="ruby-identifier">scenarioIdx</span> = <span class="ruby-keyword kw">nil</span>)
|
|
2354
|
-
464: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">scenarioIdx</span>
|
|
2355
|
-
465: <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>].<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">attributeId</span>)
|
|
2356
|
-
466: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
|
|
2357
|
-
467: <span class="ruby-keyword kw">end</span>
|
|
2358
|
-
468: <span class="ruby-ivar">@scenarioAttributes</span>[<span class="ruby-identifier">scenarioIdx</span>][<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">provided</span>
|
|
2359
|
-
469: <span class="ruby-keyword kw">else</span>
|
|
2360
|
-
470: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@attributes</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">attributeId</span>)
|
|
2361
|
-
471: <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">provided</span>
|
|
2362
|
-
472: <span class="ruby-keyword kw">end</span>
|
|
2363
|
-
473: <span class="ruby-keyword kw">end</span></pre>
|
|
2364
|
-
</div>
|
|
2365
|
-
|
|
2366
|
-
</div>
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
</div>
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
<div id="query-alert-method" class="method-detail ">
|
|
2375
|
-
<a name="method-i-query_alert"></a>
|
|
2376
|
-
|
|
2377
|
-
<div class="method-heading">
|
|
2378
|
-
|
|
2379
|
-
<span class="method-name">query_alert</span><span
|
|
2380
|
-
class="method-args">(query)</span>
|
|
2381
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2382
|
-
|
|
2383
|
-
</div>
|
|
2384
|
-
|
|
2385
|
-
<div class="method-description">
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
<div class="method-source-code"
|
|
2392
|
-
id="query-alert-source">
|
|
2393
|
-
<pre>
|
|
2394
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 548</span>
|
|
2395
|
-
548: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">query_alert</span>(<span class="ruby-identifier">query</span>)
|
|
2396
|
-
549: <span class="ruby-identifier">journal</span> = <span class="ruby-ivar">@project</span>[<span class="ruby-value str">'journal'</span>]
|
|
2397
|
-
550: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">sortable</span> = <span class="ruby-identifier">query</span>.<span class="ruby-identifier">numerical</span> = <span class="ruby-identifier">alert</span> =
|
|
2398
|
-
551: <span class="ruby-identifier">journal</span>.<span class="ruby-identifier">alertLevel</span>(<span class="ruby-identifier">query</span>.<span class="ruby-identifier">end</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">query</span>.<span class="ruby-identifier">hideJournalEntry</span>)
|
|
2399
|
-
552: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">string</span> = <span class="ruby-identifier">colorName</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">alertLevelName</span>(<span class="ruby-identifier">alert</span>)
|
|
2400
|
-
553: <span class="ruby-identifier">rText</span> = <span class="ruby-node">"<fcol:#{colorName.downcase}>#{colorName}</fcol>"</span>
|
|
2401
|
-
554: <span class="ruby-keyword kw">unless</span> (<span class="ruby-identifier">rti</span> = <span class="ruby-constant">RichText</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">rText</span>, <span class="ruby-constant">RTFHandlers</span>.<span class="ruby-identifier">create</span>(<span class="ruby-ivar">@project</span>),
|
|
2402
|
-
555: <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">messageHandler</span>).
|
|
2403
|
-
556: <span class="ruby-identifier">generateIntermediateFormat</span>)
|
|
2404
|
-
557: <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">messageHandler</span>.<span class="ruby-identifier">warning</span>(<span class="ruby-value str">'ptn_journal'</span>,
|
|
2405
|
-
558: <span class="ruby-value str">"Syntax error in journal message"</span>)
|
|
2406
|
-
559: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
|
|
2407
|
-
560: <span class="ruby-keyword kw">end</span>
|
|
2408
|
-
561: <span class="ruby-identifier">rti</span>.<span class="ruby-identifier">blockMode</span> = <span class="ruby-keyword kw">false</span>
|
|
2409
|
-
562: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">rti</span> = <span class="ruby-identifier">rti</span>
|
|
2410
|
-
563: <span class="ruby-keyword kw">end</span></pre>
|
|
2411
|
-
</div>
|
|
2412
|
-
|
|
2413
|
-
</div>
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
</div>
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
<div id="query-alertmessages-method" class="method-detail ">
|
|
2422
|
-
<a name="method-i-query_alertmessages"></a>
|
|
2423
|
-
|
|
2424
|
-
<div class="method-heading">
|
|
2425
|
-
|
|
2426
|
-
<span class="method-name">query_alertmessages</span><span
|
|
2427
|
-
class="method-args">(query)</span>
|
|
2428
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2429
|
-
|
|
2430
|
-
</div>
|
|
2431
|
-
|
|
2432
|
-
<div class="method-description">
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
<div class="method-source-code"
|
|
2439
|
-
id="query-alertmessages-source">
|
|
2440
|
-
<pre>
|
|
2441
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 565</span>
|
|
2442
|
-
565: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">query_alertmessages</span>(<span class="ruby-identifier">query</span>)
|
|
2443
|
-
566: <span class="ruby-identifier">journalMessages</span>(<span class="ruby-ivar">@project</span>[<span class="ruby-value str">'journal'</span>].<span class="ruby-identifier">alertEntries</span>(<span class="ruby-identifier">query</span>.<span class="ruby-identifier">end</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-value">1</span>,
|
|
2444
|
-
567: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">start</span>,
|
|
2445
|
-
568: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">hideJournalEntry</span>),
|
|
2446
|
-
569: <span class="ruby-identifier">query</span>, <span class="ruby-keyword kw">true</span>)
|
|
2447
|
-
570: <span class="ruby-keyword kw">end</span></pre>
|
|
2448
|
-
</div>
|
|
2449
|
-
|
|
2450
|
-
</div>
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
</div>
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
<div id="query-alertsummaries-method" class="method-detail ">
|
|
2459
|
-
<a name="method-i-query_alertsummaries"></a>
|
|
2460
|
-
|
|
2461
|
-
<div class="method-heading">
|
|
2462
|
-
|
|
2463
|
-
<span class="method-name">query_alertsummaries</span><span
|
|
2464
|
-
class="method-args">(query)</span>
|
|
2465
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2466
|
-
|
|
2467
|
-
</div>
|
|
2468
|
-
|
|
2469
|
-
<div class="method-description">
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
<div class="method-source-code"
|
|
2476
|
-
id="query-alertsummaries-source">
|
|
2477
|
-
<pre>
|
|
2478
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 572</span>
|
|
2479
|
-
572: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">query_alertsummaries</span>(<span class="ruby-identifier">query</span>)
|
|
2480
|
-
573: <span class="ruby-identifier">journalMessages</span>(<span class="ruby-ivar">@project</span>[<span class="ruby-value str">'journal'</span>].<span class="ruby-identifier">alertEntries</span>(<span class="ruby-identifier">query</span>.<span class="ruby-identifier">end</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-value">1</span>,
|
|
2481
|
-
574: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">start</span>,
|
|
2482
|
-
575: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">hideJournalEntry</span>),
|
|
2483
|
-
576: <span class="ruby-identifier">query</span>, <span class="ruby-keyword kw">false</span>)
|
|
2484
|
-
577: <span class="ruby-keyword kw">end</span></pre>
|
|
2485
|
-
</div>
|
|
2486
|
-
|
|
2487
|
-
</div>
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
</div>
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
<div id="query-alerttrend-method" class="method-detail ">
|
|
2496
|
-
<a name="method-i-query_alerttrend"></a>
|
|
2497
|
-
|
|
2498
|
-
<div class="method-heading">
|
|
2499
|
-
|
|
2500
|
-
<span class="method-name">query_alerttrend</span><span
|
|
2501
|
-
class="method-args">(query)</span>
|
|
2502
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2503
|
-
|
|
2504
|
-
</div>
|
|
2505
|
-
|
|
2506
|
-
<div class="method-description">
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
<div class="method-source-code"
|
|
2513
|
-
id="query-alerttrend-source">
|
|
2514
|
-
<pre>
|
|
2515
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 593</span>
|
|
2516
|
-
593: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">query_alerttrend</span>(<span class="ruby-identifier">query</span>)
|
|
2517
|
-
594: <span class="ruby-identifier">journal</span> = <span class="ruby-ivar">@project</span>[<span class="ruby-value str">'journal'</span>]
|
|
2518
|
-
595: <span class="ruby-identifier">startAlert</span> = <span class="ruby-identifier">journal</span>.<span class="ruby-identifier">alertLevel</span>(<span class="ruby-identifier">query</span>.<span class="ruby-identifier">start</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">query</span>.<span class="ruby-identifier">hideJournalEntry</span>)
|
|
2519
|
-
596: <span class="ruby-identifier">endAlert</span> = <span class="ruby-identifier">journal</span>.<span class="ruby-identifier">alertLevel</span>(<span class="ruby-identifier">query</span>.<span class="ruby-identifier">end</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">query</span>.<span class="ruby-identifier">hideJournalEntry</span>)
|
|
2520
|
-
597: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">startAlert</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">endAlert</span>
|
|
2521
|
-
598: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">sortable</span> = <span class="ruby-value">0</span>
|
|
2522
|
-
599: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">string</span> = <span class="ruby-value str">'Up'</span>
|
|
2523
|
-
600: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">startAlert</span> <span class="ruby-operator">></span> <span class="ruby-identifier">endAlert</span>
|
|
2524
|
-
601: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">sortable</span> = <span class="ruby-value">2</span>
|
|
2525
|
-
602: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">string</span> = <span class="ruby-value str">'Down'</span>
|
|
2526
|
-
603: <span class="ruby-keyword kw">else</span>
|
|
2527
|
-
604: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">sortable</span> = <span class="ruby-value">1</span>
|
|
2528
|
-
605: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">string</span> = <span class="ruby-value str">'Flat'</span>
|
|
2529
|
-
606: <span class="ruby-keyword kw">end</span>
|
|
2530
|
-
607: <span class="ruby-keyword kw">end</span></pre>
|
|
2531
|
-
</div>
|
|
2532
|
-
|
|
2533
|
-
</div>
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
</div>
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
<div id="query-journalmessages-method" class="method-detail ">
|
|
2542
|
-
<a name="method-i-query_journalmessages"></a>
|
|
2543
|
-
|
|
2544
|
-
<div class="method-heading">
|
|
2545
|
-
|
|
2546
|
-
<span class="method-name">query_journalmessages</span><span
|
|
2547
|
-
class="method-args">(query)</span>
|
|
2548
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2549
|
-
|
|
2550
|
-
</div>
|
|
2551
|
-
|
|
2552
|
-
<div class="method-description">
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
<div class="method-source-code"
|
|
2559
|
-
id="query-journalmessages-source">
|
|
2560
|
-
<pre>
|
|
2561
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 579</span>
|
|
2562
|
-
579: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">query_journalmessages</span>(<span class="ruby-identifier">query</span>)
|
|
2563
|
-
580: <span class="ruby-identifier">journalMessages</span>(<span class="ruby-ivar">@project</span>[<span class="ruby-value str">'journal'</span>].<span class="ruby-identifier">currentEntries</span>(<span class="ruby-identifier">query</span>.<span class="ruby-identifier">end</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-value">0</span>,
|
|
2564
|
-
581: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">start</span>,
|
|
2565
|
-
582: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">hideJournalEntry</span>),
|
|
2566
|
-
583: <span class="ruby-identifier">query</span>, <span class="ruby-keyword kw">true</span>)
|
|
2567
|
-
584: <span class="ruby-keyword kw">end</span></pre>
|
|
2568
|
-
</div>
|
|
2569
|
-
|
|
2570
|
-
</div>
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
</div>
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
<div id="query-journalsummaries-method" class="method-detail ">
|
|
2579
|
-
<a name="method-i-query_journalsummaries"></a>
|
|
2580
|
-
|
|
2581
|
-
<div class="method-heading">
|
|
2582
|
-
|
|
2583
|
-
<span class="method-name">query_journalsummaries</span><span
|
|
2584
|
-
class="method-args">(query)</span>
|
|
2585
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2586
|
-
|
|
2587
|
-
</div>
|
|
2588
|
-
|
|
2589
|
-
<div class="method-description">
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
<div class="method-source-code"
|
|
2596
|
-
id="query-journalsummaries-source">
|
|
2597
|
-
<pre>
|
|
2598
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 586</span>
|
|
2599
|
-
586: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">query_journalsummaries</span>(<span class="ruby-identifier">query</span>)
|
|
2600
|
-
587: <span class="ruby-identifier">journalMessages</span>(<span class="ruby-ivar">@project</span>[<span class="ruby-value str">'journal'</span>].<span class="ruby-identifier">currentEntries</span>(<span class="ruby-identifier">query</span>.<span class="ruby-identifier">end</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-value">0</span>,
|
|
2601
|
-
588: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">start</span>,
|
|
2602
|
-
589: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">hideJournalEntry</span>),
|
|
2603
|
-
590: <span class="ruby-identifier">query</span>, <span class="ruby-keyword kw">false</span>)
|
|
2604
|
-
591: <span class="ruby-keyword kw">end</span></pre>
|
|
2605
|
-
</div>
|
|
2606
|
-
|
|
2607
|
-
</div>
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
</div>
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
<div id="restore-ttributes-method" class="method-detail ">
|
|
2616
|
-
<a name="method-i-restoreAttributes"></a>
|
|
2617
|
-
|
|
2618
|
-
<div class="method-heading">
|
|
2619
|
-
|
|
2620
|
-
<span class="method-name">restoreAttributes</span><span
|
|
2621
|
-
class="method-args">(backup)</span>
|
|
2622
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2623
|
-
|
|
2624
|
-
</div>
|
|
2625
|
-
|
|
2626
|
-
<div class="method-description">
|
|
2627
|
-
|
|
2628
|
-
<p>
|
|
2629
|
-
Restore the attributes to a previously saved state. <em>backup</em> is an
|
|
2630
|
-
Array generated by backupAttributes().
|
|
2631
|
-
</p>
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
<div class="method-source-code"
|
|
2636
|
-
id="restore-ttributes-source">
|
|
2637
|
-
<pre>
|
|
2638
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 201</span>
|
|
2639
|
-
201: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restoreAttributes</span>(<span class="ruby-identifier">backup</span>)
|
|
2640
|
-
202: <span class="ruby-ivar">@attributes</span>, <span class="ruby-ivar">@scenarioAttributes</span> = <span class="ruby-identifier">backup</span>
|
|
2641
|
-
203: <span class="ruby-keyword kw">end</span></pre>
|
|
2642
|
-
</div>
|
|
2643
|
-
|
|
2644
|
-
</div>
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
</div>
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
<div id="root-method" class="method-detail ">
|
|
2653
|
-
<a name="method-i-root"></a>
|
|
2654
|
-
|
|
2655
|
-
<div class="method-heading">
|
|
2656
|
-
|
|
2657
|
-
<span class="method-name">root</span><span
|
|
2658
|
-
class="method-args">()</span>
|
|
2659
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2660
|
-
|
|
2661
|
-
</div>
|
|
2662
|
-
|
|
2663
|
-
<div class="method-description">
|
|
2664
|
-
|
|
2665
|
-
<p>
|
|
2666
|
-
Return the top-level node for this node.
|
|
2667
|
-
</p>
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
<div class="method-source-code"
|
|
2672
|
-
id="root-source">
|
|
2673
|
-
<pre>
|
|
2674
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 374</span>
|
|
2675
|
-
374: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">root</span>
|
|
2676
|
-
375: <span class="ruby-identifier">n</span> = <span class="ruby-keyword kw">self</span>
|
|
2677
|
-
376: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">parent</span>
|
|
2678
|
-
377: <span class="ruby-identifier">n</span> = <span class="ruby-identifier">n</span>.<span class="ruby-identifier">parent</span>
|
|
2679
|
-
378: <span class="ruby-keyword kw">end</span>
|
|
2680
|
-
379: <span class="ruby-identifier">n</span>
|
|
2681
|
-
380: <span class="ruby-keyword kw">end</span></pre>
|
|
2682
|
-
</div>
|
|
2683
|
-
|
|
2684
|
-
</div>
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
</div>
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
<div id="set-method" class="method-detail ">
|
|
2693
|
-
<a name="method-i-set"></a>
|
|
2694
|
-
|
|
2695
|
-
<div class="method-heading">
|
|
2696
|
-
|
|
2697
|
-
<span class="method-name">set</span><span
|
|
2698
|
-
class="method-args">(attributeId, value)</span>
|
|
2699
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2700
|
-
|
|
2701
|
-
</div>
|
|
2702
|
-
|
|
2703
|
-
<div class="method-description">
|
|
2704
|
-
|
|
2705
|
-
<p>
|
|
2706
|
-
Set the non-scenario-specific attribute with ID <em>attributeId</em> to
|
|
2707
|
-
<em>value</em>. In case the attribute does not exist, an exception is
|
|
2708
|
-
raised.
|
|
2709
|
-
</p>
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
<div class="method-source-code"
|
|
2714
|
-
id="set-source">
|
|
2715
|
-
<pre>
|
|
2716
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 411</span>
|
|
2717
|
-
411: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">attributeId</span>, <span class="ruby-identifier">value</span>)
|
|
2718
|
-
412: <span class="ruby-ivar">@attributes</span>[<span class="ruby-identifier">attributeId</span>].<span class="ruby-identifier">set</span>(<span class="ruby-identifier">value</span>)
|
|
2719
|
-
413: <span class="ruby-keyword kw">end</span></pre>
|
|
2720
|
-
</div>
|
|
2721
|
-
|
|
2722
|
-
</div>
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
</div>
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
<div id="warning-method" class="method-detail ">
|
|
2731
|
-
<a name="method-i-warning"></a>
|
|
2732
|
-
|
|
2733
|
-
<div class="method-heading">
|
|
2734
|
-
|
|
2735
|
-
<span class="method-name">warning</span><span
|
|
2736
|
-
class="method-args">(id, text)</span>
|
|
2737
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2738
|
-
|
|
2739
|
-
</div>
|
|
2740
|
-
|
|
2741
|
-
<div class="method-description">
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
<div class="method-source-code"
|
|
2748
|
-
id="warning-source">
|
|
2749
|
-
<pre>
|
|
2750
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 652</span>
|
|
2751
|
-
652: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">warning</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>)
|
|
2752
|
-
653: <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">messageHandler</span>.<span class="ruby-identifier">warning</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>, <span class="ruby-ivar">@sourceFileInfo</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">self</span>, <span class="ruby-keyword kw">nil</span>)
|
|
2753
|
-
654: <span class="ruby-keyword kw">end</span></pre>
|
|
2754
|
-
</div>
|
|
2755
|
-
|
|
2756
|
-
</div>
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
</div>
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
</div>
|
|
2765
|
-
|
|
2766
|
-
<div id="private-instance-method-details" class="method-section section">
|
|
2767
|
-
<h3 class="section-header">Private Instance Methods</h3>
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
<div id="indent-method" class="method-detail ">
|
|
2771
|
-
<a name="method-i-indent"></a>
|
|
2772
|
-
|
|
2773
|
-
<div class="method-heading">
|
|
2774
|
-
|
|
2775
|
-
<span class="method-name">indent</span><span
|
|
2776
|
-
class="method-args">(tag, str)</span>
|
|
2777
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2778
|
-
|
|
2779
|
-
</div>
|
|
2780
|
-
|
|
2781
|
-
<div class="method-description">
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
<div class="method-source-code"
|
|
2788
|
-
id="indent-source">
|
|
2789
|
-
<pre>
|
|
2790
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 702</span>
|
|
2791
|
-
702: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">indent</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">str</span>)
|
|
2792
|
-
703: <span class="ruby-identifier">tag</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\n/</span>, <span class="ruby-node">"\n#{' ' * tag.length}"</span>) <span class="ruby-operator">+</span> <span class="ruby-value str">"\n"</span>
|
|
2793
|
-
704: <span class="ruby-keyword kw">end</span></pre>
|
|
2794
|
-
</div>
|
|
2795
|
-
|
|
2796
|
-
</div>
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
</div>
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
<div id="journal-essages-method" class="method-detail ">
|
|
2805
|
-
<a name="method-i-journalMessages"></a>
|
|
2806
|
-
|
|
2807
|
-
<div class="method-heading">
|
|
2808
|
-
|
|
2809
|
-
<span class="method-name">journalMessages</span><span
|
|
2810
|
-
class="method-args">(entries, query, longVersion)</span>
|
|
2811
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
2812
|
-
|
|
2813
|
-
</div>
|
|
2814
|
-
|
|
2815
|
-
<div class="method-description">
|
|
2816
|
-
|
|
2817
|
-
<p>
|
|
2818
|
-
Create a blog-style list of all alert messages that match the <a
|
|
2819
|
-
href="Query.html">Query</a>.
|
|
2820
|
-
</p>
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
<div class="method-source-code"
|
|
2825
|
-
id="journal-essages-source">
|
|
2826
|
-
<pre>
|
|
2827
|
-
<span class="ruby-comment cmt"># File lib/taskjuggler/PropertyTreeNode.rb, line 664</span>
|
|
2828
|
-
664: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">journalMessages</span>(<span class="ruby-identifier">entries</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">longVersion</span>)
|
|
2829
|
-
665: <span class="ruby-comment cmt"># The components of the message are either UTF-8 text or RichText. For</span>
|
|
2830
|
-
666: <span class="ruby-comment cmt"># the RichText components, we use the originally provided markup since</span>
|
|
2831
|
-
667: <span class="ruby-comment cmt"># we compose the result as RichText markup first.</span>
|
|
2832
|
-
668: <span class="ruby-identifier">rText</span> = <span class="ruby-value str">''</span>
|
|
2833
|
-
669: <span class="ruby-identifier">entries</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">entry</span><span class="ruby-operator">|</span>
|
|
2834
|
-
670: <span class="ruby-identifier">rText</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"==== <nowiki>"</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">headline</span> <span class="ruby-operator">+</span> <span class="ruby-value str">"</nowiki> ====\n"</span>
|
|
2835
|
-
671: <span class="ruby-identifier">rText</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"''Reported on #{entry.date.to_s(query.timeFormat)}'' "</span>
|
|
2836
|
-
672: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">author</span>
|
|
2837
|
-
673: <span class="ruby-identifier">rText</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"''by <nowiki>#{entry.author.name}</nowiki>''"</span>
|
|
2838
|
-
674: <span class="ruby-keyword kw">end</span>
|
|
2839
|
-
675: <span class="ruby-identifier">rText</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"\n\n"</span>
|
|
2840
|
-
676: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">flags</span>.<span class="ruby-identifier">empty?</span>
|
|
2841
|
-
677: <span class="ruby-identifier">rText</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"''Flags:'' #{entry.flags.join(', ')}\n\n"</span>
|
|
2842
|
-
678: <span class="ruby-keyword kw">end</span>
|
|
2843
|
-
679: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">summary</span>
|
|
2844
|
-
680: <span class="ruby-identifier">rText</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">summary</span>.<span class="ruby-identifier">richText</span>.<span class="ruby-identifier">inputText</span> <span class="ruby-operator">+</span> <span class="ruby-value str">"\n\n"</span>
|
|
2845
|
-
681: <span class="ruby-keyword kw">end</span>
|
|
2846
|
-
682: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">longVersion</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">details</span>
|
|
2847
|
-
683: <span class="ruby-identifier">rText</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">details</span>.<span class="ruby-identifier">richText</span>.<span class="ruby-identifier">inputText</span> <span class="ruby-operator">+</span> <span class="ruby-value str">"\n\n"</span>
|
|
2848
|
-
684: <span class="ruby-keyword kw">end</span>
|
|
2849
|
-
685: <span class="ruby-keyword kw">end</span>
|
|
2850
|
-
686: <span class="ruby-comment cmt"># Now convert the RichText markup String into RichTextIntermediate</span>
|
|
2851
|
-
687: <span class="ruby-comment cmt"># format.</span>
|
|
2852
|
-
688: <span class="ruby-keyword kw">unless</span> (<span class="ruby-identifier">rti</span> = <span class="ruby-constant">RichText</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">rText</span>, <span class="ruby-constant">RTFHandlers</span>.<span class="ruby-identifier">create</span>(<span class="ruby-ivar">@project</span>),
|
|
2853
|
-
689: <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">messageHandler</span>).
|
|
2854
|
-
690: <span class="ruby-identifier">generateIntermediateFormat</span>)
|
|
2855
|
-
691: <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">messageHandler</span>.<span class="ruby-identifier">warning</span>(<span class="ruby-value str">'ptn_journal'</span>,
|
|
2856
|
-
692: <span class="ruby-value str">"Syntax error in journal message"</span>)
|
|
2857
|
-
693: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
|
|
2858
|
-
694: <span class="ruby-keyword kw">end</span>
|
|
2859
|
-
695: <span class="ruby-comment cmt"># No section numbers, please!</span>
|
|
2860
|
-
696: <span class="ruby-identifier">rti</span>.<span class="ruby-identifier">sectionNumbers</span> = <span class="ruby-keyword kw">false</span>
|
|
2861
|
-
697: <span class="ruby-comment cmt"># We use a special class to allow CSS formating.</span>
|
|
2862
|
-
698: <span class="ruby-identifier">rti</span>.<span class="ruby-identifier">cssClass</span> = <span class="ruby-value str">'tj_journal'</span>
|
|
2863
|
-
699: <span class="ruby-identifier">query</span>.<span class="ruby-identifier">rti</span> = <span class="ruby-identifier">rti</span>
|
|
2864
|
-
700: <span class="ruby-keyword kw">end</span></pre>
|
|
2865
|
-
</div>
|
|
2866
|
-
|
|
2867
|
-
</div>
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
</div>
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
</div>
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
</div>
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
|
2882
|
-
|
|
2883
|
-
<p>Disabled; run with --debug to generate this.</p>
|
|
2884
|
-
|
|
2885
|
-
</div>
|
|
2886
|
-
|
|
2887
|
-
<div id="validator-badges">
|
|
2888
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
2889
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
|
2890
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
|
2891
|
-
</div>
|
|
2892
|
-
|
|
2893
|
-
</body>
|
|
2894
|
-
</html>
|
|
2895
|
-
|