summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/tab.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/models/tab.ts')
-rw-r--r--catalog-ui/src/app/models/tab.ts27
1 files changed, 27 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/tab.ts b/catalog-ui/src/app/models/tab.ts
new file mode 100644
index 0000000000..a7ce509ce0
--- /dev/null
+++ b/catalog-ui/src/app/models/tab.ts
@@ -0,0 +1,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;
+ }
+}
+
+
+