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