This page describes how to introduce a menu item into JavaView.
Update your JavaView and JavaViewDev SVN. You find a project at JavaViewDev/DevelopContrib/src/devTutor/ with a corresponding launch configuration at _eclipse/launch/DevTutor-Menu.launch. Here you need to have made eclipse aware of the launch configurations, but that should have been setup during the installation of JavaView. When running the launch configuration, you see the JavaView default geometry and in the menu Method you see a new entry at the bottom: devTutorMenu → Evolve which allows you to evolve the surface in normal direction.
One way of using this to introduce menu items is to replace the PwEvolve workshop with your own workshop. Therefore you have to assure that eclipse finds your workshop.
<preferences version="alpha"> <directory type="menu">devTutor.geom</directory> </preferences>Watch JavaView → menu Help → menu Preferences where the menu directory should be listed. It is encouraged to add the menu location to your own rsrc configuration file.
<preferences> <directory type="menu">devTutor.menu</directory> </preferences>
PgElementSet_Menu
and PgPolygonSet_Menu
, depending on what kind of geometry your workshop acts on.
devContrib
is added to your classpath
javaview
with program argument archive.dev=show
Help→Preferences
and enter "devXXX.menu" in the Menu
textfield