API compatibility with jgraphx-1.2.0.5
[scilab.git] / scilab / modules / xcos / src / java / org / scilab / modules / xcos / palette / XcosPalette.java
index 165e705..3438a96 100644 (file)
@@ -187,8 +187,8 @@ public class XcosPalette extends JScrollPane implements ComponentListener {
            selectedEntry.setOpaque(true);
        }
 
-       eventSource.fireEvent(mxEvent.SELECT, new mxEventObject(new Object[] {
-               selectedEntry, t, last }));
+       eventSource.fireEvent(new mxEventObject(mxEvent.SELECT, "entry",
+                       selectedEntry, "transferable", t, "previous", last));
     }