Class: UMLImporter

Defined in: web-src/coffee/model/uml/umlimporter.coffee

Overview

UMLImporter

Instance Method Summary

Constructor Details

# (void) constructor(diagram, json)

Parameters:

  • diagram ( UMLDiagram ) The diagram where to import the objects.
  • json ( string ) The JSON string.
  • json ( object ) The parsed JSON string.

Instance Method Details

# (void) do_import()

Import all classes and links without clearing the diagram

# (void) _normalize()

Normalize the JSON into a more usable format.

Change attributes format for each classes: From {name: Namestr, datatype: Typestr} into a string "Name:Typestr"

# (void) import_namespaces()

Import namespaces and update all views

# (void) import_classes()

Normalize the JSON provided and import all its classes.

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: