summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/tab.ts
blob: a7ce509ce0c9c3ad229d0927def5105301ae2305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
 * Created by obarda on 7/31/2016.
 */
'use strict';

export class Tab {

    public templateUrl:string;
    public controller:string;
    public data:any;
    public icon:string;
    public name:string;
    public isViewMode:boolean;

    constructor(templateUrl:string, controller:string, name:string, isViewMode:boolean, data?:any, icon?:string) {

        this.templateUrl = templateUrl;
        this.controller = controller;
        this.icon = icon;
        this.data = data;
        this.name = name;
        this.isViewMode = isViewMode;
    }
}