From 213e41d92dfc95ee7abe4b6c79900c5dc036d37b Mon Sep 17 00:00:00 2001 From: pinkerton Date: Wed, 8 Apr 1998 20:29:54 +0000 Subject: [PATCH] added public DoInlineEdit for the node edit HT event and made RefreshCellRange public (it was protected, but is public in LTreeView). (rev sdagley, appr don) git-svn-id: svn://10.0.0.236/trunk@107 18797224-902f-48f8-a5cc-f745e15eee43 --- .../lib/mac/UserInterface/Tables/CStandardFlexTable.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mozilla/lib/mac/UserInterface/Tables/CStandardFlexTable.h b/mozilla/lib/mac/UserInterface/Tables/CStandardFlexTable.h index 9b822d924c7..356cd6e310c 100755 --- a/mozilla/lib/mac/UserInterface/Tables/CStandardFlexTable.h +++ b/mozilla/lib/mac/UserInterface/Tables/CStandardFlexTable.h @@ -100,6 +100,14 @@ public: virtual Boolean GetNotifyOnSelectionChange(); void SetRightmostVisibleColumn(UInt16 inLastDesiredColumn); + // an externally public way to tell the table to begin an inplace edit. This is + // useful when handling menu commands, etc and not mouse clicks in the table. + void DoInlineEditing ( const STableCell & inCell ) ; + + virtual void RefreshCellRange( + const STableCell &inTopLeft, + const STableCell &inBotRight); // Overridden to fix a bug in PP. + protected: enum { kMinRowHeight = 18, kDistanceFromIconToText = 5, kIconMargin = 4, kIndentPerLevel = 10, kIconWidth = 16 }; @@ -122,9 +130,6 @@ protected: virtual void DrawSelf(); virtual Boolean HandleKeyPress(const EventRecord &inKeyEvent); - virtual void RefreshCellRange( - const STableCell &inTopLeft, - const STableCell &inBotRight); // Overridden to fix a bug in PP. virtual void Click(SMouseDownEvent &inMouseDown); virtual void BeTarget(); virtual void DontBeTarget();