{
final ContextMenuItem showInTree = new ContextMenuItem(name);
showInTree.setLabel(getMsgs().get(label));
showInTree.setIcon(MgnlContext.getContextPath() + "/.resources/icons/16/" + iconName);
showInTree.setOnclick(this.getList().getName() + "." + methodName + "();");
showInTree.addJavascriptCondition("function(){return "
+ this.getList().getName()
+ "."
+ isActiveMethodName
+ "()}");
menu.addMenuItem(showInTree);