umbrello
2.31.90
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Non-graphical information for a Artifact. More...
#include <artifact.h>
Public Types | |
enum | Draw_Type { defaultDraw , file , library , table } |
![]() | |
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 | |
Draw_Type | m_drawAsType |
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) |
![]() | |
UMLObjectList | m_objects |
![]() | |
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... | |
Non-graphical information for a Artifact.
This class contains the non-graphical information required for a UML Artifact. This class inherits from UMLCanvasObject which contains most of the information.
|
explicit |
Sets up an Artifact.
name | The name of the Concept. |
id | The unique id of the Concept. |
|
virtual |
Standard deconstructor.
|
virtual |
QString UMLArtifact::fullPath | ( | ) | const |
Return full path of this artifact including its parent
UMLArtifact::Draw_Type UMLArtifact::getDrawAsType | ( | ) |
Returns the value of m_drawAsType.
|
protectedvirtual |
Loads the UML:Artifact element including its operations, attributes and templates.
element | the xml element to load |
Reimplemented from UMLPackage.
|
virtual |
Creates the UML:Artifact element including its operations, attributes and templates
qDoc | the xml document |
qElement | the xml element |
Reimplemented from UMLPackage.
void UMLArtifact::setDrawAsType | ( | Draw_Type | type | ) |
Sets m_drawAsType for which method to draw the artifact as.
type | the draw type |
|
private |
Artifacts can be drawn as one of several different icons, this value choosing how to draw them.