Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unify models apis
[simgrid.git] / src / bindings / java / org / simgrid / surf / Model.java
index f1caaa3..3e6e7f8 100644 (file)
@@ -46,15 +46,6 @@ public class Model {
   }
 
   
-  /**
-    * Model constructor
-    * @param name The name of the model
-    */
-  public Model(String name) {
-    this(SurfJNI.new_Model(name), true);
-  }
-
-  
   /**
     * @return The name of the model
     */
@@ -107,4 +98,8 @@ public class Model {
     return (cPtr == 0) ? null : new ActionList(cPtr, false);
   }
 
+  public void addTraces() {
+    SurfJNI.Model_addTraces(swigCPtr, this);
+  }
+
 }