| Line 1... |
Line 1... |
| 1 |
package org.tela_botanica.client.vues;
|
1 |
package org.tela_botanica.client.vues.observation;
|
| 2 |
import org.tela_botanica.client.image.ImageMediateur;
|
- |
|
| 3 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
2 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
| 4 |
import org.tela_botanica.client.observation.ObservationMediateur;
|
3 |
import org.tela_botanica.client.observation.ObservationMediateur;
|
| Line 5... |
Line -... |
| 5 |
|
- |
|
| 6 |
import com.google.gwt.core.client.GWT;
|
- |
|
| 7 |
import com.google.gwt.json.client.JSONArray;
|
- |
|
| 8 |
import com.google.gwt.json.client.JSONObject;
|
4 |
|
| 9 |
import com.google.gwt.user.client.Window;
|
5 |
import com.google.gwt.user.client.Window;
|
| 10 |
import com.gwtext.client.core.EventObject;
|
6 |
import com.gwtext.client.core.EventObject;
|
| 11 |
import com.gwtext.client.data.Node;
|
7 |
import com.gwtext.client.data.Node;
|
| 12 |
import com.gwtext.client.data.NodeTraversalCallback;
|
8 |
import com.gwtext.client.data.NodeTraversalCallback;
|
| 13 |
import com.gwtext.client.data.Tree;
|
- |
|
| 14 |
import com.gwtext.client.data.event.NodeListener;
|
9 |
import com.gwtext.client.data.Tree;
|
| 15 |
import com.gwtext.client.widgets.Button;
|
- |
|
| 16 |
import com.gwtext.client.widgets.Container;
|
10 |
import com.gwtext.client.widgets.Button;
|
| 17 |
import com.gwtext.client.widgets.Panel;
|
11 |
import com.gwtext.client.widgets.Panel;
|
| 18 |
import com.gwtext.client.widgets.event.ButtonListenerAdapter;
|
- |
|
| 19 |
import com.gwtext.client.widgets.event.PanelListenerAdapter;
|
12 |
import com.gwtext.client.widgets.event.ButtonListenerAdapter;
|
| 20 |
import com.gwtext.client.widgets.form.TextField;
|
13 |
import com.gwtext.client.widgets.form.TextField;
|
| 21 |
import com.gwtext.client.widgets.layout.VerticalLayout;
|
14 |
import com.gwtext.client.widgets.layout.VerticalLayout;
|
| 22 |
import com.gwtext.client.widgets.tree.TreeEditor;
|
15 |
import com.gwtext.client.widgets.tree.TreeEditor;
|
| 23 |
import com.gwtext.client.widgets.tree.TreeNode;
|
16 |
import com.gwtext.client.widgets.tree.TreeNode;
|
| 24 |
import com.gwtext.client.widgets.tree.TreePanel;
|
- |
|
| 25 |
import com.gwtext.client.widgets.tree.event.TreeNodeListener;
|
17 |
import com.gwtext.client.widgets.tree.TreePanel;
|
| 26 |
import com.gwtext.client.widgets.tree.event.TreeNodeListenerAdapter;
|
18 |
import com.gwtext.client.widgets.tree.event.TreeNodeListenerAdapter;
|
| Line 27... |
Line 19... |
| 27 |
import com.gwtext.client.widgets.tree.event.TreePanelListenerAdapter;
|
19 |
import com.gwtext.client.widgets.tree.event.TreePanelListenerAdapter;
|
| Line 28... |
Line 20... |
| 28 |
|
20 |
|
| 29 |
public class ArbreMotsClesObsVue extends Panel implements Rafraichissable {
|
21 |
public class ArbreMotsClesObservationVue extends Panel implements Rafraichissable {
|
| 30 |
|
22 |
|
| 31 |
/**
|
23 |
/**
|
| Line 81... |
Line 73... |
| 81 |
|
73 |
|
| 82 |
/**
|
74 |
/**
|
| 83 |
* Constructeur sans paramètre (privé car interdit d'utilisation)
|
75 |
* Constructeur sans paramètre (privé car interdit d'utilisation)
|
| 84 |
*/
|
76 |
*/
|
| 85 |
@SuppressWarnings("unused")
|
77 |
@SuppressWarnings("unused")
|
| 86 |
private ArbreMotsClesObsVue() {
|
78 |
private ArbreMotsClesObservationVue() {
|
| 87 |
super();
|
79 |
super();
|
| Line 88... |
Line 80... |
| 88 |
}
|
80 |
}
|
| 89 |
|
81 |
|
| 90 |
/**
|
82 |
/**
|
| 91 |
* Constructeur avec paramètre
|
83 |
* Constructeur avec paramètre
|
| 92 |
*
|
84 |
*
|
| 93 |
* @param im
|
85 |
* @param im
|
| 94 |
* le médiateur à associer
|
86 |
* le médiateur à associer
|
| 95 |
*/
|
87 |
*/
|
| 96 |
public ArbreMotsClesObsVue(ObservationMediateur om) {
|
88 |
public ArbreMotsClesObservationVue(ObservationMediateur om) {
|
| 97 |
// on crée le panel
|
89 |
// on crée le panel
|
| 98 |
super("Mots clés");
|
90 |
super("Mots clés");
|