forked from qt-creator/qt-creator
ModelEditor: Introduce custom relation type "Connection"
Change-Id: Iddd45508dcb2de1fa2b6d9b2b881b54a73172caf Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user