| Update of /cvsroot/nice/Nice/src/nice/tools/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3902/src/nice/tools/doc
Modified Files:
	utilities.nice 
Log Message:
Added method isSourceAvailable(String packageName)
Index: utilities.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/doc/utilities.nice,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** utilities.nice	26 Nov 2004 14:54:56 -0000	1.1
--- utilities.nice	7 Feb 2005 15:08:22 -0000	1.2
***************
*** 7,10 ****
--- 7,20 ----
   * @date 26/11/2004
   */
+ 
+ /**
+  * Checks to see if you have the source code for a package available.
+  * If we have the source code for a package, then we can provide hyperlinks to
+  * the method, variables, etc within that package.
+  */
+ boolean isSourceAvailable(String packageName) {
+     let pkg = compilation.packages.get(packageName);
+     return pkg != null && pkg.compiling;
+ }
   
   /**
 |