[SDC-29] catalog 1707 rebase commit.
Change-Id: I43c3dc5cf44abf5da817649bc738938a3e8388c1
Signed-off-by: Michael Lando <ml636r@att.com>
diff --git a/catalog-ui/src/app/models/button.ts b/catalog-ui/src/app/models/button.ts
new file mode 100644
index 0000000..8fbaf90
--- /dev/null
+++ b/catalog-ui/src/app/models/button.ts
@@ -0,0 +1,20 @@
+/**
+ * Created by rc2122 on 5/10/2017.
+ */
+export class ButtonModel {
+ text: string;
+ cssClass: string;
+ callback: Function;
+ getDisabled:Function;
+ constructor(text?:string, cssClass?:string, callback?:Function, getDisabled?:Function){
+ this.text = text;
+ this.cssClass = cssClass;
+ this.callback = callback;
+ this.getDisabled = getDisabled;
+
+ }
+}
+
+export class ButtonsModelMap {
+ [buttonName: string]: ButtonModel;
+}