Context Menu

The Context Menu provides access to commands commonly used in the Design View and Component Tree.

Icon

Menu Name

Description

Cut Copy the selected components to the clipboard and remove them from the design view.
Copy Copy the selected components to the clipboard.
Paste Paste the selected components from the clipboard
Delete Remove the selected components from the design view.
Test/Preview   Preview the window using a quick test mode. This is ideal for testing the layout and resizing behavior of your components.
  Rename Rename Dialog

Rename the selected components and/or convert them to fields or local variables. New variable names may be generated from the text attribute of the component.

  Change Style > Style Menu  Style MenuStyle MenuChange the style of the selected components.
  Template > Template MenuSave, Clear or Apply a template to the selected components.
  Morph > Morph Menu  Morph MenuMorph the selected components into another type. Similar component types are listed. Direct subclasses of the select component may also be selected as can any other arbitrary class.
  Forms > Forms Menu Forms MenuToggle painting borders and adapting controls in a Forms API layout.
  Implement > Implement an event handler for an event triggered by the selected component..
  Set Layout >   Set Layout MenuSet Layout MenuChange the layout of the selected container.
Delete Layout   Delete the current layout manager from the selected container.
Set Tab Order Tab Order DialogSet the tab order for the controls in the selected container.

If one or more controls in a container are selected, this command will set the tab order of the container to the selection order of the controls.

  Flatten Hierarchy >   Flatten Hierarchy (Before)Flatten Hierarchy (After)Flatten the hierarchy of the selected Swing panel. The layout is converted to null layout, all sub panels are removed and all widgets become children of the selected panel.
  Autosize Widget   Autosize the selected component (available for null layout, SWT FormLayout and Swing SpringLayout)
  Order > Order MenuChange the relative z-order of the selected component. Bring the widget to the front, send it to the back, bring it forward or send it backward. The command applies to AbsoluteLayout only.
  Expose Control  Expose Control menuExpose Control dialog

Add a public or protected accessor for the selected component. Components exposed in superclasses or in embedded panels can be selected and edited by the user.
 

  Data Binding
Eclipse 3.3 only
Data Binding menuQuickly create or edit data bindings for a widget. If the widget does not have any data bindings, the menu immediately cascades out to show the available properties of the widget that can be bound to a model property. If the widget has existing data bindings, those are shown at the top of the cascaded menu and a list of widget properties is shown in a submenu. Clicking on an unbound property will open the Create Data Binding wizard while clicking a bound property will open the Edit Data Binding dialog.