Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Salvo Newsreader : Passing the container reference among different wizards

Hi Wim,

On 24 July 2012 17:32, Wim Jongman <wim.jongman@xxxxxxxxx> wrote:

Here, He can't do that because, by the time of execution of init of wizard, we do not know what is the container type going to be. Therefore the container init has to be done at the performFinish() stage of the wizard. We had a separate discussion on this AFAIR.


Can't we just do some instanceof checking to see of this is the right container for the job? 

At the time of the initialization of the wizard we do not know the container type because it is the user who enters the URI. Based on the URI, We have to figure out the correct container type based on the user's input. Therefore it has to be done at the performFinish() stage.
 

First of all we connect to News Reader server and connect to other services later. If we can save the connection info in the NewsReader connection, we can use that info to pass to new containers to use for authentications, etc.

WDYT?


The NewsReader server, what is it? Is it an osgi service?

Nope. 

What I meant to say is, NNTP/FudForum server. First we have to initiate a connection to these servers and get authenticated. Thereafter we can join a news groups or the forums and do things like creating posts, replying posts, etc.

Sorry for the confusion :-)

Thanks and Regards,
Harshana
 
I checked https://github.com/tishan89/Newsreader but the last commit was 12 days ago. Is that the latest state?



_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev



--
Harshana Eranga Martin
Senior Software Engineer,
WSO2 Inc.
Web: http://wso2.com 
           http://wso2.org

ECF Committer: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05


Back to the top