...
- Include lib/ folder and all of its subfolder into your project classpath
- Import class com.nomagic.magicdraw.core.Application and call the appropriate start(...) method. (see Javadoc)
- Make sure there is only one instance of the modeling tool running in the same JVM(multiple instances cannot be started in the same JVM)
...