3 * Copyright (c) 2017 ZTE Corporation.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * and the Apache License 2.0 which both accompany this distribution,
7 * and are available at http://www.eclipse.org/legal/epl-v10.html
8 * and http://www.apache.org/licenses/LICENSE-2.0
11 * ZTE - initial API and implementation and/or initial documentation
14 <div class="form-group row">
15 <label class="col-md-3 form-control-label" style="text-align:right;">{{'WORKFLOW.SERVICE_CLASS' | translate}}</label>
16 <div class="col-md-9">
17 <input class="form-control" [(ngModel)]="node.className" [disabled]="!canEdit" />
22 <div class="form-group row">
23 <label class="col-md-3 form-control-label">{{'WORKFLOW.SERVICE_INPUT' | translate}}</label>
25 <wfm-parameter *ngFor="let in of node.inputs; let i = index;" [param]="in" [valueSource]="inputValueSource" [canEditName]="canEdit"
26 [canEditValue]="node.editable" [canDelete]="canEdit" (delete)="deleteInput(i)"></wfm-parameter>
27 <button *ngIf="canEdit" type="button" class="plx-btn" (click)="createInput();">
28 <i class="plx-ico-new-16"></i>{{ 'WORKFLOW.CREATE' | translate }}
32 <div class="form-group row">
33 <label class="col-md-3 form-control-label">{{'WORKFLOW.SERVICE_OUTPUT' | translate}}</label>
35 <wfm-parameter *ngFor="let out of node.outputs; let i = index;" [param]="out" [valueSource]="outputValueSource" [canEditName]="canEdit"
36 [canDelete]="canEdit" [showValue]="false" (delete)="deleteOutput(i)"></wfm-parameter>
37 <button *ngIf="canEdit" type="button" class="plx-btn" (click)="createOutput();" style="margin-bottom:10px;">
38 <i class="plx-ico-new-16"></i>{{ 'WORKFLOW.CREATE' | translate }}