summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/drawingBoard/objectsToTree/objectToModelTree/modelTreeNode.model.ts
blob: 36dd3ac47b8d81536ccaeb7b62dab3cd6d3f8fd9 (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
28
29
30
import {ITreeNode} from "angular-tree-component/dist/defs/api";
import {ModelInformationItem} from "../../../shared/components/model-information/model-information.component";
import {ComponentInfoType} from "../../service-planning/component-info/component-info-model";

export interface IModelTreeNodeModel {
  id?: string;
  modelCustomizationId? : string;
  modelVersionId?:  string;
  modelUniqueId? : string;
  name?: string;
  tooltip?: string;
  type?: string;
  count?: number;
  max?: number;
  children?: any[];
  disabled?: boolean;
  dynamicInputs?: any;
  isEcompGeneratedNaming?: boolean;
  typeName? : string;
  componentInfoType?: ComponentInfoType;


  onAddClick?(node, serviceId);
  getNodeCount?(node, serviceId);
  getMenuAction?(node, serviceId);
  showNodeIcons?(node, serviceId);
  getModel?(modelId: string, instance: any, serviceHierarchy)
  getInfo?(model, instance): ModelInformationItem[];

}