umbrello
2.32.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Information for a non-graphical UML Category. More...
#include <category.h>
Public Types | |
enum | Category_Type { ct_Disjoint_Specialisation, ct_Overlapping_Specialisation, ct_Union } |
![]() | |
enum | ObjectType { ot_Unknown = -1, ot_UMLObject = 100, ot_Actor, ot_UseCase, ot_Package, ot_Interface, ot_Datatype, ot_Enum, ot_Class, ot_Instance, ot_Association, ot_Attribute, ot_Operation, ot_EnumLiteral, ot_Template, ot_Component, ot_Artifact, ot_Node, ot_Stereotype, ot_Role, ot_Entity, ot_EntityAttribute, ot_Folder, ot_EntityConstraint, ot_UniqueConstraint, ot_ForeignKeyConstraint, ot_CheckConstraint, ot_Category, ot_Port, ot_InstanceAttribute, ot_SubSystem } |
Protected Member Functions | |
bool | load1 (QDomElement &element) |
![]() | |
void | init () |
void | maybeSignalObjectCreated () |
void | save1end (QXmlStreamWriter &writer) |
Private Attributes | |
Category_Type | m_CategoryType |
Additional Inherited Members | |
![]() | |
void | emitModified () |
![]() | |
void | sigAssociationEndAdded (UMLAssociation *assoc) |
void | sigAssociationEndRemoved (UMLAssociation *assoc) |
![]() | |
void | modified () |
![]() | |
static QString | toString (ObjectType ot) |
static QString | toI18nString (ObjectType t) |
static Icon_Utils::IconType | toIcon (ObjectType t) |
![]() | |
Uml::ID::Type | m_nId |
object's id More... | |
QString | m_Doc |
object's documentation More... | |
QPointer< UMLStereotype > | m_pStereotype |
stereotype of the object if applicable More... | |
QString | m_name |
objects name More... | |
ObjectType | m_BaseType |
objects type More... | |
Uml::Visibility::Enum | m_visibility |
objects visibility More... | |
bool | m_bAbstract |
state of whether the object is abstract or not More... | |
bool | m_bStatic |
flag for instance scope More... | |
bool | m_bInPaste |
caller sets this true when in paste operation More... | |
bool | m_bCreationWasSignalled |
auxiliary to maybeSignalObjectCreated() More... | |
QPointer< UMLObject > | m_pSecondary |
QString | m_SecondaryId |
QString | m_SecondaryFallback |
QStringList | m_TaggedValues |
UMLObjectPrivate * | m_d |
private data More... | |
Information for a non-graphical UML Category.
This class contains the non-graphical information required for a UML Category. This class inherits from UMLCanvasObject which contains most of the information. The UMLDoc class creates instances of this type.
|
explicit |
Constructs a Category.
name | The name of the Category. |
id | The unique id to assign to this Category. |
UMLCategory::~UMLCategory | ( | ) |
Standard destructor.
|
virtual |
Make a clone of this object.
Reimplemented from UMLObject.
Copy the internal presentation of this object into the new object.
Reimplemented from UMLCanvasObject.
UMLCategory::Category_Type UMLCategory::getType | ( | ) |
Get the category type
|
virtual |
Initializes key variables of the class.
|
protectedvirtual |
Loads the <UML:Category> XMI element (empty.)
Reimplemented from UMLObject.
|
virtual |
Creates the <UML:Category> XMI element.
Reimplemented from UMLObject.
void UMLCategory::setType | ( | Category_Type | type | ) |
Set the category type
|
private |