WIP of Stash Explorer commands

# Conflicts:
#	src/commands/stashApply.ts
This commit is contained in:
rebornix
2017-06-26 16:14:17 -07:00
committed by Eric Amodio
parent c96a659e9e
commit b81d873a34
8 changed files with 107 additions and 38 deletions

View File

@@ -1,7 +1,6 @@
'use strict';
import { ExtensionContext, TreeItem } from 'vscode';
import { Event, ExtensionContext, TreeItem} from 'vscode';
import { GitService, GitUri } from '../gitService';
export declare type ResourceType = 'status' | 'branches' | 'repository' | 'branch-history' | 'file-history' | 'stash-history' | 'commit' | 'stash-commit' | 'commit-file';
export abstract class ExplorerNode {
@@ -12,4 +11,7 @@ export abstract class ExplorerNode {
abstract getChildren(): ExplorerNode[] | Promise<ExplorerNode[]>;
abstract getTreeItem(): TreeItem | Promise<TreeItem>;
onDidChangeTreeData?: Event<ExplorerNode>;
refreshNode?(): void;
}