How to use the ember-flexberry-designer/objects/uml-primitives/fd-uml-usecase-actor.create function in ember-flexberry-designer

To help you get started, we’ve selected a few ember-flexberry-designer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Flexberry / ember-flexberry-designer / addon / mixins / actions-for-primitives / fd-actions-for-ucd-primitives.js View on Github external
this.createObjectData((function(x, y) {
        let jsonObject = getJsonForElement(
          'STORMCASE.UML.ucd.Actor, UMLUCD',
          { x, y },
          { width: 25, height: 50 },
          { Name: '' }
        );
        let usecaseActorObject = fdUseCaseActor.create({ primitive: jsonObject });
        this._addToPrimitives(usecaseActorObject);
        return usecaseActorObject.JointJS();
      }).bind(this), e);
    },
github Flexberry / ember-flexberry-designer / addon / mixins / actions-for-primitives / fd-actions-for-cod-primitives.js View on Github external
this.createObjectData((function(x, y) {
        let jsonObject = getJsonForElement(
          'STORMCASE.UML.cod.Actor, UMLCOD',
          { x, y },
          { width: 25, height: 50 },
          { Name: '' }
        );
        let codObject = UsecaseActor.create({ primitive: jsonObject });
        this._addToPrimitives(codObject);
        return codObject.JointJS();
      }).bind(this), e);
    },

ember-flexberry-designer

CASE addon for ember-flexberry applications

MIT
Latest version published 1 month ago

Package Health Score

64 / 100
Full package analysis

Popular ember-flexberry-designer functions