类org.eclipse.ui.IObjectActionDelegate源码实例Demo

下面列出了怎么用org.eclipse.ui.IObjectActionDelegate的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: LogViewer   文件: OpenWith.java
public Object execute(ExecutionEvent event) throws ExecutionException {
	IWorkbenchPart part = HandlerUtil.getActivePart(event);
	IObjectActionDelegate action = EditorPropertyTester.hasResourceSelection(part);
	if (action == null) {
		action = EditorPropertyTester.hasAbstractConsole(part);
	}
	if (action != null)
		action.run(null);
	return null;
}
 
 类所在包
 类方法
 同包方法