예제 #1
0
void ClassifierWidget::setShowVisibility(bool _visibility)
{
    m_showAccess = _visibility;
    updateSigs();
    updateComponentSize();
    update();
}
예제 #2
0
void ClassifierWidget::toggleShowOps()
{
    m_showOperations = !m_showOperations;
    updateSigs();
    updateComponentSize();
    update();
}
예제 #3
0
void ClassifierWidget::setShowOps(bool _show)
{
    m_showOperations = _show;
    updateSigs();
    updateComponentSize();
    update();
}
예제 #4
0
void ClassifierWidget::toggleShowStereotype()
{
    m_showStereotype = !m_showStereotype;
    updateSigs();
    updateComponentSize();
    update();
}
예제 #5
0
void ClassifierWidget::setShowAtts(bool _show)
{
    m_bShowAttributes = _show;
    updateSigs();

    updateComponentSize();
    update();
}
예제 #6
0
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();
    }
}
예제 #7
0
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();
    }
}