20071016 gui ide 可视化
http://www.yippeesoft.com

eclipse 可视化java组件开发利器
一直做基于j2ee的web应用,开发工具用的eclipse,最近项目中需要一个可视化的工具,要用swing
了。可是eclipse中不支持swing的可视化开发。又不想用D版的JBuilder。
从网上找了一个eclipse的插件——Visual Editor.
VE简介:
Visual Editor是一个开源的eclipse编辑器。它同JDT、PDE等其它eclipse的工具项目一样,

是一个全新的eclipse工具项目。它可以进行可视化的编辑java GUI程序,也能编辑可视化的

Java Bean组件。它能与eclipse的Java Editor集成在一起,当在Visual Editor中编辑图形

界面时,会立即反馈到java Editor中的代码。反之亦然。
其官方网站介绍
The Eclipse Visual Editor project is a vendor-neutral, open development platform supplying frameworks for creating GUI builders, and exemplary, extensible tool implementations for Swing/JFC and SWT/RCP. These tools are exemplary in that they verify the utility of the Eclipse Visual Editor frameworks, illustrate the appropriate use of those frameworks, and support the development and maintenance of the Eclipse Visual Editor Platform itself.

The purpose of the Eclipse Visual Editor Project is to advance the creation, evolution, promotion of the Eclipse Visual Editor platform, and to cultivate both an open source community and an ecosystem of complementary products, capabilities, and services. In particular, the Visual Editor Project intends to be useful for creating GUI builders for other languages such as C/C++ and alternate widget sets, including those that are not supported under Java.

下载与安装
Visual Editor的官方网站 http://www.eclipse.org/vep/去下载适合你的操作系统平台和
eclipse、jdk版本的ve吧。

 swt-designer

 软件和插件应该都安装成功,产品配置和install.log里都没发现问题,可是新建Visual    
 Editor的界面的顶部写的不是Creat   a   new   java   Class   using   the   Visual   Editor而是New   Java  
 Visual   Class,不懂。  
     软件版本:jdk1.4.2,eclipse   3.0.1,emf-sdo-runtime-2.0.1,GEF-runtime-3.0.1,VE-SDK-1.0.2.1  

     Visual Editor 的内幕
Visual Editor 的第一个具体实现,作为一个针对 AWT/Swing 的 GUI 构建器,对于 GUI 开发人员来说已经是足够令人满意的了,但是如果您是那种希望了解内幕的开发人员,那么还可以看到许多东西:Visual Editor 利用一些非常有趣的技术,这些技术本身都是有用的。如果您对于构建自己的图形化编辑器或者对工具建模感兴趣的话,那么现有的 Visual Editor 实现对于您可以完成的事物来说只是一个线索。

Visual Editor 所利用的最为明显的工具是 GEF,即图形化编辑框架(Graphical Editing Framework)。GEF 建立于本地 Eclipse 图形化工具集 SWT 之上,以使得开发一个图形化编辑器或者所见即所得文本编辑器更为容易。如果您熟悉 SWT (或者 AWT/Swing,在这方面它们是类似的)中的图形原语,那么您会知道绘制和处理任意的形状(比如矩形、箭头和椭圆)是比较困难的,更不用说管理它们之间的关系以及它们所代表的数据模型了。

GEF 被划分为两个部分:第一部分是 Draw2D 插件,这是一个轻量级的绘图和呈现包,用于帮助您绘制图形。第二部分是 GEF 插件,除了其他工具以外,这一部分中还增加了选择和创建工具、工具选项板,以及用于在数据模型和视图之间进行映射的控制器框架。

GEF 是一个模型无关的框架,但是作为 Visual Editor (以及其他生成代码的图形化工具)的一部分,它在后台使用 Eclipse 建模框架(Eclipse Modeling Framework, EMF),以在模型、Java 类和图形化表示之间进行映射,其中模型是使用 XML 元数据交换(XML Metadata Interchange, XMI)在内部存储的。EMF 的重要特性之一是它确保所有这些映射都是一对一的;所以尽管 XMI 可以被认为是模型的标准表示,但是在代码和图形之间来回切换并不会丢失任何信息。这就是为什么 Visual Editor 只需要保存模型的一种表示(即 Java 源代码),以及开发人员可以自由地在图形化编辑器之外编辑该源代码的原因。

我也来推荐一个可视化的 GUI 设计工具 Sally(http://sallyide.sourceforge.net)

自已写的JAVA GUI BUILDER

JAVA选修课的作业,由于时间短,写的很不完整,只有基本添加控件和修改属性。不能保存,也不能生成代码,不过实现这两个功能都不是什么难事了。但是要做得像VE那样就有点难度了,因为要实时对JAVA代码进行解析(词法分析、语法分析、自动机……想想就头大)。

原本觉得神秘的GUI设计器就这样一点点的写了出来,发上来供有兴趣有朋友交流参考。

开发环境:windows xp sp2 + jre 1.5.04 + eclipse 3.2

注:代码中使用了一些JAVA5.0的新特性,因此无法在1.4下通过编译。

OVERVIEW

       "Sally – A Simple C++ IDE" is a simple development environment for WindowsXP. The program is written in the C# programming language, and requires the Framework .Net 1.1 to run. It might work on Win98, ME, NT, 2000, but it has not been tested yet.

       The Framework .Net 1.1 can be downloaded here: FRAMEWORK .NET 1.1 (~20Mb) and can be installed side by side to other versions (older or newer) of the .Net Framework.

SmartWin++是纯粹的c++ Gui库。
支持操作系统:windows,wince,linux暂时不支持
支持编译环境:visual c++,dev cpp
使用技术:标准c++,boost++,win32 api
限制:不支持activeX/COM/.NET,仅仅是一个图形库而已
特点:类型安全,没有扩展编译信息,使用c++而不是c,轻量级的,基于模板的,可维护的,现代的,静态链接,简单易学,支持winCe,自由而且免费
SmartWin的设计是为了做为MFC的替代品而出现的.

[下转]
SmartWin++ is a 100% free C++ GUI library for developing Windows applications, it\’s free both as in "free beer" and as in "free speech", you can freely use SmartWin++ for commercial applications and for Open Source applications thanx to its BSD license!
SmartWin++ was initially made to replace MFC and WTL but today thanx to WineLib it can also be used on non-Windows systems. SmartWin++ is a modern designed C++ library, it uses STL where possible and boost where needed, but if you download SmartWin++ you don\’t need to bother downloading boost, everything you need is bundled in the download except for the C++ compiler.
Good compilers can be found for free either at Microsoft (Visual C++ 2003 Toolkit) or at Bloodsheds (Dev-C++).

"Sally – A Simple C++ IDE" is a GPL multi-compiler C++ IDE for WindowsXP/2000.

What makes it different from other similiar programs is a .Net style Visual GUI Designer for native C++ application that can be used with both Mingw and Visual C++ compilers (it\’s based on the emerging static library SmartWin++). No extern dlls (or the .Net framework) are required to run the executables and native windows application can be made with virtually no C++ code. Moreover, it has an embedded icon and image editor that is able to edit, convert and save images in the following formats: .ico,.bmp,.gif,.tiff,.png,.jpg.

It\’s a very useful solution for users of the Mingw or Visual C++ compiler that want to develop native applications for the Windows operating system with a visual GUI designer for free!

The program is written in the C# programming language, and requires the Framework .Net 1.1 to run. It might work on Win98, ME, NT but it\’s not been tested yet.

NOTE: "Sally – A Simple C++ IDE" needs write access to the installation directory.
A "NO-INSTALLATION-PACKAGE" is available to download for all the people that have problems with this issue (or that just want to test if the program works on their system).

Matisse — 最佳的 Java GUI builder 之一,用户界面非常简单。它使在 Java 中构建 GUI 的体验就像 Visual Basic 的体验一样。它允许您在所有平台上自由创建专业的外观和行为。

Java Gui Builder可以为你的应用程序减少用于建造GUI的代码量。使用一个XML描述,Java Gui Builder将建造能够主流代码接受的应用程序窗口、控件、和对象。

官方网站:
http://sourceforge.net/projects/jgb/

Matisse是NetBeans中新一代的UI设计工具,Matisse将是一个支持Swing显示布局的工具,通过Matisse开发者可以轻松的设计基于Swing的应用。
开发者将可以轻松的设计更加漂亮的UI。JSR 209将实现“移动Swing”,将来Matisse有可能支持JSR 209。
由此可见,在Eclipse的竞争下,Netbeans终于开始加快自己的脚步了。
具有震撼力的demo:
http://www.netbeans.org/files/documents/4/475/matisse.html

Jigloo GUI Builder JAVA的GUI编辑插件
主页 http://cloudgarden.com/jigloo/

Eclipse GUI 开源项目:Visual Editor Project

下载链接:

Eclipse 平台入门:IBM 官方文档

Eclipse 3.1.1:点击这里

Eclipse 3.1.1 语言包:点击这里(两个包都要下载,否则汉化不完全,安装方法请查找本站日志)

Visual Editor 1.1.0.1:点击这里

利用 Eclipse Visual Editor 项目构建 GUI:IBM 官方文档

安装步骤(以 Eclipse 3.1.1 为例):

1、下载 Eclipse SDK 3.1.1 并解压,无需安装。

2、安装当前版本的 Eclipse 和相关支持类库(在 VE 的下载页面有当前版本的支持类库):EMF Build 2.1.0 和 GEF Build 3.1。

3、然后下载 Visual Editor 1.1.0.1 版本:VE-SDK-1.1.0.1.zip。

4、下载的都是 ZIP 压缩文件,在 Eclipse 关闭时,分别把 EMF Build 2.1.0、GEF Build 3.1、VE-SDK-1.1.0.1 分别解压,请将其压缩包中的 plugins 和 features 目录下的内容解压到 Eclipse 安装目录的相应文件夹。

5、若安装后启动 Eclipse 始终没有“Visual Class”项目,请关闭 Eclipse,把 Eclipse 安装目录中的 Configuration 目录里除了 Config.ini 的其他文件夹删除。

6、启动 Eclipse 新建项目,然后在工具栏上的“新建 Java 类”图标上,点击右边的小箭头,下面的扩展菜单上会出现“Visual Class”。这就是一个 Visual Editor 的入口。

7、成功!^___^

sally IDE 真的很sample啊
皮皮鲁 @ 2006-12-21 16:33

很sample!!, 啥东东都要自己弄,配了2天终于可以用VC++2005的编译器来编译东西了,不过编译Sally 自带的基于smartwin++的工程还是不行, 用mingw编译倒是一切顺利,没啥问题,但是说到mingw就郁闷(集成的是gcc3.4.5) ,编译东西真的是很慢,慢得要死啊!而且编译出来的东西巨肥大,strip过后还是比VC编译出来的(for release)的大很多!还有mingw带的windres,居然不能解析路径中的空格,真是@##@¥&#¥,这个问题把我郁闷坏了,也或许是我搞得不对头吧,唉……
看来大多数时候,免费的东西就是不好用啊!

Win32 Visual C++ IDE v0.01
Visual GWin++ is an open source, free Win32 visual C++ IDE. It
can be used to visually create windows and controls on those
windows, then generate the C++ code for those forms and compile
it using the free g++ compiler. It is currently developmental
software, but it is stable and can create full applications.

可视化C++开发工具

Visual GWin++

http://www.calcmaster.net/visual-c++/

软件名称:wx-Dev-C++ 6.9

版本号: 6.9 Beta (4.9.9.2)

软件语言: 多国语言(含简体中文)

运行环境:Microsoft Windows 95, 98, NT 4, 2000, XP

软件大小: 28.7 MB

软件分类: 外国软件 / 免费版 / 编程开发

软件说明:wx-Dev-C++ 6.9(上图) 是Dev-C++5.0(下图)的扩充版本,由Colin Laplace制作。这个版本可以使用视觉设计帮你建立对话(dialog)和框架(frame),功能上比Dev-C++更加强大。

Dev -C++是很棒的Windows
下小型C/C++IDE。完全免费,支持中文界面(安装后,设置的时候选Chinese就可以了)。如果不习惯用BC3.1或觉得BC3.1比较古老不支
持一些新的 C++语法的话用这个不错做些小东西、小试验很不错,它也比较适合学习 C++的新手使用。

Dev-C++.png

Dev-C++官方网站:http://www.bloodshed.net/

Http下载地址:http://www.bloodshed.net/dev/devcpp.html

wx-Dev-C++:http://wxdsgn.sourceforge.net/

历史博文

标签:,
七月 7, 2008 at 8:07 下午 by yippee 1,053 次
Category: Info
Tags: ,