g-Eclipse
Release 1.0.0

eu.geclipse.ui.widgets
Interface IDropDownEntry<UserDataType>

Type Parameters:
UserDataType - user data to pass when the entry gets selected.

public interface IDropDownEntry<UserDataType>

This interface has to be implemented by plugins which want to provide a drop down entry.


Field Summary
static java.lang.String EXT_CLASS
          Attribute specifying the drop down entries class.
static java.lang.String EXT_DROP_DOWN_ENTRY
          Element containing the drop down entries attributes.
static java.lang.String EXT_ICON
          Attribute specifying the drop down entries icon.
static java.lang.String EXT_LABEL
          Attribute specifying the drop down entries name.
 
Method Summary
 void action(UserDataType userData)
          Called when the user selects the drop down entry.
 

Field Detail

EXT_DROP_DOWN_ENTRY

static final java.lang.String EXT_DROP_DOWN_ENTRY
Element containing the drop down entries attributes.

See Also:
Constant Field Values

EXT_CLASS

static final java.lang.String EXT_CLASS
Attribute specifying the drop down entries class.

See Also:
Constant Field Values

EXT_LABEL

static final java.lang.String EXT_LABEL
Attribute specifying the drop down entries name.

See Also:
Constant Field Values

EXT_ICON

static final java.lang.String EXT_ICON
Attribute specifying the drop down entries icon.

See Also:
Constant Field Values
Method Detail

action

void action(UserDataType userData)
Called when the user selects the drop down entry.

Parameters:
userData - the userdata of the entry.

g-Eclipse
Release 1.0.0