void LinePath::update() { if (getAssocType() == Uml::at_Coll_Message) { if (m_bParallelLineCreated) { calculateParallelLine(); updateParallelLine(); } else setupParallelLine(); } else if (m_bHeadCreated) { calculateHead(); updateHead(); } else { createHeadLines(); } }
/** * Calls a group of methods to update the line. Used to save you calling multiple methods. */ void AssociationLine::update() { if (getAssocType() == Uml::AssociationType::Coll_Message) { if (m_bParallelLineCreated) { calculateParallelLine(); updateParallelLine(); } else setupParallelLine(); } else if (m_bHeadCreated) { calculateHead(); updateHead(); } else { createHeadLines(); } if ( m_bSubsetSymbolCreated ) { updateSubsetSymbol(); } else { createSubsetSymbol(); } }