org.eclipse.ui.actions.DeleteResourceAction源码实例Demo

类org.eclipse.ui.actions.DeleteResourceAction源码实例Demo

下面列出了org.eclipse.ui.actions.DeleteResourceAction 类实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: xds-ide   文件: DeleteXdsResourceHandler.java
public DeleteXdsResourceHandler() {
	super();
	setAction(new DeleteResourceAction(shellProvider));
}
 
源代码2 项目: eclipse-extras   文件: DeleteEditorFileHandler.java
protected void deleteResource( IShellProvider shellProvier, IFile file ) {
  DeleteResourceAction deleteAction = new DeleteResourceAction( shellProvier );
  deleteAction.selectionChanged( new StructuredSelection( file ) );
  deleteAction.run();
}
 
private IAction createWorkbenchAction(IStructuredSelection selection) {
	DeleteResourceAction action= new DeleteResourceAction(getSite());
	action.selectionChanged(selection);
	return action;
}
 
源代码评论
动弹
沙发等你来抢
 类所在包
 类方法
 同包方法