@Nullable
protected TransformationMenuItem createItem(TransformationMenuContext context) {
Activity_TransformationMenu.TMP_SubMenu_rgk9zw_a0.TMP_Action_rgk9zw_b0a.Item item = new Activity_TransformationMenu.TMP_SubMenu_rgk9zw_a0.TMP_Action_rgk9zw_b0a.Item(context);
String description;
try {
description = "single item: " + item.getLabelText("");
} catch (Throwable t) {
Logger.getLogger(getClass()).error("Exception while executing getText of the item " + item, t);
return null;
}
context.getEditorMenuTrace().pushTraceInfo();
try {
context.getEditorMenuTrace().setDescriptor(new EditorMenuDescriptorBase(description, new SNodePointer("r:7c1e5bbb-2d18-4cf3-a11d-502be6b13261(jetbrains.mps.samples.VoiceMenu.editor)", "8720745441960649988")));
item.setTraceInfo(context.getEditorMenuTrace().getTraceInfo());
} finally {
context.getEditorMenuTrace().popTraceInfo();
}
return item;
}
Activity_TransformationMenu.java 文件源码
java
阅读 57
收藏 0
点赞 0
评论 0
项目:voicemenu
作者:
评论列表
文章目录