construct popupmenu given paramet role determin purpos action creat popupmenu paramet compli role defin action action param role role param list list popup menu action role uml mutabl link list list menu menu menu menu set text translat local action menu add action action instanc action action instanc set target list target action action instanc valu action action role role add menu add separ action remov model element singleton set object remov action action action role list target add action remov model element singleton 