Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Infocenter: enabling filtering
Infocenter: enabling filtering [message #474921] Fri, 19 December 2008 11:03 Go to next message
Oliver Tupman is currently offline Oliver TupmanFriend
Messages: 4
Registered: July 2009
Junior Member
I'm working with developing our application's help system (which we expect
would be the infocenter deployed in a WAR to Tomcat).

One of our application's requirements is that the Tables of Content
displayed to the user must vary based on the role the user has within our
application.

I've managed to filter the TOCs displayed by using the filtering
capability... but I've just discovered that the infocenter has filtering
disabled.

Is there any way to turn filtering back on for the infocenter? Or am I
missing something, and there's actually a very good reason why filtering
is off?...

Alternatively, can anyone suggest a different way of filtering the TOCs?

Cheers all,

Oliver Tupman
Re: Infocenter: enabling filtering [message #474966 is a reply to message #474921] Fri, 19 December 2008 17:17 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
This sounds very similar to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907. The discussion on
that bug report seems to have gone dormant but I think that this is a
good idea, it's just a question of finding the development resources to
do this.

The way filtering works in Eclipse is to preprocess the TOC files during
TOC assembly and exclude any segments that do not apply. For example if
the system is Windows any sections which are tagged as being Linux only
are excluded when the TOC is built. This does not work for the
infocenter because the infocenter needs to support all possible clients
and the TOC is only assembled once. Looking back at this implementation
it might have been better to have flagged the TOC entries with role
information and only present those elements which satisfy the right
criteria.

Maybe you can add a comment to that bug so we can reopen the discussion.

Chris

Oliver Tupman wrote:
> I'm working with developing our application's help system (which we
> expect would be the infocenter deployed in a WAR to Tomcat).
> One of our application's requirements is that the Tables of Content
> displayed to the user must vary based on the role the user has within
> our application.
>
> I've managed to filter the TOCs displayed by using the filtering
> capability... but I've just discovered that the infocenter has filtering
> disabled.
>
> Is there any way to turn filtering back on for the infocenter? Or am I
> missing something, and there's actually a very good reason why filtering
> is off?...
>
> Alternatively, can anyone suggest a different way of filtering the TOCs?
>
> Cheers all,
>
> Oliver Tupman
>
Re: Infocenter: enabling filtering [message #474967 is a reply to message #474966] Fri, 19 December 2008 19:53 Go to previous messageGo to next message
Lee Anne Kowalski is currently offline Lee Anne KowalskiFriend
Messages: 54
Registered: July 2009
Member
Hi Chris,

I think something similar is also mentioned in Bugzilla 252661 as
"filtering of the navigation tree based on Criteria"

A 'role' would be a specific type of criteria.

Bugzilla 252661: https://bugs.eclipse.org/bugs/show_bug.cgi?id=252661

Hope this helps,
Lee Anne

Chris Goldthorpe wrote:
> This sounds very similar to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907. The discussion on
> that bug report seems to have gone dormant but I think that this is a
> good idea, it's just a question of finding the development resources to
> do this.
>
> The way filtering works in Eclipse is to preprocess the TOC files during
> TOC assembly and exclude any segments that do not apply. For example if
> the system is Windows any sections which are tagged as being Linux only
> are excluded when the TOC is built. This does not work for the
> infocenter because the infocenter needs to support all possible clients
> and the TOC is only assembled once. Looking back at this implementation
> it might have been better to have flagged the TOC entries with role
> information and only present those elements which satisfy the right
> criteria.
>
> Maybe you can add a comment to that bug so we can reopen the discussion.
>
> Chris
>
> Oliver Tupman wrote:
>> I'm working with developing our application's help system (which we
>> expect would be the infocenter deployed in a WAR to Tomcat).
>> One of our application's requirements is that the Tables of Content
>> displayed to the user must vary based on the role the user has within
>> our application.
>>
>> I've managed to filter the TOCs displayed by using the filtering
>> capability... but I've just discovered that the infocenter has
>> filtering disabled.
>>
>> Is there any way to turn filtering back on for the infocenter? Or am I
>> missing something, and there's actually a very good reason why
>> filtering is off?...
>>
>> Alternatively, can anyone suggest a different way of filtering the TOCs?
>>
>> Cheers all,
>>
>> Oliver Tupman
>>
Re: Infocenter: enabling filtering [message #474972 is a reply to message #474921] Tue, 06 January 2009 09:38 Go to previous messageGo to next message
Oliver Tupman is currently offline Oliver TupmanFriend
Messages: 4
Registered: July 2009
Junior Member
Ok, so far answers to my query focus on how to do the filtering - this
I've implemented by using TOC providers, as mentioned in comment #6 of Bug
42907 ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 ).

My main issue issue remains: the help system filters only in workbench
mode. Is there a way to enable filtering in infocenter mode?
Re: Infocenter: enabling filtering [message #474974 is a reply to message #474972] Tue, 06 January 2009 19:17 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Currently there is no way to turn on filtering in infocenter mode. If I
understand correctly you would like a single infocenter to be able to
vary either the table of contents or the content of individual pages
based on the users role. I have actually been looking into the
feasibility of doing this but it's a fairly large task and is not going
to happen for Eclipse 3.5.


Oliver Tupman wrote:
> Ok, so far answers to my query focus on how to do the filtering - this
> I've implemented by using TOC providers, as mentioned in comment #6 of
> Bug 42907 ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 ).
>
> My main issue issue remains: the help system filters only in workbench
> mode. Is there a way to enable filtering in infocenter mode?
>
Re: Infocenter: enabling filtering [message #622747 is a reply to message #474921] Fri, 19 December 2008 17:17 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
This sounds very similar to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 The discussion on
that bug report seems to have gone dormant but I think that this is a
good idea, it's just a question of finding the development resources to
do this.

The way filtering works in Eclipse is to preprocess the TOC files during
TOC assembly and exclude any segments that do not apply. For example if
the system is Windows any sections which are tagged as being Linux only
are excluded when the TOC is built. This does not work for the
infocenter because the infocenter needs to support all possible clients
and the TOC is only assembled once. Looking back at this implementation
it might have been better to have flagged the TOC entries with role
information and only present those elements which satisfy the right
criteria.

Maybe you can add a comment to that bug so we can reopen the discussion.

Chris

Oliver Tupman wrote:
> I'm working with developing our application's help system (which we
> expect would be the infocenter deployed in a WAR to Tomcat).
> One of our application's requirements is that the Tables of Content
> displayed to the user must vary based on the role the user has within
> our application.
>
> I've managed to filter the TOCs displayed by using the filtering
> capability... but I've just discovered that the infocenter has filtering
> disabled.
>
> Is there any way to turn filtering back on for the infocenter? Or am I
> missing something, and there's actually a very good reason why filtering
> is off?...
>
> Alternatively, can anyone suggest a different way of filtering the TOCs?
>
> Cheers all,
>
> Oliver Tupman
>
Re: Infocenter: enabling filtering [message #622749 is a reply to message #474966] Fri, 19 December 2008 19:53 Go to previous message
Lee Anne Kowalski is currently offline Lee Anne KowalskiFriend
Messages: 54
Registered: July 2009
Member
Hi Chris,

I think something similar is also mentioned in Bugzilla 252661 as
"filtering of the navigation tree based on Criteria"

A 'role' would be a specific type of criteria.

Bugzilla 252661: https://bugs.eclipse.org/bugs/show_bug.cgi?id=252661

Hope this helps,
Lee Anne

Chris Goldthorpe wrote:
> This sounds very similar to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 The discussion on
> that bug report seems to have gone dormant but I think that this is a
> good idea, it's just a question of finding the development resources to
> do this.
>
> The way filtering works in Eclipse is to preprocess the TOC files during
> TOC assembly and exclude any segments that do not apply. For example if
> the system is Windows any sections which are tagged as being Linux only
> are excluded when the TOC is built. This does not work for the
> infocenter because the infocenter needs to support all possible clients
> and the TOC is only assembled once. Looking back at this implementation
> it might have been better to have flagged the TOC entries with role
> information and only present those elements which satisfy the right
> criteria.
>
> Maybe you can add a comment to that bug so we can reopen the discussion.
>
> Chris
>
> Oliver Tupman wrote:
>> I'm working with developing our application's help system (which we
>> expect would be the infocenter deployed in a WAR to Tomcat).
>> One of our application's requirements is that the Tables of Content
>> displayed to the user must vary based on the role the user has within
>> our application.
>>
>> I've managed to filter the TOCs displayed by using the filtering
>> capability... but I've just discovered that the infocenter has
>> filtering disabled.
>>
>> Is there any way to turn filtering back on for the infocenter? Or am I
>> missing something, and there's actually a very good reason why
>> filtering is off?...
>>
>> Alternatively, can anyone suggest a different way of filtering the TOCs?
>>
>> Cheers all,
>>
>> Oliver Tupman
>>
Re: Infocenter: enabling filtering [message #622760 is a reply to message #474921] Tue, 06 January 2009 09:38 Go to previous message
Oliver Tupman is currently offline Oliver TupmanFriend
Messages: 4
Registered: July 2009
Junior Member
Ok, so far answers to my query focus on how to do the filtering - this
I've implemented by using TOC providers, as mentioned in comment #6 of Bug
42907 ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 ).

My main issue issue remains: the help system filters only in workbench
mode. Is there a way to enable filtering in infocenter mode?
Re: Infocenter: enabling filtering [message #622764 is a reply to message #474972] Tue, 06 January 2009 19:17 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Currently there is no way to turn on filtering in infocenter mode. If I
understand correctly you would like a single infocenter to be able to
vary either the table of contents or the content of individual pages
based on the users role. I have actually been looking into the
feasibility of doing this but it's a fairly large task and is not going
to happen for Eclipse 3.5.


Oliver Tupman wrote:
> Ok, so far answers to my query focus on how to do the filtering - this
> I've implemented by using TOC providers, as mentioned in comment #6 of
> Bug 42907 ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 ).
>
> My main issue issue remains: the help system filters only in workbench
> mode. Is there a way to enable filtering in infocenter mode?
>
Previous Topic:Supressing stemming in search
Next Topic:Cheat sheet item: how to have variables in the description tag
Goto Forum:
  


Current Time: Fri Mar 29 08:41:38 GMT 2024

Powered by FUDForum. Page generated in 0.03014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top