Replace non ascii character with UTF-8 encoded string. The build checks for non...
[debian/openrocket] / core / src / net / sf / openrocket / simulation / listeners / SimulationListener.java
index 98b28aada2846690c6daf67f6171d6b5ba05347c..d5663ccbdc05441112f4bbcfed37627c23d0f4c9 100644 (file)
@@ -7,6 +7,25 @@ import net.sf.openrocket.simulation.exception.SimulationException;
 
 public interface SimulationListener {
        
+       /**
+        * Get the name of this simulation listener.  Ideally this should be localized, as
+        * it can be displayed in the UI.
+        * 
+        * @return      the name of this simulation listener.
+        */
+       public String getName();
+       
+       
+       /**
+        * Get the menu position of this simulation listener.  This should be an array
+        * of localized submenu names in descending order, or an empty array for positioning
+        * in the base menu.
+        * 
+        * @return      the menu position of this simulation listener.
+        */
+       public String[] getMenuPosition();
+       
+       
        /**
         * Called when starting a simulation.
         *