Project

General

Profile

« Previous | Next » 

Revision c839d071

Added by Katja Luther about 8 years ago

fix project after dependency updates

View differences:

src/test/java/eu/etaxonomy/cdm/vaadin/jscomponent/D3CTree.java
20 20
import com.vaadin.ui.JavaScriptFunction;
21 21
import com.vaadin.ui.Notification;
22 22

  
23
import elemental.json.JsonArray;
24

  
23 25
/**
24 26
 * @author cmathew
25 27
 * @date 8 Apr 2015
......
35 37
        addFunction("select", new JavaScriptFunction() {
36 38

  
37 39
            @Override
38
            public void call(JSONArray arguments) throws JSONException {
39
                Notification.show("JS Rpc call : click on " + arguments.getString(0));
40
            }
40
			public void call(JsonArray arguments) {
41
				Notification.show("JS Rpc call : click on " + arguments.getString(0));
42
				
43
			}
41 44
        });
42 45

  
43 46
        try {

Also available in: Unified diff