/* IMPORT */
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const _ = require("lodash");
const item_1 = require("./item");
/* TODO */
class Todo extends item_1.default {
    constructor(obj, label, icon = false) {
        super(obj, label);
        this.contextValue = 'todo';
        this.tooltip = _.trim(obj.code);
        this.command = {
            title: 'Open',
            command: 'todo.viewOpenTodo',
            arguments: [this]
        };
        if (icon) {
            this.setTypeIcon(obj.type);
        }
    }
}
/* EXPORT */
exports.default = Todo;
//# sourceMappingURL=todo.js.map