g-Eclipse
Release 1.0.0

eu.geclipse.ui.widgets
Class DropDownExtensionAction<UserDataType>

java.lang.Object
  extended by Action
      extended by eu.geclipse.ui.widgets.DropDownExtensionAction<UserDataType>
Type Parameters:
UserDataType - type of the user data which is passed then a entry gets selected.

public class DropDownExtensionAction<UserDataType>
extends Action

Drop down menu which gets it's contents from an extension point.


Constructor Summary
DropDownExtensionAction(UserDataType userData, java.lang.String extensionPointId)
          Create a new drop down menu which gets its contents from the specified extension point.
 
Method Summary
 void dispose()
           
 Menu getMenu(Control parent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropDownExtensionAction

public DropDownExtensionAction(UserDataType userData,
                               java.lang.String extensionPointId)
Create a new drop down menu which gets its contents from the specified extension point.

Parameters:
userData - user data to pass when a entry gets selected.
extensionPointId - id of the extension point which holds the drop down entries.
Method Detail

dispose

public void dispose()

getMenu

public Menu getMenu(Control parent)

g-Eclipse
Release 1.0.0