See this related MagicDraw UML tutorial guide (the same principles apply for UML2 classes and SysML blocks):