Update of /cvsroot/graxml/DetDescr/GDML/src/net/hep/geant4/GDML/GeometricModel
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv4247/src/net/hep/geant4/GDML/GeometricModel
Modified Files:
GDMLBuilder.java
Log Message:
embedded demos included
Index: GDMLBuilder.java
===================================================================
RCS file: /cvsroot/graxml/DetDescr/GDML/src/net/hep/geant4/GDML/GeometricModel/GDMLBuilder.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** GDMLBuilder.java 23 Dec 2005 11:09:41 -0000 1.4
--- GDMLBuilder.java 14 Jan 2007 17:12:10 -0000 1.5
***************
*** 25,28 ****
--- 25,31 ----
* <pre>
* $Log$
+ * Revision 1.5 2007/01/14 17:12:10 hrivnac
+ * embedded demos included
+ *
* Revision 1.4 2005/12/23 11:09:41 hrivnac
* schema should be in the current directory
***************
*** 65,69 ****
*
* Revision 1.9 2004/03/22 14:40:18 hrivnac
! * refactoring with GraXML
*
* Revision 1.8 2004/03/21 21:03:59 hrivnac
--- 68,74 ----
*
* Revision 1.9 2004/03/22 14:40:18 hrivnac
! * refactoring with GraXML /** Get list of (embedded) demostration files.
! * @return The list of (embedded) demostration files. */
!
*
* Revision 1.8 2004/03/21 21:03:59 hrivnac
***************
*** 100,103 ****
--- 105,116 ----
public void configure() {}
+ /** Get list of (embedded) demostration files.
+ * @return The list of (embedded) demostration files. */
+ public String[] demos() {
+ String[] demos = {"net/hep/geant4/GDML/Test/data/Solids.gdml",
+ "net/hep/geant4/GDML/Test/data/Booleans.gdml"};
+ return demos;
+ }
+
/** Create unique name, taking into account {@link net.hep.graphics.GraXML.Disconnecter.ConnectionsDB},
* append <code>;<i></code> as necessary.
***************
*** 199,206 ****
return _schema;
}
!
private static String _jaxb = "net.hep.geant4.GDML.JAXB";
private static String _schema = "gdml.xsd";
/** Zero vector. */
--- 212,227 ----
return _schema;
}
!
! /** Get Embedded GDML Schema file.
! * @return The Embedded GDML Schema file. */
! protected String schemaEmbedded() {
! return _schemaEmbedded;
! }
!
private static String _jaxb = "net.hep.geant4.GDML.JAXB";
private static String _schema = "gdml.xsd";
+
+ private static String _schemaEmbedded = "net/hep/geant4/GDML/Schema/gdml0.xsd";
/** Zero vector. */
|