Esempio n. 1
0
    public Component getGraphCellEditorComponent(JGraph graph, Object value, boolean isSelected) {

      ConflictCell cc = (ConflictCell) editingCell;
      Conflict c = (Conflict) cc.getUserObject();

      topic.setText(c.getTopic());

      vp1.setDescription(c.getViewpoints()[0]);
      vp2.setDescription(c.getViewpoints()[1]);

      return editorComponent;
    }