bakehandler.java

来自「CakePHP的Eclipse插件」· Java 代码 · 共 32 行

JAVA
32
字号
package org.xicabin.radcake.core.handlers;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.xicabin.radcake.core.bake.Baker;

/**
 * Open the next matches curren file order by M -> C -> V, an IHandler base class.
 * 
 * @author Darcy Young
 * @see org.eclipse.core.commands.IHandler
 * @see org.eclipse.core.commands.AbstractHandler
 */
public class BakeHandler extends AbstractHandler {
	/**
	 * The constructor.
	 */
	public BakeHandler() {
	}

	/**
	 * the command has been executed, so extract extract the needed information
	 * from the application context.
	 */
	public Object execute(ExecutionEvent event) throws ExecutionException {
		Baker baker = new Baker();
		baker.run();
		return null;
	}
}

⌨️ 快捷键说明

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