In the second part of this tutorial, we will use what we learned in part one, and create a new client services (plugin) project which will contribute a context menu to Lotus Notes. The video explains everything your need to do, but if your would like more information on some of the topics covered in this video check out the links below.
(For the best quality watch the video in 720P.)
Architecture
This is a high level architecture diagram of the RCP layer inside of Lotus Notes. The big red box in the diagram is RCP or rich client platform. This platform contains several libraries which provide both extension points and APIs you can use in your plugins.
Documentation
Code For Handler
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.ui.PlatformUI;
public class HelloWorldHandler extends AbstractHandler {
private static final String MESSAGE = “Hello World “;
public Object execute(ExecutionEvent event) throws ExecutionException {
MessageBox messageBox = new MessageBox(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
messageBox.setMessage(MESSAGE);
messageBox.open();
return null;
}
}