抽象类的表示
选中需要设置的类,勾选Properties->General->IsAbstract进行设置,设置完成后,类名会变成斜体
抽象类的表示
接口的表示
在Properties->General中将Stereotype设置为interface
接口的表示
新增类的属性
选中需要新增属性的类,点击Properties->General->Attributes的右侧按钮
在Properties->General中选择Attributes
弹出Collection Editor窗口,在选项为Attributes界面,点击Insert新增属性
新增类的属性
选中新增的那一条属性,现在右侧的Properties菜单变成了属性的Properties菜单,在Properties->General中,通过Name和Type分别设置属性的名称和类型