From: <emm...@us...> - 2008-09-25 15:56:19
|
Revision: 3984 http://fudaa.svn.sourceforge.net/fudaa/?rev=3984&view=rev Author: emmanuel_martin Date: 2008-09-25 15:56:11 +0000 (Thu, 25 Sep 2008) Log Message: ----------- correction d'un bug dans l'?\195?\169dition d'une g?\195?\169om?\195?\169trie. Modified Paths: -------------- branches/FudaaModeleur_TC1Bis/fudaa_devel/ebli/src/org/fudaa/ebli/calque/edition/EbliSingleObjectEditorPanel.java Modified: branches/FudaaModeleur_TC1Bis/fudaa_devel/ebli/src/org/fudaa/ebli/calque/edition/EbliSingleObjectEditorPanel.java =================================================================== --- branches/FudaaModeleur_TC1Bis/fudaa_devel/ebli/src/org/fudaa/ebli/calque/edition/EbliSingleObjectEditorPanel.java 2008-09-25 15:22:17 UTC (rev 3983) +++ branches/FudaaModeleur_TC1Bis/fudaa_devel/ebli/src/org/fudaa/ebli/calque/edition/EbliSingleObjectEditorPanel.java 2008-09-25 15:56:11 UTC (rev 3984) @@ -526,7 +526,7 @@ add(pnAttrGlobaux, BuBorderLayout.NORTH); // Contruction du model de donn\xE9es commun aux deux repr\xE9sentations GISAttributeDouble zAttr=zone_.getAttributeIsZ(); - if (!(zone_.getGeometry(idx_) instanceof GISPoint)&&zAttr!=null) { + if (!(zone_.getGeometry(idx_) instanceof GISPoint)&&zAttr!=null&&zAttr.isAtomicValue()) { model_=new EbliAtomicCoordinatesTableModel.Line(_xyFormatter, modeleSrc_.getGeomData(), idx_, null, _editVertexAttribut, modeleSrc_); boolean found=false; @@ -551,6 +551,8 @@ add(tabbedPane_, BuBorderLayout.CENTER); } else { + model_=new EbliAtomicCoordinatesTableModel.Line(_xyFormatter, modeleSrc_.getGeomData(), idx_, null, _editVertexAttribut, + modeleSrc_); tableRep_=new TableRepresentation(_editAttribut, _editVertexAttribut, _xyFormatter); add(tableRep_, BuBorderLayout.CENTER); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |