Map<String, ?> options = null; try { new MagicDrawProfileResourceReader(model, options).read("c:\path.mdzip"); } catch (CoreException e) { ... }Where
path_to_profile
represents the path the the profile to load.
Map<String, ?> options = null; try { new MagicDrawProfileResourceReader(model, options).readSysML(); } catch (CoreException e) { ... }
Map<String, ?> options = null; try { new MagicDrawProfileResourceReader(model, options).readUPDM(); } catch (CoreException e) { ... }
Map<String, ?> options = null; try { new MagicDrawProfileResourceReader(model, options).readBPMN(); } catch (CoreException e) { ... }
Map<String, ?> options = null; try { new MagicDrawProfileResourceReader(model, options).readEcore(); } catch (CoreException e) { ... }
MDAccess for UML API Reference
MDAccess for MagicDraw API Reference
MagicDraw Profile Resource Reader