Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/meshviewer/layer
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23809/src/org/fudaa/fudaa/meshviewer/layer
Modified Files:
MvNodeModelDefault.java MvGridLayerGroup.java
Added Files:
MvLegendLayer.java
Log Message:
Index: MvGridLayerGroup.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/meshviewer/layer/MvGridLayerGroup.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MvGridLayerGroup.java 5 May 2004 12:42:38 -0000 1.2
--- MvGridLayerGroup.java 1 Jun 2004 11:27:43 -0000 1.3
***************
*** 34,37 ****
--- 34,41 ----
this(_maill, null);
}
+
+ public final EfGrid getGrid(){
+ return mail_;
+ }
public MvGridLayerGroup(EfGrid _maill, MvInfoDelegate _d) {
--- NEW FILE: MvLegendLayer.java ---
/**
* @file MvLegendLayer.java
* @creation 3 nov. 2003
* @modification $Date: 2004/06/01 11:27:43 $
* @license GNU General Public License 2
* @copyright (c)1998-2001 CETMEF 2 bd Gambetta F-60231 Compiegne
* @mail de...@fu...
*/
package org.fudaa.fudaa.meshviewer.layer;
import org.fudaa.ebli.calque.BCalqueLegende;
import org.fudaa.ebli.calque.ZSelectionListener;
import org.fudaa.ebli.geometrie.GrBoite;
import org.fudaa.fudaa.meshviewer.layer.MvPanelInfo.InfoData;
/**
* @author deniger
* @version $Id: MvLegendLayer.java,v 1.1 2004/06/01 11:27:43 deniger Exp $
*/
public class MvLegendLayer extends BCalqueLegende implements MvLayer{
/**
*
*/
public MvLegendLayer() {
super();
}
/**
*
*/
public int[] getPtIdx() {
return null;
}
/**
*
*/
public boolean isSelectionPointEmpty() {
return true;
}
/**
*
*/
public int[] getElementIdx() {
return null;
}
/**
*
*/
public boolean isSelectionElementEmpty() {
return true;
}
/**
*
*/
public GrBoite getZoomOnSelected() {
return null;
}
/**
*
*/
public void addSelectionListener(ZSelectionListener _l) {}
/**
*
*/
public void removeSelectionListener(ZSelectionListener _l) {}
/**
*
*/
public void fillWithInfo(InfoData _m) {}
}
Index: MvNodeModelDefault.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/meshviewer/layer/MvNodeModelDefault.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MvNodeModelDefault.java 31 Mar 2004 08:17:48 -0000 1.3
--- MvNodeModelDefault.java 1 Jun 2004 11:27:43 -0000 1.4
***************
*** 14,17 ****
--- 14,18 ----
import org.fudaa.ebli.commun.EbliListeSelectionInterface;
import org.fudaa.ebli.geometrie.GrBoite;
+ import org.fudaa.ebli.geometrie.GrDataBoite;
import org.fudaa.ebli.geometrie.GrPoint;
import org.fudaa.fudaa.meshviewer.layer.MvPanelInfo.InfoData;
***************
*** 113,115 ****
--- 114,125 ----
}
+ /**
+ * @see org.fudaa.ebli.calque.ZModeleDonnees#getDonneesBoite(org.fudaa.ebli.geometrie.GrDataBoite)
+ */
+ public boolean getDonneesBoite(GrDataBoite _b) {
+ _b.setDataTime(false);
+ _b.setMax(grid_.getMaxPoint().getZ());
+ _b.setMin(grid_.getMinPoint().getZ());
+ return true;
+ }
}
\ No newline at end of file
|