implement color change in UMLElementPanel