Activities seems to be not Dynamic-Aware [message #317001] |
Fri, 22 June 2007 11:40  |
Eclipse User |
|
|
|
Hi all,
I'm trying to apply at runtime filters on some views in all my
perspectives, even perspectives are already opened or not.
For this, I create and register at runtime an Activity and it's
patternBinding that refer the views I want to hide.
The new Activity was correctly created and registered in the
ExtensionRegistry . but, the IWorkbenchActivitySupport didn't take it in
consideration.
The WorkbenchActivitySupport implements IExtensionChangeHandler but was
not notified of changes for activity extension point, It sound to be an
eclipse bug.
My questions:
-Is there any error on my approach to filter dynamically views in my
perspectives?
-Did activities was intended to be Extension's Changes aware, if yes, is
there a bug here?
Thx in advance,
Anis
|
|
|
Re: Activities seems to be not Dynamic-Aware [message #317077 is a reply to message #317001] |
Mon, 25 June 2007 09:11  |
Eclipse User |
|
|
|
Anis wrote:
>
> The WorkbenchActivitySupport implements IExtensionChangeHandler but was
> not notified of changes for activity extension point, It sound to be an
> eclipse bug.
AFAICT, ExtensionActivityRegistry should be notified about activities
extension changes.
>
> My questions:
> -Is there any error on my approach to filter dynamically views in my
> perspectives?
> -Did activities was intended to be Extension's Changes aware, if yes, is
> there a bug here?
Activities won't filter open views out of a perspective, AFAIK. Also,
activities won't prevent a view from opening, it just removes the open
icons from certain locations (like the show view shortcut menu).
PW
|
|
|
Powered by
FUDForum. Page generated in 0.04728 seconds