Hey,

I added a Main class to Envisage which takes the classname of an ApplicationAssembler as input, instantiates it, assembles it, and then runs the visualizer on the assembled (not-activated) application.

This makes it possible to add Envisage as an external tool in IntelliJ, using the following settings:
Program: $JDKPath$/bin/java
Parameters: -classpath "$Classpath$" org.qi4j.library.swing.envisage.Main $FileClass$

Make sure you have Envisage in your projects classpath. It might be possible to do this more generically so that it's not needed, but it's an easy fix for now.

With this installed you can right-click on the ApplicationAssembler class and run the visualizer! Very neat :-)

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to