Java 类org.eclipse.xtext.ui.editor.model.edit.IssueModificationContext 实例源码

项目:n4js    文件:N4JSMarkerResolutionGenerator.java   
private MultiResolutionAdapter(IssueResolution resolution) {
    if (!(resolution.getModificationContext() instanceof IssueModificationContext))
        throw new IllegalArgumentException(
                "the resolution's modification context must be an IssueModificationContext");
    this.issue = ((IssueModificationContext) resolution.getModificationContext()).getIssue();
    this.resolution = resolution;
}
项目:bts    文件:IssueResolutionAcceptor.java   
@Inject
public IssueResolutionAcceptor(IssueModificationContext.Factory modificationContextFactory) {
    this.modificationContextFactory = modificationContextFactory;
}
项目:bts    文件:DefaultQuickfixProvider.java   
/**
 * @since 2.0
 */
protected IssueModificationContext.Factory getModificationContextFactory() {
    return modificationContextFactory;
}