自定义Mylyn上下文UI

自定义Mylyn上下文UI

本文介绍了自定义Mylyn上下文UI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Mylyn中,如果激活任务并使用上下文UI功能,软件包资源管理器将显示属于此任务上下文的类和您所在的方法。

In Mylyn, if you activate a task and use the context UI feature, the package explorer shows the classes belonging to this tasks context AND the method you are within.

是否可以自定义/配置Mylyn Context UI:

Is it possible to customize/configure the Mylyn Context UI to:


  • 仅显示类名称

  • 不要深入课堂

  • 并显示方法?

对我而言如果过滤的软件包资源管理器视图还包含方法,则不方便,如果软件包资源管理器中可见的上下文仅显示软件包和类名称就足够了。

For me it's not convenient if the filtered package explorer view contains also the methods, and it would be enough if the context visible in the package explorer showed the packages and class names only.

谢谢。

推荐答案

在包资源管理器中,您可以点击右上角的箭头并选择过滤器...并且过滤出java成员,字段,导入声明等。之后,只会显示包和类。

In the package explorer you can click on the upper-right down-arrow and select 'Filters...' and filter out java members, fields, import declarations, etc. Afterwards, only packages and classes should show up.

这将在Helios上工作,但是我知道一些旧的版本的Ecl ipse,Mylyn不会让我改变过滤器,而我被重点关注一项任务。但是,我可以通过更改过滤器,使任何焦点放在任务之前。

This will work on Helios, but I know on some older version of Eclipse, Mylyn wouldn't let me change the filter while I was 'Focused' on a task. However, I could get it to work by changing the filter before putting any task in focus.

这篇关于自定义Mylyn上下文UI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 04:43