/** * traite une RESOURCE en la considérant comme sous-partie d'un FOV * * @param res */ private SubFootprintBean processResource(SavotResource res) { SubFootprintBean subFpBean = new SubFootprintBean(); subFpBean.setInSphericalCoords(sphericalCoordinates); TableSet tables = res.getTables(); int nbTab = tables.getItemCount(); SubFootprintBean sub; for (int i = 0; i < nbTab; i++) { // TODO : prendre en compte couleur éventuelle au niveau de la TABLE (pour les types STRING // notamment) sub = processTable((SavotTable) tables.getItemAt(i)); if (sub != null) { subFpBean.addSubFootprintBean(sub); } // System.out.println("sub : "+sub); } String id = res.getName(); subFpBean.setName(id); subFpBean.setColor(getColor(res)); return subFpBean; }