printaction.java

来自「Eclipse RCP下编写的工作管理软件代码」· Java 代码 · 共 26 行

JAVA
26
字号
/*
 * Created on 2003-4-10
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package net.sf.pim.action;

import net.sf.pim.PrintUtil;

/**
 * @author lzhang
 */
public class PrintAction extends UiAction {
    public PrintAction() {
        super();
        name = "打印";
        gif = "print.gif";
    }

    public void run() {
    	super.run();
        PrintUtil.printWork(parent.getData().getWorks());
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?