blob: 688264f1d1545f5f7bd3f52af8628927373e7273 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* copyright (C) 2006 *
* Umbrello UML Modeller Authors <uml-devel@uml.sf.net> *
***************************************************************************/
#ifndef WIDGET_FACTORY_H
#define WIDGET_FACTORY_H
#include <tqstring.h>
// forward declarations
class UMLView;
class UMLObject;
class UMLWidget;
/**
* Widget factory methods.
* Bugs and comments to uml-devel@lists.sf.net or http://bugs.trinitydesktop.org
*/
namespace Widget_Factory {
/**
* Create a UMLWidget in the given view and representing the given document object.
*/
UMLWidget *createWidget(UMLView *view, UMLObject *docObj);
/**
* Create a UMLWidget according to the given XMI tag.
*/
UMLWidget* makeWidgetFromXMI(const TQString& tag,
const TQString& idStr, UMLView *view);
} // end namespace Widget_Factory
#endif
|