diff options
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/quickdiff/IQuickDiffReferenceProvider.java')
-rw-r--r-- | org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/quickdiff/IQuickDiffReferenceProvider.java | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/quickdiff/IQuickDiffReferenceProvider.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/quickdiff/IQuickDiffReferenceProvider.java deleted file mode 100644 index 328bf38853c..00000000000 --- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/quickdiff/IQuickDiffReferenceProvider.java +++ /dev/null @@ -1,51 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.ui.texteditor.quickdiff; - -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IProgressMonitor; - -import org.eclipse.jface.text.IDocument; - - -/** - * The protocol a reference provider for quickdiff has to implement. Quickdiff references provide - * a reference document (an <code>IDocument</code>) that is used as the original against which - * diff information is generated. - * <p>Extensions to the extension point <code>quickdiff.referenceprovider</code> have to implement - * this interface (plus another interface for plugin and UI management.</p> - * - * @since 3.0 - * @see IQuickDiffProviderImplementation - */ -public interface IQuickDiffReferenceProvider { - /** - * Returns the reference document for the quick diff display. - * - * @param monitor a preference monitor to monitor / cancel the process, or <code>null</code> - * @return the reference document for the quick diff display or <code>null</code> if getting the - * document was canceled or there is no reference available. - * @throws CoreException if getting the document fails. - */ - IDocument getReference(IProgressMonitor monitor) throws CoreException; - - /** - * Called when the reference is no longer used and the provider can free resources. - */ - void dispose(); - - /** - * Returns the id of this reference provider. - * - * @return the id of this provider as stated in the extending plugin's manifest. - */ - String getId(); -} |