ModelEditor: Introduce custom relation type "Connection"

Change-Id: Iddd45508dcb2de1fa2b6d9b2b881b54a73172caf
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Jochen Becher
2016-08-23 21:47:12 +02:00
parent 82cb2b248e
commit ffb5dc756a
47 changed files with 1252 additions and 73 deletions

View File

@@ -37,6 +37,7 @@
#include "qmt/diagram/ddependency.h"
#include "qmt/diagram/dinheritance.h"
#include "qmt/diagram/dassociation.h"
#include "qmt/diagram/dconnection.h"
#include "qmt/model/melement.h"
#include "qmt/model/mpackage.h"
@@ -121,6 +122,11 @@ void OpenDiagramElementVisitor::visitDAssociation(const qmt::DAssociation *assoc
visitDRelation(association);
}
void OpenDiagramElementVisitor::visitDConnection(const qmt::DConnection *connection)
{
visitDRelation(connection);
}
void OpenDiagramElementVisitor::visitDAnnotation(const qmt::DAnnotation *annotation)
{
Q_UNUSED(annotation);
@@ -199,5 +205,10 @@ void OpenModelElementVisitor::visitMAssociation(const qmt::MAssociation *associa
Q_UNUSED(association);
}
void OpenModelElementVisitor::visitMConnection(const qmt::MConnection *connection)
{
Q_UNUSED(connection);
}
} // namespace Internal
} // namespace ModelEditor