替代Eclipse Visual editor插件的WindowBuilder

安装

http://www.eclipse.org/windowbuilder/download.php

是开发Swing和RCP的开发者的绝对福音


WindowBuilder User Guide

WindowBuilder is a powerful and easy to use bi-directional Java GUI designer that makes it very easy to create Java GUI applications without spending a lot of time writing code to display simple forms. With WindowBuilder you can create complicated windows in minutes. Use the visual designer and Java code will be generated for you. You can easily add controls using drag-and-drop, add event handlers to your controls, change various properties of controls using a property editor, internationalize your app and much more.

WindowBuilder is built as a plug-in to Eclipse and the various Eclipse-based IDEs (RAD, RSA, MyEclipse, JBuilder, etc.). The plug-in builds an abstract syntax tree (AST) to navigate the source code and uses GEF to display and manage the visual presentation.

Using WYSIWYG layout tools, you don't need to write any lines of java code - the code will be generated for you by WindowBuilder. You can easily add any component to a container by using drag-and-drop, add an event handler to your controls, change various properties of controls using property editors and much more. Generated code doesn't require any additional custom libraries to compile and run: all of the generated code can be used without having WindowBuilder installed. WindowBuilder can read and write almost any format and reverse-engineer most hand-written Java GUI code. It also supports free form code editing (make changes anywhere...not just in special areas) and most user refactorings (you can move, rename and subdivide methods without a problem).

The editor is composed of the following major user interface components:

    Design View - the main visual layout area.
    Source View - write code and review the generated code
    Structure View - composed of the Component Tree and the Property Pane.
        Component Tree - shows the hierarchical relationship between all of the components.
        Property Pane - displays properties and events of the selected components.
    Palette - provides quick access to toolkit-specific components.
    Toolbar - provides access to commonly used commands.
    Context Menu - provides access to commonly used commands.

The editor also offers the following major features:

    Bi-directional Code Generation - read and write almost any format and reverse-engineer most hand-written code
    Internationalization (i18n) / Localization - externalize component strings, create and manage resource bundles.
    Custom Composites & Panels - create custom, reusable components.
    Factories - create custom factory classes and methods.
    Visual Inheritance - create visual component hierarchies.
    Event Handling - add event handlers to your components.
    Menu Editing - visually create and edit menubars, menu items and popup menus.
    Morphing - convert one component type into another.



评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值