Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to set up Eclipse for plug-in development?

Development Eclipse plug-in
0
Posted

How to set up Eclipse for plug-in development?

0

1. Create Java Project. 2. Include all *.jar files from “MagicDraw\lib” folder into Project Build Path. Exclude “md_commontw_api.jar” and “md_commontw.jar”. 3. Write plug-in. Start from main Plug-in class by extending “com.nomagic.magicdraw.plugins.Plugin”. 4. Create Plug-in descriptor file “plugin.xml”. 5. Make clean plug-in directory in MagicDraw plug-ins directory (./plugins/), copy “plugin.xml” to it. Do not copy any binaries to MagicDraw plug-ins directory or they will have conflicts with your binaries in Eclipse. 6. Create new Debug configuration to run Application. 7. select “Project” your plug-in project. 8. search for Main class, select “com.nomagic.magicdraw.Main”. 9. add “-Xmx600M -XX\:PermSize\=40M -XX\:MaxPermSize\=150M” to Arguments. 10. Apply changes.

0

1. Create Java Project. 2. Include all *.jar files from “MagicDraw\lib” folder into Project Build Path. Exclude “md_commontw_api.jar” and “md_commontw.jar”. 3. Write plug-in. Start from main Plug-in class by extending “com.nomagic.magicdraw.plugins.Plugin”. 4. Create Plug-in descriptor file “plugin.xml”. 5.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123