virtual ZRESULT getLayout(core::layout::ILayout** ppLayout)=0;

Description

Provides tool layout information as a core::layout::ILayout interface. Actually, each tool provides one if it's derived implementations (ILayoutCommandBar, ILayoutFloader etc.) ZModeler places tools when loading into according layout - inserts into menu, places in commands bar etc.

Consider using helper tools layout classes as a base classes for your tool implementation. These classes include multiple inheritance of ITool and one of ILayout interface for simplicity.

Parameters:
ppLayout
Ret-Val argument with requested interface. Not NULL.
See Also:
Interface overview and methods
core::layout::ILayout interface