[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [corona-dev] Poject container viewer pages.
|
handleProjectEvent() needs to be at least defined in
AbstractProjectContainerPage so that default handling functionality can
be defined.
Defining it as well in IProjectContainerPage is a good idea.
This is what I have in my working copy of AbstractProjectContainerPage:
protected void handleProjectEvent(ProjectEvent projectEvent)
-----Original Message-----
From: corona-dev-bounces@xxxxxxxxxxx
[mailto:corona-dev-bounces@xxxxxxxxxxx] On Behalf Of Marcin Okraszewski
Sent: Friday, July 14, 2006 8:53 AM
To: Corona development
Subject: Re: [corona-dev] Poject container viewer pages.
I was rather thinking of the first approach. For me it seems to be more
natural. I suppose that the handleProjectEvent() would be defined in
IProjectContainerPage rather than AbstractProjectContainerPage, doesn't
it?
If you want we can handle this task.
Marcin
>* The ProjectContainerViewer would register a collaboration event
>subscription, using a filter to only receive events for the Projects it
>is interested in.
>* For each ProjectEvent, the ProjectContainerViewer would iterate over
>the list of extension-point pages and invoke the handleProjectEvent()
>(to be) defined in AbstractProjectContainerPage.
>* Each extension-point page that is interested in the ProjectEvent
would
>override the handleProjectEvent() method.
>
>An alternative approach is to have each extension-point page register
>its own ProjectEvent subscription.
>
>
The contents of this e-mail are intended for the named addressee only.
It contains information that may be confidential. Unless you are the
named addressee or an authorized designee, you may not copy or use it,
or disclose it to anyone else. If you received it in error please notify
us immediately and then destroy it.
_______________________________________________
corona-dev mailing list
corona-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/corona-dev
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.