Fixing SetOpenState so that it really works.

This commit is contained in:
hyatt%netscape.com 1998-11-16 19:53:05 +00:00
parent 68314873bf
commit d47b25a8ba
4 changed files with 12 additions and 0 deletions

View File

@ -110,6 +110,11 @@ nsRDFToolbarDataModelItem::GetParent(nsIDMItem*& pItem) const
return nsRDFDataModelItem::GetParent(pItem);
}
NS_IMETHODIMP
nsRDFToolbarDataModelItem::SetOpenState(PRBool open)
{
return nsRDFDataModelItem::SetOpenState(open);
}
NS_IMETHODIMP
nsRDFToolbarDataModelItem::GetStringPropertyValue(nsString& result, const nsString& property) const

View File

@ -57,6 +57,7 @@ public:
NS_IMETHOD GetParent(nsIDMItem*& pItem) const;
// Setters
NS_IMETHOD SetOpenState(PRBool open);
// Methods to query the data model for a specific item displayed within the widget.
NS_IMETHOD GetStringPropertyValue(nsString& value, const nsString& itemProperty) const;

View File

@ -114,6 +114,11 @@ nsRDFTreeDataModelItem::GetParent(nsIDMItem*& pItem) const
return nsRDFDataModelItem::GetParent(pItem);
}
NS_IMETHODIMP
nsRDFTreeDataModelItem::SetOpenState(PRBool open)
{
return nsRDFDataModelItem::SetOpenState(open);
}
NS_IMETHODIMP
nsRDFTreeDataModelItem::GetStringPropertyValue(nsString& result, const nsString& property) const

View File

@ -57,6 +57,7 @@ public:
NS_IMETHOD GetParent(nsIDMItem*& pItem) const;
// Setters
NS_IMETHOD SetOpenState(PRBool open);
// Methods to query the data model for a specific item displayed within the widget.
NS_IMETHOD GetStringPropertyValue(nsString& value, const nsString& itemProperty) const;