[Zooimage-commits] r137 - pkg/zooimage/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue May 19 17:31:17 CEST 2009
Author: romain
Date: 2009-05-19 17:31:17 +0200 (Tue, 19 May 2009)
New Revision: 137
Modified:
pkg/zooimage/R/gui.r
Log:
added getProcessList function to get the list of available processes
Modified: pkg/zooimage/R/gui.r
===================================================================
--- pkg/zooimage/R/gui.r 2009-05-19 15:23:17 UTC (rev 136)
+++ pkg/zooimage/R/gui.r 2009-05-19 15:31:17 UTC (rev 137)
@@ -1125,4 +1125,16 @@
}
# }}}
+#' calls the class org.sciviews.zooimage.ZooImageProcessList to get
+#' the list of available processes
+getProcessList <- function( ){
+ cmd <- sprintf( 'java -cp .:"%s":"%s" org.sciviews.zooimage.ZooImageProcessList',
+ system.file( "imagej", "ij.jar", package = "zooimage" ),
+ system.file( "imagej", "plugins", "_zooimage.jar", package = "zooimage" )
+ )
+ res <- system( cmd , intern = TRUE )
+ res
+}
+
+
# :tabSize=4:indentSize=4:noTabs=false:folding=explicit:collapseFolds=1:
More information about the Zooimage-commits
mailing list