Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Activities seems to be not Dynamic-Aware
Activities seems to be not Dynamic-Aware [message #317001] Fri, 22 June 2007 11:40 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Programmatically Removing Obsolete Plug-ins
Next Topic:How to attach/register custom menu to a view?
Goto Forum:
  


Current Time: Wed Jul 16 15:40:55 EDT 2025

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

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

Back to the top