public abstract class VCSQuickDiffReferenceProvider extends QuickDiffReferenceProvider
Modifier | Constructor and Description |
---|---|
protected |
VCSQuickDiffReferenceProvider(VCSExtension extension) |
Modifier and Type | Method and Description |
---|---|
QuickDiffReference |
createReference(java.net.URL url)
Creates an observable
QuickDiffReference for the given URL value. |
float |
getMenuSection()
Gets a section identifier for the menu item representing this reference
type in the UI.
|
boolean |
isAvailable(java.net.URL url)
Asks whether this reference type should be made available for the given URL.
|
protected boolean |
isAvailableImpl(java.net.URL url) |
protected abstract java.io.InputStream |
openInputStream(java.net.URL url) |
getID, getName
protected VCSQuickDiffReferenceProvider(VCSExtension extension)
public final float getMenuSection()
QuickDiffReferenceProvider
getMenuSection
in class QuickDiffReferenceProvider
public final boolean isAvailable(java.net.URL url)
QuickDiffReferenceProvider
isAvailable
in class QuickDiffReferenceProvider
url
- the URL.protected boolean isAvailableImpl(java.net.URL url)
public final QuickDiffReference createReference(java.net.URL url)
QuickDiffReferenceProvider
QuickDiffReference
for the given URL value.createReference
in class QuickDiffReferenceProvider
url
- the URL of the reference.QuickDiffReference
backed by the URL.protected abstract java.io.InputStream openInputStream(java.net.URL url) throws java.io.IOException
java.io.IOException