Preferences - Common > Editor

This page is used to control various Editor Layout options.

General Comments

The positions of the Palette and Structure View may be configured via drag and drop or by right-clicking on the header and selecting the Dock On command. The Palette may be docked to either the left or right side of the Design View.

   

The Structure View may be docked to the top, bottom, left or right of the Design View.

   

The Palette and Structure View are also available as standalone views. Use the Window > Show View > Other... command and open the WindowBuilder catgory or right-click on the header and select the Extract as view command. Closing the view will make it reappear as embedded view within the editor.

     

Editor Layout

This preference controls the position of the Source View relative to the Design View. By default, they are "on separate notebook tabs" labeled Source and Design (you can select which page is first). Additional options are provided to show the Source View and Design View side by side or one above the other.

 

Sync Delay (ms)

When the Source View and Design View are both visible, this preference determines the delay used to synchronize the two panes. If the user types in the Source View, the source will be re-parsed and the Design View will be updated after a period specified by the sync delay. Use "-1" to synchronize only on save.

Associate WindowBuilder editor with automatically recognized Java GUI files

This preference determines whether WindowBuilder will attempt to automatically recognize GUI files and associate the WindowBuilder editor with them.

Maximize editor on "Design" page activation

This preference determines whether the WindowBuilder editor will be automatically maximized when switching to the Design View.

Format source code (and reparse) on editor save

This preference determines whether the generated source code will be formatted using your Eclipse code formatting preferences whenever the WindowBuilder editor is saved.

Go to component definition in source on selection

This preference controls whether the source definition of a component is highlighted any time a component is selected in the Design View.