umbrello/umbrello
Functions | |
void | assignUniqueIdOnCreation (bool yesno) |
bool | assignUniqueIdOnCreation () |
UMLAttribute * | createAttribute (UMLObject *parent, const QString &name, UMLObject *type) |
UMLClassifierListItem * | createChildObject (UMLClassifier *parent, UMLObject::ObjectType type) |
UMLObject * | createNewUMLObject (UMLObject::ObjectType type, const QString &name, UMLPackage *parentPkg) |
UMLOperation * | createOperation (UMLClassifier *parent, const QString &name) |
UMLObject * | createUMLObject (UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName) |
UMLObject * | makeObjectFromXMI (const QString &xmiTag, const QString &stereoID) |
Variables | |
Uml::ID::Type | g_predefinedId = Uml::ID::None |
Function Documentation
void Object_Factory::assignUniqueIdOnCreation | ( | bool | yesno | ) |
Control whether the createUMLObject() solicits a new unique ID for the created object.
By default, unique ID generation is turned on.
- Parameters
-
yesno False turns UID generation off, true turns it on.
Definition at line 64 of file object_factory.cpp.
bool Object_Factory::assignUniqueIdOnCreation | ( | ) |
Return whether unique ID generation is on or off.
Definition at line 75 of file object_factory.cpp.
UMLAttribute * Object_Factory::createAttribute | ( | UMLObject * | parent, |
const QString & | name, | ||
UMLObject * | type | ||
) |
Definition at line 218 of file object_factory.cpp.
UMLClassifierListItem * Object_Factory::createChildObject | ( | UMLClassifier * | parent, |
UMLObject::ObjectType | type | ||
) |
Creates an operation, attribute, template, or enum literal for the parent classifier.
- Parameters
-
parent The parent concept type The type to create
- Returns
- Pointer to the UMLClassifierListItem created
Definition at line 242 of file object_factory.cpp.
UMLObject* Object_Factory::createNewUMLObject | ( | UMLObject::ObjectType | type, |
const QString & | name, | ||
UMLPackage * | parentPkg | ||
) |
Definition at line 80 of file object_factory.cpp.
UMLOperation * Object_Factory::createOperation | ( | UMLClassifier * | parent, |
const QString & | name | ||
) |
Definition at line 228 of file object_factory.cpp.
UMLObject * Object_Factory::createUMLObject | ( | UMLObject::ObjectType | type, |
const QString & | n, | ||
UMLPackage * | parentPkg, | ||
bool | solicitNewName | ||
) |
Creates a UMLObject of the given type.
- Parameters
-
type The type of UMLObject to create. n A name to give to the object (optional.) If not given then an input dialog prompts the user to supply a name. parentPkg The object's parent package. solicitNewName Ask user for a different name if an object of the given name already exists. If set to false and the name already exists then the existing object is returned. The default is to ask for the new name.
Definition at line 162 of file object_factory.cpp.
UMLObject * Object_Factory::makeObjectFromXMI | ( | const QString & | xmiTag, |
const QString & | stereoID | ||
) |
Make a new UMLObject according to the given XMI tag.
Used by loadFromXMI and clipboard paste.
Definition at line 309 of file object_factory.cpp.
Variable Documentation
Uml::ID::Type Object_Factory::g_predefinedId = Uml::ID::None |
Definition at line 55 of file object_factory.cpp.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.