From b8932e8304ed077912949890c3ec47a087be7ddd Mon Sep 17 00:00:00 2001 From: Lvbo163 Date: Wed, 6 Sep 2017 17:31:15 +0800 Subject: paramters can quote input parameter of start event rest task input parameters can quote input parameters of start event Issue-ID: SDC-122 Change-Id: I0cda0f1967514ac90e377b2f054ddf2cef011694 Signed-off-by: Lvbo163 --- .../src/app/components/property/properties.component.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sdc-workflow-designer-ui/src/app/components/property/properties.component.ts') diff --git a/sdc-workflow-designer-ui/src/app/components/property/properties.component.ts b/sdc-workflow-designer-ui/src/app/components/property/properties.component.ts index 0630f94b..f3f784a1 100644 --- a/sdc-workflow-designer-ui/src/app/components/property/properties.component.ts +++ b/sdc-workflow-designer-ui/src/app/components/property/properties.component.ts @@ -16,6 +16,7 @@ import { WorkflowNode } from '../../model/workflow/workflow-node'; import { BroadcastService } from '../../services/broadcast.service'; import { JsPlumbService } from '../../services/jsplumb.service'; import { WorkflowService } from '../../services/workflow.service'; +import { PlanTreeviewItem } from "../../model/plan-treeview-item"; /** * property component presents information of a workflow node. @@ -31,6 +32,7 @@ export class PropertiesComponent implements AfterViewInit { public node: WorkflowNode; public show = false; public titleEditing = false; + public planItems: PlanTreeviewItem[]; constructor(private broadcastService: BroadcastService, private jsPlumnService: JsPlumbService, @@ -40,7 +42,10 @@ export class PropertiesComponent implements AfterViewInit { public ngAfterViewInit() { this.broadcastService.showProperty$.subscribe(show => this.show = show); - this.broadcastService.nodeProperty$.subscribe(node => this.node = node); + this.broadcastService.nodeProperty$.subscribe(node => { + this.node = node; + this.planItems = this.workflowService.getPlanParameters(this.node.id); + }); } public nodeNameChanged() { -- cgit 1.2.3-korg