org.eclipse.jdt.core.WorkingCopyOwner.getProblemRequestor()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(8.3k)|赞(0)|评价(0)|浏览(83)

本文整理了Java中org.eclipse.jdt.core.WorkingCopyOwner.getProblemRequestor()方法的一些代码示例,展示了WorkingCopyOwner.getProblemRequestor()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WorkingCopyOwner.getProblemRequestor()方法的具体详情如下:
包路径:org.eclipse.jdt.core.WorkingCopyOwner
类名称:WorkingCopyOwner
方法名:getProblemRequestor

WorkingCopyOwner.getProblemRequestor介绍

[英]Returns the problem requestor used by a working copy of this working copy owner.

By default, no problem requestor is configured. Clients can override this method to provide a requestor.
[中]返回此工作副本所有者的工作副本使用的问题请求者。
默认情况下,未配置任何问题请求程序。客户端可以重写此方法以提供请求者。

代码示例

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

public IProblemRequestor getProblemRequestor() {
  if (this.problemRequestor == null && this.workingCopy.owner != null) {
    return this.workingCopy.owner.getProblemRequestor(this.workingCopy);
  }
  return this.problemRequestor;
}
public ICompilationUnit getWorkingCopy() {

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

public IProblemRequestor getProblemRequestor() {
  if (this.problemRequestor == null && this.workingCopy.owner != null) {
    return this.workingCopy.owner.getProblemRequestor(this.workingCopy);
  }
  return this.problemRequestor;
}
public ICompilationUnit getWorkingCopy() {

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

public IProblemRequestor getProblemRequestor() {
  if (this.problemRequestor == null && this.workingCopy.owner != null) {
    return this.workingCopy.owner.getProblemRequestor(this.workingCopy);
  }
  return this.problemRequestor;
}
public ICompilationUnit getWorkingCopy() {

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

public IProblemRequestor getProblemRequestor() {
  if (this.problemRequestor == null && this.workingCopy.owner != null) {
    return this.workingCopy.owner.getProblemRequestor(this.workingCopy);
  }
  return this.problemRequestor;
}
public ICompilationUnit getWorkingCopy() {

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

public IProblemRequestor getProblemRequestor() {
  if (this.problemRequestor == null && this.workingCopy.owner != null) {
    return this.workingCopy.owner.getProblemRequestor(this.workingCopy);
  }
  return this.problemRequestor;
}
public ICompilationUnit getWorkingCopy() {

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

public IProblemRequestor getProblemRequestor() {
  if (this.problemRequestor == null && this.workingCopy.owner != null) {
    return this.workingCopy.owner.getProblemRequestor(this.workingCopy);
  }
  return this.problemRequestor;
}
public ICompilationUnit getWorkingCopy() {

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

@Override
public void becomeWorkingCopy(IProgressMonitor monitor) throws JavaModelException {
  IProblemRequestor requestor = this.owner == null ? null : this.owner.getProblemRequestor(this);
  becomeWorkingCopy(requestor, monitor);
}
@Override

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

public void becomeWorkingCopy(IProgressMonitor monitor) throws JavaModelException {
  IProblemRequestor requestor = this.owner == null ? null : this.owner.getProblemRequestor(this);
  becomeWorkingCopy(requestor, monitor);
}
protected boolean buildStructure(OpenableElementInfo info, final IProgressMonitor pm, Map newElements, IResource underlyingResource) throws JavaModelException {

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

public void becomeWorkingCopy(IProgressMonitor monitor) throws JavaModelException {
  IProblemRequestor requestor = this.owner == null ? null : this.owner.getProblemRequestor(this);
  becomeWorkingCopy(requestor, monitor);
}
protected boolean buildStructure(OpenableElementInfo info, final IProgressMonitor pm, Map newElements, IResource underlyingResource) throws JavaModelException {

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

public void becomeWorkingCopy(IProgressMonitor monitor) throws JavaModelException {
  IProblemRequestor requestor = this.owner == null ? null : this.owner.getProblemRequestor(this);
  becomeWorkingCopy(requestor, monitor);
}
protected boolean buildStructure(OpenableElementInfo info, final IProgressMonitor pm, Map newElements, IResource underlyingResource) throws JavaModelException {

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

public void becomeWorkingCopy(IProgressMonitor monitor) throws JavaModelException {
  IProblemRequestor requestor = this.owner == null ? null : this.owner.getProblemRequestor(this);
  becomeWorkingCopy(requestor, monitor);
}
protected boolean buildStructure(OpenableElementInfo info, final IProgressMonitor pm, Map newElements, IResource underlyingResource) throws JavaModelException {

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

public void becomeWorkingCopy(IProgressMonitor monitor) throws JavaModelException {
  IProblemRequestor requestor = this.owner == null ? null : this.owner.getProblemRequestor(this);
  becomeWorkingCopy(requestor, monitor);
}
protected boolean buildStructure(OpenableElementInfo info, final IProgressMonitor pm, Map newElements, IResource underlyingResource) throws JavaModelException {

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

IPackageFragment parent = ((PackageFragmentRoot) project.getPackageFragmentRoot(project.getProject())).getPackageFragment(CharOperation.NO_STRINGS);
CompilationUnit result = new CompilationUnit((PackageFragment) parent, name, this);
result.becomeWorkingCopy(getProblemRequestor(result), monitor);
return result;

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

IPackageFragment parent = ((PackageFragmentRoot) project.getPackageFragmentRoot(project.getProject())).getPackageFragment(CharOperation.NO_STRINGS);
CompilationUnit result = new CompilationUnit((PackageFragment) parent, name, this);
result.becomeWorkingCopy(getProblemRequestor(result), monitor);
return result;

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

IPackageFragment parent = ((PackageFragmentRoot) project.getPackageFragmentRoot(project.getProject())).getPackageFragment(CharOperation.NO_STRINGS);
CompilationUnit result = new CompilationUnit((PackageFragment) parent, name, this);
result.becomeWorkingCopy(getProblemRequestor(result), monitor);
return result;

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

IPackageFragment parent = ((PackageFragmentRoot) project.getPackageFragmentRoot(project.getProject())).getPackageFragment(CharOperation.NO_STRINGS);
CompilationUnit result = new CompilationUnit((PackageFragment) parent, name, this);
result.becomeWorkingCopy(getProblemRequestor(result), monitor);
return result;

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

IPackageFragment parent = ((PackageFragmentRoot) project.getPackageFragmentRoot(project.getProject())).getPackageFragment(CharOperation.NO_STRINGS);
CompilationUnit result = new CompilationUnit((PackageFragment) parent, name, this);
result.becomeWorkingCopy(getProblemRequestor(result), monitor);
return result;

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

problemRequestor =  ((JavaModelManager.PerWorkingCopyInfo)problemRequestor).getProblemRequestor();
boolean defaultRequestorIsActive = problemRequestor != null && problemRequestor.isActive();
IProblemRequestor ownerProblemRequestor = this.workingCopyOwner.getProblemRequestor(workingCopy);
boolean ownerRequestorIsActive = ownerProblemRequestor != null && ownerProblemRequestor != problemRequestor && ownerProblemRequestor.isActive();
this.requestorIsActive = defaultRequestorIsActive || ownerRequestorIsActive;

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

problemRequestor =  ((JavaModelManager.PerWorkingCopyInfo)problemRequestor).getProblemRequestor();
boolean defaultRequestorIsActive = problemRequestor != null && problemRequestor.isActive();
IProblemRequestor ownerProblemRequestor = this.workingCopyOwner.getProblemRequestor(workingCopy);
boolean ownerRequestorIsActive = ownerProblemRequestor != null && ownerProblemRequestor != problemRequestor && ownerProblemRequestor.isActive();
this.requestorIsActive = defaultRequestorIsActive || ownerRequestorIsActive;

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

problemRequestor =  ((JavaModelManager.PerWorkingCopyInfo)problemRequestor).getProblemRequestor();
boolean defaultRequestorIsActive = problemRequestor != null && problemRequestor.isActive();
IProblemRequestor ownerProblemRequestor = this.workingCopyOwner.getProblemRequestor(workingCopy);
boolean ownerRequestorIsActive = ownerProblemRequestor != null && ownerProblemRequestor != problemRequestor && ownerProblemRequestor.isActive();
this.requestorIsActive = defaultRequestorIsActive || ownerRequestorIsActive;

相关文章