API compatibility with jgraphx-1.2.0.5
[scilab.git] / scilab / modules / xcos / src / java / org / scilab / modules / xcos / block / io / ImplicitInBlock.java
index 1b4bdbb..b31a07d 100644 (file)
@@ -56,7 +56,7 @@ public final class ImplicitInBlock extends ContextUpdate {
                double newValue = ((ScilabDouble)getIntegerParameters()).getRealPart()[0][0];
 
                if(oldValue != newValue){
-                   getParentDiagram().fireEvent(XcosEvent.IN_IMPLICIT_VALUE_UPDATED, new mxEventObject(new Object[]{oldValue,newValue}));
+                   getParentDiagram().fireEvent(new mxEventObject(XcosEvent.IN_IMPLICIT_VALUE_UPDATED, "old", oldValue, "new", newValue));
                }
            }