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
15 <div class="wm-properties-wrapper" *ngIf="show">
16 <div class="form-group row">
17 <div *ngIf="!titleEditing" class="view col-md-10" (dblclick)="titleEditing = !titleEditing">
18 <h4>{{node.name}}</h4>
20 <div class="col-md-10" *ngIf="titleEditing">
21 <input class="form-control" (blur)="nodeNameChanged()" type="text" [(ngModel)]="node.name"/>
24 <div class="col-md-2">
25 <button (click)="deleteNode()" type="button" class="btn btn-danger">
26 <i class="fa fa-trash" style="margin-right: 5px;"></i>
33 <div class="form-group row">
34 <label class="col-md-2 form-control-label text-md-right" for="nodeType">Type</label>
35 <div class="col-md-10">
36 <input class="form-control" name="nodeType" disabled type="text" value="{{node.type}}"/>
40 <!-- TODO add property for different node types -->
42 <b4t-start-event-parameters *ngIf="'startEvent' == node.type" [node]="node"></b4t-start-event-parameters>