- package sql_lab;
- import org.eclipse.jface.action.Action;
- import org.eclipse.jface.dialogs.MessageDialog;
- import org.eclipse.swt.widgets.Display;
- public class HelpAction extends Action {
- public HelpAction(){
- super();
- this.setText("关于。。(&G)");
- this.setToolTipText("关于");
- }
- public void run(){
- MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "帮助", "作者:郭世清 n 华工06软件一班 n mail:guoshiqing2006@yahoo.com.cn");
- }
- }