Class: UMLImporter
Defined in: | web-src/coffee/model/uml/umlimporter.coffee |
Overview
UMLImporter
Instance Method Summary
- # (void) do_import() Import all classes and links without clearing the diagram
- # (void) _normalize() Normalize the JSON into a more usable format.
- # (void) import_namespaces() Import namespaces and update all views
- # (void) import_classes() Normalize the JSON provided and import all its classes.
- # (void) import_links()
Constructor Details
#
(void)
constructor(diagram, json)
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.
#
(void)
import_links()