Gets the action associated to this as a Action .
a ContextMenuItem
the Action associated to the ContextMenuItem, or null if this is a separator.