* Answer the number of children. */
| 741 | * Answer the number of children. |
| 742 | */ |
| 743 | PartStack::ChildVector::size_type PartStack::GetItemCount() |
| 744 | { |
| 745 | if (this->GetPresentation() == 0) |
| 746 | { |
| 747 | return children.size(); |
| 748 | } |
| 749 | return this->GetPresentableParts().size(); |
| 750 | } |
| 751 | |
| 752 | PartPane::Pointer PartStack::GetPaneFor(IPresentablePart::Pointer part) |
| 753 | { |