Newsreader/Tutorials/How to hook your eclipse project newsgroup to salvo
How to hook your eclipse project newsgroup to salvo
This tutorial explains how you can hook your eclipse project/product newsgroup to salvo.
By hooking your project newsgroup with Salvo, Salvo will able to automatically figure out and suggests newsgroups to your project/product users where they can post their questions.
2.2 Now right click the added extension and add a newsgroup.
To create a new class which implements the INewsgroupProvider interface, click on the “class” link.
The following dialog will appear when you click on the “class” link.
When you click finish, you will see the generated class which implements the INewsgroupProvider interface.
2.5 Define newsgroup information.
In here you have to define the information of your newsgroup.
Please see the org.eclipse.ecf.salvo.ui.external.provider.INewsgroupProvider interface for more information.
Now first part of the process is completed.
2.6 Define when to enable your newsgroup.
Under the enablement section, using eclipse core expressions you can define the conditions that should satisfy to enable your newsgroup.
Following is a sample enablement definition.
org.eclipse.ecf.salvo.application.perspective perspective is active or org.eclipse.ecf.salvo.ui.internal.views.messageView part is active or org.eclipse.ecf.salvo.ui.articlepanel editor is active.
Following is the plugin.xml configuration for the above extension.