What you’ll probably want to do is add your own filter to
the Task List view. You can do this via:
TaskListView getFromActivePerspective().addFilter(AbstractTaskListFilter
filter)
Note that you will be using internals and not API, and as such
will have to ensure that you interoperate correctly with other filters and that
your filter is not broken by changes down the road. The best way to
ensure that would be to contribute a test case to Mylyn that exercises the code
that you use in a way that’s similar to your own code. For an example
of such a test case see TaskListUiTest and consider filing a bug where we can
discuss details and take a patch.
Mik
From:
mylyn-integrators-bounces@xxxxxxxxxxx
[mailto:mylyn-integrators-bounces@xxxxxxxxxxx] On Behalf Of Harsh Gehlot
Sent: Sunday, June 01, 2008 2:06 PM
To: mylyn-integrators@xxxxxxxxxxx
Subject: [mylyn-integrators] Programmatically showing categories
I want to hide/show the categories in Mylyn TaskView
programmatically. We have this specific requirement as the task view is
integrated in our application. Any pointers in regard how to achieve this
will help.