* Construct a new ConstextMenuListener.
* @param context the ODOMEditorContext.
* @param actions the actions available to the menu.
*/
public ContextMenuListener(ODOMEditorContext context, Map actions) {
ODOMElementSelectionListener listener =
createSelectionListener(context);
context.getODOMSelectionManager().addSelectionListener(listener,
FILTER);
final LayoutODOMEditorContext odomEditorContext =
(LayoutODOMEditorContext) context;