void ClassifierWidget::setShowVisibility(bool _visibility) { m_showAccess = _visibility; updateSigs(); updateComponentSize(); update(); }
void ClassifierWidget::toggleShowOps() { m_showOperations = !m_showOperations; updateSigs(); updateComponentSize(); update(); }
void ClassifierWidget::setShowOps(bool _show) { m_showOperations = _show; updateSigs(); updateComponentSize(); update(); }
void ClassifierWidget::toggleShowStereotype() { m_showStereotype = !m_showStereotype; updateSigs(); updateComponentSize(); update(); }
void ClassifierWidget::setShowAtts(bool _show) { m_bShowAttributes = _show; updateSigs(); updateComponentSize(); update(); }
ClassifierWidget::ClassifierWidget(UMLView * view, UMLClassifier *c) : UMLWidget(view, c) { init(); if (c != NULL && c->isInterface()) { WidgetBase::setBaseType(Uml::wt_Interface); m_bShowStereotype = true; m_bShowAttributes = false; updateSigs(); } }
ClassifierWidget::ClassifierWidget(UMLScene * scene, UMLClassifier *c) : UMLWidget(scene, WidgetBase::wt_Class, c) { init(); if (c != NULL && c->isInterface()) { setBaseType(WidgetBase::wt_Interface); m_showStereotype = true; m_showAttributes = false; updateSigs(); } }