19 #include <Poco/Exception.h>
53 throw Poco::AssertionViolationException(
"The site for a view must be an IViewSite");
void SetSite(IWorkbenchPartSite::Pointer site)
virtual void SaveState(IMemento::Pointer memento)=0
berry::SmartPointer< Self > Pointer
virtual void CheckSite(IWorkbenchPartSite::Pointer site)
void CheckSite(IWorkbenchPartSite::Pointer site) override
virtual void Init(IViewSite::Pointer site, IMemento::Pointer memento=IMemento::Pointer(nullptr))=0
SmartPointer< Other > Cast() const
IViewSite::Pointer GetViewSite() override
IWorkbenchPartSite::Pointer GetSite() const override