Widget_Factory Namespace Reference
Widget factory methods. More...
Functions | |
| UMLWidget * | createWidget (UMLView *view, UMLObject *o) |
| Create a UMLWidget in the given view and representing the given document object. | |
| bool | validateObjType (Uml::Object_Type expected, UMLObject *&o, Uml::IDType id) |
| UMLWidget * | makeWidgetFromXMI (const QString &tag, const QString &idStr, UMLView *view) |
| Create a UMLWidget according to the given XMI tag. | |
Detailed Description
Widget factory methods.Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Function Documentation
|
||||||||||||
|
Create a UMLWidget in the given view and representing the given document object.
Definition at line 56 of file widget_factory.cpp. References WidgetBase::getBaseType(), ObjectWidget::setDrawAsActor(), ClassifierWidget::setDrawAsCircle(), UMLWidget::setIsInstance(), UMLWidget::setX(), UMLWidget::setY(), and ObjectWidget::topMargin(). |
|
||||||||||||||||
|
Create a UMLWidget according to the given XMI tag.
Definition at line 164 of file widget_factory.cpp. References UMLDoc::findObjectById(), and UMLApp::getDocument(). Referenced by UMLView::loadWidgetFromXMI(). |
