UMLLinePartView (Line Part of LifelineView)
@constructor
@extends NodeView
196781
function UMLLinePartView() {
        NodeView.apply(this, arguments);
        this.movable = Core.MM_NONE;
        this.sizable = Core.SZ_VERT;
        this.selectable = Core.SK_NO;
    }
329630
function UMLState() {
        UMLVertex.apply(this, arguments);

        /** @member {Array.<UMLRegion>} */
        this.regions = [];

        /** @member {Array.<UMLBehavior>} */
        this.entryActivities = [];

        /** @member {Array.<UMLBehavior>} */
        this.doActivities = [];

        /** @member {Array.<UMLBehavior>} */
        this.exitActivities = [];

        /** @member {UMLStateMachine} */
        this.submachine = null;

        /** @member {UMLConnectionPointReference} */
        this.connections = [];
    }
336628
function(view, childView, options) {
    var buffer = view.buffer;

    childView = this.createChildView(childView, options);
    view._childViews.push(childView);

    childView.renderToBuffer(buffer);

    view.propertyDidChange('childViews');

    return childView;
  }
431513
function UMLActivationView() {
        NodeView.apply(this, arguments);
        this.sizable = Core.SZ_VERT;
        this.movable = Core.MM_NONE;
    }
1344723
function createEmbeddedViewNode(tView, context, renderer, queries) {
    var _isParent = isParent;
    var _previousOrParentNode = previousOrParentNode;
    isParent = true;
    previousOrParentNode = null;
    var lView = createLViewData(renderer, tView, context, 2 /* CheckAlways */, getCurrentSanitizer());
    if (queries) {
        lView[QUERIES] = queries.createView();
    }
    var viewNode = createLNode(-1, 2 /* View */, null, null, null, lView);
    isParent = _isParent;
    previousOrParentNode = _previousOrParentNode;
    return viewNode;
}
1094335
function UMLSeqMessageView() {
        EdgeView.apply(this, arguments);
        this.lineStyle = Core.LS_RECTILINEAR;
        this.zIndex = 1;

        /** @member {EdgeLabelView} */
        this.nameLabel = new EdgeLabelView();
        this.nameLabel.hostEdge = this;
        this.nameLabel.edgePosition = Core.EP_MIDDLE;
        this.nameLabel.distance = 10;
        this.nameLabel.alpha = Math.PI / 2;
        this.addSubView(this.nameLabel);

        /** @member {EdgeLabelView} */
        this.stereotypeLabel = new EdgeLabelView();
        this.stereotypeLabel.hostEdge = this;
        this.stereotypeLabel.edgePosition = Core.EP_MIDDLE;
        this.stereotypeLabel.distance = 25;
        this.stereotypeLabel.alpha = Math.PI / 2;
        this.addSubView(this.stereotypeLabel);

        /** @member {EdgeLabelView} */
        this.propertyLabel = new EdgeLabelView();
        this.propertyLabel.hostEdge = this;
        this.propertyLabel.edgePosition = Core.EP_MIDDLE;
        this.propertyLabel.distance = 10;
        this.propertyLabel.alpha = -Math.PI / 2;
        this.addSubView(this.propertyLabel);

        /** @member {UMLActivationView} */
        this.activation = new UMLActivationView();
        this.addSubView(this.activation);

        /** @member {boolean} */
        this.showProperty = true;

        /** @member {boolean} */
        this.showType = true;
    }
950009
function UMLPrimitiveTypeView() {
        UMLClassifierView.apply(this, arguments);
        this.fillColor = PreferenceManager.get("uml.datatype.fillColor", "#ffffff") || PreferenceManager.get("view.fillColor", "#ffffff");
        this.suppressAttributes = true;
        this.suppressOperations = true;
    }
649086
function UMLUseCaseView() {
        UMLClassifierView.apply(this, arguments);
        this.iconRatio = USECASE_RATIO_PERCENT;

        /** @member {UMLExtensionPointCompartmentView} */
        this.extensionPointCompartment = new UMLExtensionPointCompartmentView();
        this.extensionPointCompartment.parentStyle = true;
        this.addSubView(this.extensionPointCompartment);

        this.fillColor = PreferenceManager.get("uml.usecase.fillColor", "#ffffff") || PreferenceManager.get("view.fillColor", "#ffffff");
        this.stereotypeDisplay  = PreferenceManager.get("uml.usecase.stereotypeDisplay", UML.SD_LABEL);
        this.suppressAttributes = PreferenceManager.get("uml.usecase.suppressAttributes", true);
        this.suppressOperations = PreferenceManager.get("uml.usecase.suppressOperations", true);
    }
290368
function UMLMessageEndpointView() {
        NodeView.apply(this, arguments);
        this.sizable = Core.SZ_NONE;
        this.movable = Core.MM_HORZ;
    }
857635
function HyperlinkView() {
        NodeView.apply(this, arguments);

        /** @member {LabelView} */
        this.nameLabel = new LabelView();
        this.nameLabel.parentStyle = true;
        this.addSubView(this.nameLabel);

        /** @member {LabelView} */
        this.typeLabel = new LabelView();
        this.typeLabel.parentStyle = true;
        this.addSubView(this.typeLabel);
    }
895689
function wrapInView(node) {
  if (!node) {
    return node;
  }
  if (typeof node === 'function') {
    // React.Children does not traverse functions.
    // All render callbacks must be protected under a <View>
    return createElement(View, {}, node);
  }
  if (Array.isArray(node)) {
    return node.map(wrapInView);
  }
  if (inheritsFrom(node.type, View)) {
    return node;
  }
  return node;
}
282306
function(node, viewFactory) {
  TextView.call(this, node);

  this._level = this.node.level;
  this.$el.addClass('level-'+this._level);
}
561526
function UMLPortView() {
        UMLFloatingNodeView.apply(this, arguments);
        this.sizable = Core.SZ_NONE;
        this.fillColor = PreferenceManager.get("uml.port.fillColor", "#ffffff") || PreferenceManager.get("view.fillColor", "#ffffff");

        /** @member {boolean} */
        this.showVisibility = false;

        /** @member {boolean} */
        this.showType = true;

        /** @member {boolean} */
        this.showMultiplicity = true;
    }
804270
function UMLAction() {
        UMLActivityNode.apply(this, arguments);

        /** @member {string} */
        this.kind = ACK_OPAQUE;

        /** @member {Array.<UMLInputPin>} */
        this.inputs = [];

        /** @member {Array.<UMLOutputPin>} */
        this.outputs = [];

        /** @member {Array.<UMLEvent>} */
        this.triggers = [];

        /** @member {UMLModelElement} */
        this.target = null;

        /** @member {UMLActivity} */
        this.subactivity = null;

        /** @member {boolean} */
        this.isLocallyReentrant = false;

        /** @member {boolean} */
        this.isSynchronous = true;

        /** @member {string} */
        this.language = '';

        /** @member {string} */
        this.body = '';

        /** @member {Array.<UMLConstraint>} */
        this.localPreconditions = [];

        /** @member {Array.<UMLConstraint>} */
        this.localPostconditions = [];
    }
765215
function View(context, type, parentView, data, template, key, onRender) {
		// Constructor for view object in view hierarchy. (Augmented by JsViews if JsViews is loaded)
		var views, parentView_,
			isArray = type === "array",
			self_ = {
				key: 0,
				useKey: isArray ? 0 : 1,
				id: "" + viewId++,
				onRender: onRender,
				bnd: {}
			},
			self = {
				data: data,
				tmpl: template,
				views: isArray ? [] : {},
				parent: parentView,
				ctx: context,
				type: type,
				// If the data is an array, this is an 'array view' with a views array for each child 'item view'
				// If the data is not an array, this is an 'item view' with a views 'map' object for any child nested views
				// ._.useKey is non zero if is not an 'array view' (owning a data array). Uuse this as next key for adding to child views map
				get: getView,
				getIndex: getIndex,
				getRsc: getResource,
				hlp: getHelper,
				_: self_
		};

		if (parentView) {
			views = parentView.views;
			parentView_ = parentView._;
			if (parentView_.useKey) {
				// Parent is an 'item view'. Add this view to its views object
				// self._key = is the key in the parent view map
				views[self_.key = "_" + parentView_.useKey++] = self;
			} else {
				// Parent is an 'array view'. Add this view to its views array
				views.splice(
					// self._.key = self.index - the index in the parent view array
					self_.key = self.index =
						key !== undefined
							? key
							: views.length,
				0, self);
			}
			// If no context was passed in, use parent context
			// If context was passed in, it should have been merged already with parent context
			self.ctx = context || parentView.ctx;
		}
		return self;
	}
1333744
function UMLPartView() {
        UMLGeneralNodeView.apply(this, arguments);
        this.containerChangeable = false;
        this.showVisibility = false;

        /** @member {boolean} */
        this.showMultiplicity = true;

        this.fillColor = PreferenceManager.get("uml.part.fillColor", "#ffffff") || PreferenceManager.get("view.fillColor", "#ffffff");
    }
858029
function viewParentEl(view) {
    var parentView = view.parent;
    if (parentView) {
        return view.parentNodeDef.parent;
    }
    else {
        return null;
    }
}