2011-9-14 13:24:34

本文介绍了Bouml工具的基本操作方法,包括如何通过三个主要窗口进行项目管理和图表编辑。详细解释了如何创建项目、添加类视图以及如何在类图中添加角色等关键步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

2011-9-14 13:24:34

 

The bouml window is composed of three parts :
bouml窗口由三个部分组成
The left sub-window display a browser presenting your project, the navigation may be done by the mouse or the keyboard's arrows. The bold font is used when an item is modifiable, an item is read-only when you do not have the write permission for the file(s) supporting it.
?       左边的子窗口是一个展示您项目的浏览器,可由鼠标或上下左右键进行导航。
      黑体的字体表示该项是可修改的,当您没有文件写权限时则一个项是只读。
The bottom-right sub-window is used to display/modify the comment associated to the current selected item.
?       右下角的子窗口是用来显示/修改与当前所选项相关联的注释。
The top-right part is used to display/modify the diagrams, these ones may be maximized or minimized.
?       右上方的部分是用来显示/修改图表,这些窗口可以的最大化或最小化。
Obviously the respective sizes of the sub-windows may be changed, placing the mouse on the separation between them. Note : if you have at least a dual monitor configuration the better is to set the environment variable BOUML_LIMIT_DESKTOP, see here.
显然地,个别子窗的大小会发生改变,当把鼠标放在它们之间的分拆处时,可以更改窗口大小。
注意:如果你有双监视器配置,更好的办法是设置环境变量BOUML_LIMIT_DESKTOP,参见此地。
At this level you have to create a new project, or to load an already existing project.
在此水平下你必须创建一个新的项目,或加载一个已经存在的项目。

3个窗口组成

试图和新建用例之间的关系

view和diagram  之间的关系

如果要添加类视图,

创建一个类,命名为C1

一个包下面有很多视图   用例视图  类视图  组件视图 部署视图

创建一个用例视图

创建一个用例图

包  class view   类视图 图 类


Because the actors are classes, they can be added in the class diagram,

 using a drag & drop from the browser to the diagram sub-window, or using the diagram class icon and choosing for instance Administrator hitting 'a' in the combo box
 
  or using its arrow. The actor is drawn as an actor, this a default for the classes having the stereotype actor
 
   (this depend on the drawing settings of the class, the other special cases are for the stereotypes control, boundary and entity) :
  
因为角色是类,它们可以加入到类图中。使用拖动方法,从浏览器中拖到图子窗口中;或者点击类图标,显示一对话框,选择一个角色 Administrator ,

角色类以一个角色方式绘制,对于具有Actor范型的类,这是默认绘制方式(这依赖于类的drawing settings设置,

其它的特殊类是关于范型control,boundary 和entry):


 However in the normal case the goal of an actor is not to be used to generate code, and in the generation settings
 
 the stereotype actor at class level is translated to ignored in the target languages. To continue without this limitation,
 
 edit the generation settings, go in the tab stereotype and replace ignored by class in C++ and other language in the line for actor :
 
然而在正常情况下,角色目的不是用于产生代码的。在生成设置中在类级别上的actor范型,目标语言在产生过程中忽略actor。 以下为取消此限制,编辑generation settings ,

转到 stereotype 标签,在stereotype=actor行内,用C++和其它语言设置取代 ignored。

bouml 绘图

实现一个RTSP的实现流程
分析一下截包
将socketlayer 考过来

2者的编译环境有什么不同

重新做一下license

 

 

 

 

 

 

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值