-
Notifications
You must be signed in to change notification settings - Fork 181
faq 109412256
by Xuebo Lai on 2017-05-15 20:58:44
After I added the extension to the dependency pom.xml, I ran the GUI again but nothing significant seemed to change. I did not see the new window popped out as expected. By the way, I am trying to use the networkEditor. I am not sure whether we need to do more other than putting the extension under dependency.
Thanks
by Kai Nagel on 2017-05-18 16:19:45
There is not yet an easy way to make this work. The 0.9.0-SNAPSHOT branch of the matsim-example-project has a MATSimGui
class (see https://github.com/matsim-org/matsim-example-project/blob/0.9.0-SNAPSHOT/src/main/java/org/matsim/gui/MATSimGUI.java ), which points to the HelloWorld
class. You would now have to modify the HelloWorld
class so that your extension is called; the way to do this can be figured out by looking at the Run...Example
class that you are interested in. I can see the following options:
- If you know how to program in Java, this will probably be easier if you forget about the Gui at this stage and start from the
Run...Example
script directly. - If you don't know how to program in Java, you will need to find someone who can help you.
I really hope that you find a way.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq