UNPKG

773 BTypeScriptView Raw
1import URI from '../common/uri';
2import { LabelProviderContribution, LabelProvider, DidChangeLabelEvent } from './label-provider';
3export declare namespace DiffUris {
4 const DIFF_SCHEME = "diff";
5 function encode(left: URI, right: URI, label?: string): URI;
6 function decode(uri: URI): URI[];
7 function isDiffUri(uri: URI): boolean;
8}
9export declare class DiffUriLabelProviderContribution implements LabelProviderContribution {
10 protected labelProvider: LabelProvider;
11 constructor(labelProvider: LabelProvider);
12 canHandle(element: object): number;
13 getLongName(uri: URI): string;
14 getName(uri: URI): string;
15 getIcon(uri: URI): string;
16 affects(diffUri: URI, event: DidChangeLabelEvent): boolean;
17}
18//# sourceMappingURL=diff-uris.d.ts.map
\No newline at end of file