# IMappetUIContext.getContext [← IMappetUIContext](index.md) · [← Master](../../wiki.md) getContext() java.lang.String Get the ID of the last context menu item.