摘 要: 近年来,可视化编程在许多非计算机领域得到广泛的应用,但基本上属于编程语句和结构的图形化表述。本文提出了一种基于组件的软件可视化编程方法,将图标与连线组成的图形映射为软件组件模块及其相互之间的数据交互,并基于该思想,对应用软件、组件、通讯等进行可视化建模;基于XML技术,设计了可视化程序的描述文档;基于Eclipse/GEF图形编辑框架,实现了可视化编程开发平台、组件的图形化管理等功能。最后,通过具体的测试用例,证明了所开发的可视化编程平台,以及该可视化方法具有较好的可行性和通用性。 |
关键词: 组件;可视化编程;Eclipse/GEF;图形化 |
中图分类号: TP311.11
文献标识码: A
|
|
Research on Visual Programming Method of Component-based Software |
HAN Zhongming1, LI Xiaoming1, LI Junjie2
|
( 1.Faculty of Mechanical Engineering and Automation, Zhejiang Sci -Tech University, Hangzhou 310018, China; 2.Beijing Aerospace T&C Technology Co ., LTD., Beijing 100043, China)
1209835686@qq.com; lxmzist@zstu.edu.cn; lijunjie0616@163.com
|
Abstract: In recent years, visual programming has been widely used in many non-computer fields, but it is basically a graphical representation of programming sentences and structures. This paper proposes a component-based software visual programming method, which maps the graphics composed of icons and wires into software component modules and their mutual data interaction. Based on this idea, visual modeling of application software, components, and communications is performed, and description document of the visual program is designed based on XML(Extensible Markup Language) technology. Based on the Eclipse/GEF (Graphical Editing Framework), functions such as a visual programming development platform and graphical management of components are realized. Finally, through specific test cases, it is proved that the developed visual programming platform and the visualization method have good feasibility and versatility. |
Keywords: components; visual programming; Eclipse/GEF; graphical |