UMLClassifierListItem Class Reference
Classifiers (classes, interfaces) have lists of operations, attributes, templates and others. A base class for classifier list items (e.g. attributes). More...
#include <classifierlistitem.h>
Inheritance diagram for UMLClassifierListItem:

Public Member Functions | |
| UMLClassifierListItem (const UMLObject *parent, const QString &name, Uml::IDType id=Uml::id_None) | |
| Constructor. | |
| UMLClassifierListItem (const UMLObject *parent) | |
| Constructor. | |
| virtual | ~UMLClassifierListItem () |
| Destructor. | |
| UMLClassifier * | getType () |
| Returns the type of the UMLClassifierListItem. | |
| virtual QString | getTypeName () |
| Returns the type name of the UMLClassifierListItem. | |
| void | setTypeName (const QString &type) |
| Sets the type name of the UMLClassifierListItem. | |
| virtual void | setType (UMLObject *type) |
| Sets the type of the UMLAttribute. | |
| virtual QString | toString (Uml::Signature_Type sig=Uml::st_NoSig) |
| Returns a string representation of the list item. | |
| virtual bool | showPropertiesDialog (QWidget *parent)=0 |
| Display the properties configuration dialog for the list item. | |
| virtual void | copyInto (UMLClassifierListItem *rhs) const |
| Copy the internal presentation of this object into the new object. | |
| virtual UMLObject * | clone () const =0 |
| The abstract method UMLObject::clone() must be implemented by the classes inheriting from UMLClassifierListItem. | |
Detailed Description
Classifiers (classes, interfaces) have lists of operations, attributes, templates and others. A base class for classifier list items (e.g. attributes).This is a base class for the items in this list. This abstraction should remove duplication of dialogs and allow for stereotypes in lists.
- Author:
- Jonathan Riddell Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 31 of file classifierlistitem.h.
Constructor & Destructor Documentation
|
||||||||||||||||
|
Constructor. Empty.
Definition at line 26 of file classifierlistitem.cpp. References UMLObject::setUMLPackage(). |
|
|
Constructor. Empty.
Definition at line 35 of file classifierlistitem.cpp. References UMLObject::setUMLPackage(). |
|
|
Destructor. Empty. Definition at line 43 of file classifierlistitem.cpp. |
Member Function Documentation
|
|
Returns the type of the UMLClassifierListItem.
Definition at line 56 of file classifierlistitem.cpp. Referenced by UMLView::createAutoAttributeAssociations(), CodeGenerator::findObjectsRelated(), UMLAttribute::getTemplateParams(), UMLListView::moveObject(), UMLOperation::saveToXMI(), UMLOperation::toString(), and UMLAttribute::toString(). |
|
|
Returns the type name of the UMLClassifierListItem.
Reimplemented in UMLTemplate. Definition at line 60 of file classifierlistitem.cpp. References UMLObject::getFullyQualifiedName(), UMLObject::getName(), and UMLObject::getUMLPackage(). Referenced by CodeParameter::getTypeName(), CodeClassField::getTypeName(), UMLOperation::operator==(), UMLOperation::saveToXMI(), UMLOperationDialog::setupDialog(), UMLEntityAttributeDialog::setupDialog(), UMLAttributeDialog::setupDialog(), UMLEntityAttribute::toString(), PascalWriter::writeClass(), IDLWriter::writeClass(), and AdaWriter::writeClass(). |
|
|
Sets the type name of the UMLClassifierListItem. DEPRECATED - use setType() instead.
Definition at line 76 of file classifierlistitem.cpp. References UMLObject::emitModified(), UMLDoc::findUMLObject(), and UMLApp::getDocument(). Referenced by UMLTemplateDialog::apply(), UMLOperationDialog::apply(), and UMLTemplate::UMLTemplate(). |
|
|
Sets the type of the UMLAttribute.
Reimplemented in UMLOperation. Definition at line 69 of file classifierlistitem.cpp. References UMLObject::emitModified(). Referenced by UMLTemplateDialog::apply(), UMLEntityAttributeDialog::apply(), UMLAttributeDialog::apply(), UMLListView::createChildUMLObject(), UMLListViewItem::okRename(), and UMLOperation::setType(). |
|
|
Returns a string representation of the list item.
Reimplemented in UMLAttribute, UMLEntityAttribute, UMLOperation, and UMLTemplate. Definition at line 52 of file classifierlistitem.cpp. References UMLObject::getName(). Referenced by ClassifierListPage::slotDoubleClick(), and UMLListViewItem::updateObject(). |
|
|
Display the properties configuration dialog for the list item.
Implemented in UMLAttribute, UMLEntityAttribute, UMLEnumLiteral, UMLOperation, and UMLTemplate. Referenced by ClassifierListPage::slotDoubleClick(). |
|
|
Copy the internal presentation of this object into the new object.
Definition at line 46 of file classifierlistitem.cpp. References UMLObject::copyInto(). Referenced by UMLTemplate::copyInto(), UMLOperation::copyInto(), UMLEnumLiteral::copyInto(), UMLEntityAttribute::copyInto(), and UMLAttribute::copyInto(). |
|
|
The abstract method UMLObject::clone() must be implemented by the classes inheriting from UMLClassifierListItem.
Implements UMLObject. Implemented in UMLAttribute, UMLEntityAttribute, UMLEnumLiteral, UMLOperation, and UMLTemplate. Referenced by UMLClassifierListItemList::copyInto(). |
The documentation for this class was generated from the following files:
