I was thinking the following:
We want to give the suppliers of plugin functionality the opportunity to direct their users to the correct forum or newsgroup thru an extension point.
For example, if I provide a plugin that does wireframe sketching then I want the users of the wireframe software to ask a question in my specific forum.
If the java perspective is active, then I want the user to ask a question in the jdt newsgroup.
If the Mylyn task view is active then I want my question toe be directed there.
So Salvo must be able to determine the context of the user environment and based on this, the ask a question handler must propose the correct newsgroup:
If the proposed newsgroup is not correct, then the user can select one of the subscribed newsgroups or one of the newsgroups supplied by other extenders to the extension point.
We want to attach a NewsgroupFactory class to the extension point that gets called to extract the server, the server credentials and the newsgroup where the question can be asked (amongst other things).
If the user is not yet subscribed to the server, the factory must supply it so that we can subscribe automatically from there.
Maybe we can use the core _expression_ framework to select the newsgroup proposal.
newsgroupExtension
id=fddfsf
factory=(implements INewsGroupFactory) (getServer, getServerCredentials, getNewsGroup, getTopic, getAttachement, getStackTrace)
activewhen
activePerspective = org.eclipse.jdt
activeView = xyz
etc.. etcc
How about this first draft?