org.eclipse.net4j.util.ui.container
Class ElementWizardComposite.WithCombo

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by org.eclipse.net4j.util.ui.container.ElementWizardComposite
                      extended by org.eclipse.net4j.util.ui.container.ElementWizardComposite.WithCombo
All Implemented Interfaces:
EventListener, SelectionListener, Drawable, org.eclipse.swt.internal.SWTEventListener
Enclosing class:
ElementWizardComposite

public static class ElementWizardComposite.WithCombo
extends ElementWizardComposite
implements SelectionListener

Author:
Eike Stepper

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.net4j.util.ui.container.ElementWizardComposite
ElementWizardComposite.WithCombo, ElementWizardComposite.WithRadios
 
Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Constructor Summary
ElementWizardComposite.WithCombo(Composite parent, int style, String productGroup, String label)
           
 
Method Summary
protected  void createFactoryTypeControl()
           
 String getFactoryType()
           
protected  void setFactoryType(String factoryType)
           
 void widgetDefaultSelected(SelectionEvent e)
          Sent when default selection occurs in the control.
 void widgetSelected(SelectionEvent e)
          Sent when selection occurs in the control.
 
Methods inherited from class org.eclipse.net4j.util.ui.container.ElementWizardComposite
create, factoryTypeChanged, getContainer, getDefaultDescription, getDescription, getFactoryTypes, getLabel, getProductGroup, harvestControls, init, layout, setDefaultDescription, setValidationContext
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getBorderWidth, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementWizardComposite.WithCombo

public ElementWizardComposite.WithCombo(Composite parent,
                                        int style,
                                        String productGroup,
                                        String label)
Method Detail

widgetSelected

public void widgetSelected(SelectionEvent e)
Description copied from interface: org.eclipse.swt.events.SelectionListener
Sent when selection occurs in the control.

For example, selection occurs in a List when the user selects an item or items with the keyboard or mouse. On some platforms, the event occurs when a mouse button or key is pressed. On others, it happens when the mouse or key is released. The exact key or mouse gesture that causes this event is platform specific.

Specified by:
widgetSelected in interface SelectionListener
Parameters:
e - an event containing information about the selection

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)
Description copied from interface: org.eclipse.swt.events.SelectionListener
Sent when default selection occurs in the control.

For example, on some platforms default selection occurs in a List when the user double-clicks an item or types return in a Text. On some platforms, the event occurs when a mouse button or key is pressed. On others, it happens when the mouse or key is released. The exact key or mouse gesture that causes this event is platform specific.

Specified by:
widgetDefaultSelected in interface SelectionListener
Parameters:
e - an event containing information about the default selection

getFactoryType

public String getFactoryType()
Specified by:
getFactoryType in class ElementWizardComposite

setFactoryType

protected void setFactoryType(String factoryType)
Specified by:
setFactoryType in class ElementWizardComposite

createFactoryTypeControl

protected void createFactoryTypeControl()
Specified by:
createFactoryTypeControl in class ElementWizardComposite


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.