#include <EditFactory.h>
Inheritance diagram for GUI::EditFactory:
Public Member Functions | |
virtual WidgetBase * | create (ModelBase *model_ptr) |
Create a new instance of Edit widget. | |
virtual WidgetBase * | create (ModelBase *model_ptr, WidgetContainer *container_ptr) |
Create a new Edit widget, an Edit widget must be contained in a widget. |
WidgetBase * GUI::EditFactory::create | ( | ModelBase * | model_ptr, | |
WidgetContainer * | container_ptr | |||
) | [virtual] |
Create a new Edit widget, an Edit widget must be contained in a widget.
model_ptr | pointer to the object model, can not be NULL | |
container_ptr | pointer to the WidgetContainer, can not be NULL |
Implements GUI::FactoryBase.
WidgetBase * GUI::EditFactory::create | ( | ModelBase * | model_ptr | ) | [virtual] |
Create a new instance of Edit widget.
This method throw always an exception because an Edit widget can not be a top level widget.
model_ptr | pointer to the object model, can not be NULL |
Implements GUI::FactoryBase.