[kepler-users] kepler parameters

2011-10-24 Thread kianwee chen
Hi everyone, I am trying to create a composite actor and trying to setup the parameters for the composite actor. Thus I have some question on adding parameters in composite actors. 1.) Directory parameter: -I would like to let the users specify a directory on the composite actor parameters

Re: [kepler-users] kepler parameters

2011-10-24 Thread Edward A. Lee
The documentation for FileParameter says: If this attribute contains a parameter named allowFiles with value false, then when a file browser is used to select a file, that file browser will be set to not show files (only directories will be shown). If this attribute contains a parameter

Re: [kepler-users] kepler parameters

2011-10-24 Thread kianwee chen
Thanks for the quick reply! I tried looking for the parameter you mentioned, allowFiles and allowDirectories but I cannot seem to find it on the FileParameter graphic interface. I right click on the file parameter and I can choose the configure attributes, I try to add the 2 parameters in (

Re: [kepler-users] kepler parameters

2011-10-24 Thread kianwee chen
Thanks for the quick reply I often end up using $CLASSPATH, which looks in the classpath for the resource. I type in the $CLASSPATH and this is what is return xxCLASSPATHxx is there a way to set the classpath ? For a CompositeActor, you would probably need to edit the MoML by hand and

Re: [kepler-users] kepler parameters

2011-10-24 Thread Christopher Brooks
Hi Kianwee, Usually the classpath is set when the Java process is started up. Consult the web for more information about the Java classpath. Basically, the classpath is a set of directories, jar files and zip files that Java searches to find Java class files and resources. I've found that

Re: [kepler-users] kepler parameters

2011-10-24 Thread kianwee chen
Thanks alot for the file it works ! ckw On Tue, Oct 25, 2011 at 11:41 AM, Christopher Brooks c...@eecs.berkeley.eduwrote: Hi Kianwee, Yes, to add a parameter, right click on the FileParameter and select Configure Attribute. Then select Add. For the Name field, enter allowFiles or