Java tutorial
package com.clevercloud.eclipse.plugin.handlers; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.swt.widgets.Shell; import org.eclipse.ui.handlers.HandlerUtil; public class CreditsHandler extends AbstractHandler { @Override public Object execute(ExecutionEvent event) { Shell shell = HandlerUtil.getActiveWorkbenchWindow(event).getShell(); MessageDialog.openInformation(shell, "Credits", "\nIcons are under Creative Commons Attribution 2.5 License\n" + "http://www.famfamfam.com/lab/icons/silk/"); return null; } }