more fixes for #9794

This commit is contained in:
Benjamin Pasero
2016-09-12 12:59:42 +02:00
parent 77d8f8b5f4
commit 176f350454
8 changed files with 101 additions and 17 deletions

View File

@@ -143,10 +143,24 @@ export class ResourceEditorInput extends EditorInput {
return this.name;
}
public setName(name: string): void {
if (this.name !== name) {
this.name = name;
this._onDidChangeLabel.fire();
}
}
public getDescription(): string {
return this.description;
}
public setDescription(description: string): void {
if (this.description !== description) {
this.description = description;
this._onDidChangeLabel.fire();
}
}
public resolve(refresh?: boolean): TPromise<EditorModel> {
// Use Cached Model