[Read this in Japanese (日本語) | Chinese (简体中文)]
WindowBuilder Bean Aligner is an Eclipse plugin designed to keep your WindowBuilder design canvas organized. It automatically rearranges the icons of "Non-Visual Beans" (components marked with @wbp.nonvisual) based on your customizable layout and sorting preferences.
Auto-Alignment: Instantly repositions all non-visual bean icons into a clean grid. Vertical/Horizontal Wrapping: Supports wrapping by a fixed number of rows, filling columns vertically before moving to the next column. Smart Sorting: Sort beans alphabetically by Field Name or by Class Type to find your components faster. Project-Specific Settings: Configure different layout coordinates (X, Y) and spacing (Gap X, Gap Y) for each project via Property Pages. Multilingual UI: Fully supports English, Japanese, and Chinese environments.
Click here to watch a video on YouTube
- In Eclipse, go to Help > Install New Software....
- Click the Add... button.
- Enter
JHappy WBUtilin the Name field and paste the following URL into the Location field:https://tatoo2018.github.io/jhappywindowbuilderutil/updatesite/main/ - Select WindowBuilder Bean Aligner from the list and follow the prompts.
- Restart Eclipse to complete the installation.
- Open a Java class with the WindowBuilder Editor.
- Switch to the Source tab.
- Right-click anywhere in the editor and select 🤖 Align Non-Visual Beans.
- The
@wbp.nonvisualJavadoc tags in your source code will be updated with newlocationcoordinates.
Right-click your project in the Project Explorer and select Properties > WindowBuilder Bean Sort Property. You can adjust: Starting Coordinates: Where the first icon appears. Spacing: Horizontal and vertical gaps between icons. Rows before Wrapping: How many icons to stack vertically before starting a new column. Sort Strategy: Field Name or Class Name.
- This project is licensed under the MIT License. It utilizes libraries from the Eclipse Foundation licensed under the EPL-2.0.
- The icon
icons/ChooseComponent.gifis redistributable from the official Eclipse WindowBuilder repository under the EPL-2.0.
WindowBuilder Bean Aligner は、WindowBuilderエディタの非可視コンポーネント(@wbp.nonvisual)の配置を劇的に整理するプラグインです。アイコンが重なって見えなくなったBeanを、設定したルールに基づいて一括整列させます。
一括整列: デザイン画面上の非可視Beanアイコンを、綺麗なグリッド状に再配置します。 柔軟な折り返し: 指定した「行数」に達すると次の列へ移動する垂直優先レイアウトを採用。 高度なソート: 「変数名順」または「クラス型順」で並び替えが可能。 プロジェクト別設定: プロジェクトの「プロパティ」から、開始座標、間隔、整列ルールを個別に保存できます。 多言語対応: メニュー、設定画面ともに日本語・英語・中国語に対応しています。
Click here to watch a video on YouTube
- Eclipseを起動し、 [ヘルプ] > [新規ソフトウェアのインストール...] を選択します。
- [追加...] をクリックし、ロケーションに以下を入力します:
https://tatoo2018.github.io/jhappywindowbuilderutil/updatesite/main/ - WindowBuilder Bean Aligner を選択してインストールし、Eclipseを再起動してください。
- WindowBuilderエディタでJavaファイルを開きます。
- [Source] タブで右クリックします。
- 🤖 Non-Visual Beanを整列 を選択します。
WindowBuilder Bean Aligner 是一款用于优化 WindowBuilder 设计画布的 Eclipse 插件。它可以根据您自定义的布局和排序偏好,自动排列“非可视化 Bean”(带有 @wbp.nonvisual 标记的组件)的图标。
自动整列: 瞬间将所有非可视化 Bean 图标排列成整齐的网格。 垂直换行: 支持按固定行数换行,在进入下一列之前先垂直填充行。 智能排序: 支持按 变量名(字母顺序)或 类类型 进行排序,助您快速定位组件。 项目专属设置: 可通过项目属性页为不同项目配置不同的起始坐标 (X, Y) 和间距 (Gap X, Gap Y)。 多语言支持: UI 完全支持中文、英文和日文环境。
Click here to watch a video on YouTube
- 在 Eclipse 中,前往 Help (帮助) > Install New Software... (安装新软件...)。
- 点击 Add... (添加...),在 Location (位置) 栏输入:
https://tatoo2018.github.io/jhappywindowbuilderutil/updatesite/main/ - 选择 WindowBuilder Bean Aligner 并按照提示完成安装,随后重启 Eclipse。
- 使用 WindowBuilder 编辑器 打开 Java 类。
- 切换到 Source (源码) 选项卡
- 在编辑器中右键点击,选择 🤖 整列非可视化 Bean。