Link to: source code | tables
directory | project management software
Copyright Turtle Creek Software 1996-2006. All Rights Reserved.
This class manages project breakdown tables for the Goldenseal accounting software,
small business management software, construction
project management software and
construction
accounting software.
/***********************************************************************************
CProjectBreakdownTable-- tables for project billing. Part of the Goldenseal
project management software.
***********************************************************************************/
class CProjectBreakdownTable : public CBreakdownTable
{
public:
enum { class_ID = 'PRTB' };
CProjectBreakdownTable(const SPaneInfo &inPaneInfo, const SViewInfo &inViewInfo,
DB_ClassDescriptor *desc)
: CBreakdownTable(inPaneInfo, inViewInfo, desc) {}
virtual ~CProjectBreakdownTable() {}
virtual CMoney RecalcBreakdownRow(const TableIndexT row, const TagType changedCol);
virtual void FillNewRowCells(const TableIndexT row);
virtual SInt32 GetColType(const SMemberInfo &memberInfo) const;
virtual TagType GetAmountTestTag() const { return tag_contractamount; }
virtual TagType GetNameTestTag() const { return tag_phase; }
virtual TagType GetCheckmarkTestTag() const { return tag_bill; }
//virtual void CreateBreakdownsFromStruct(SProjectInfo &projectInfo);
virtual Boolean HandleReturnKey();
virtual DBid GetMemberCVClassID(const SMemberInfo &memberInfo) const;
virtual CMoney GetTotalAmount();
virtual DBid GetPhaseClassID() const { return 0; }
virtual Boolean CanDoFillDown() { return false; } // TCS 11/6/02
protected:
virtual Boolean CanChangeCheckmark(const TableCellT &cell);
virtual void HandleCheckmarkChanged(const TableIndexT row, const TableIndexT col,
const Boolean isChecked);
};
|