made WeaveContextMenu.create() more flexible.

Change-Id: I6f61e8bd48905375908d51457c30423b4cee4059