Re: JESS: setWatchRouter

2006-07-26 Thread mdean77
, chiefly write(char[], int, int), so that when somebody prints data to the Writer, it appears in the GUI widget. I think mdean77 wrote: I have rules that send advice text to one GUI text element, some reasoning text to a different text element, and I want to capture as a text string the output from

JESS: setWatchRouter

2006-07-25 Thread mdean77
I have rules that send advice text to one GUI text element, some reasoning text to a different text element, and I want to capture as a text string the output from various watch settings. Unfortunately, I can find no examples of this, though I think I need to use setWatchRouter in some

Re: JESS: Fact template conflicts?

2006-07-24 Thread mdean77
Especially obvious since it is clearly stated in Jess in Action. Need to re-read it! On Jul 22, 2006, at 4:35 PM, mdean77 wrote: Very clear, thanks. Seems obvious in retrospect that Jess would use the JVM classpath (not in Eclipse, but I do understand the problems there.) On Jul 22

Re: JESS: Fact template conflicts?

2006-07-22 Thread mdean77
)  at line 2.Nested exception is:edu.utah.cdmcc.entities.PatientJess I am not surprised at this because I am naively thinking that I have to somehow tell Jess where the object classes would be found in order to be imported.- MikeOn Jul 21, 2006, at 9:31 PM, friedman_hill ernest j wrote:I

Re: JESS: Fact template conflicts?

2006-07-22 Thread mdean77
Very clear, thanks. Seems obvious in retrospect that Jess would use the JVM classpath (not in Eclipse, but I do understand the problems there.) On Jul 22, 2006, at 3:18 PM, friedman_hill ernest j wrote: I think mdean77 wrote: I am not trying to be dense, and you have been very helpful

JESS: Rule Question (Newbie)

2006-07-21 Thread mdean77
I am working with a very simple pair of rules:(defrule is-child    "Definition of child is under 14 years or 50 kg"    (patient {age 14 || weight 50})    =        (assert(pediatric)))    (defrule is-adult    "Definition of adult is over 14 years or 50 kg"    (patient {age = 14 || weight = 50})   

JESS: Fact template conflicts?

2006-07-21 Thread mdean77
I have a Jess file with a simple template for a patient:(deftemplate patient    "Patient object - has age and weight"    (slot age)    (slot weight)    (slot miscellaneous))and a simple template for a glucose measurement:(deftemplate currentGlucoseValue    "Glucose level at current timepoint"   

Re: JESS: Fact template conflicts?

2006-07-21 Thread mdean77
(defclass Patient edu.utah.cdmcc.entities.Patient) Get rid of that unrelated patient deftemplate, and use Patient in your rules. I think mdean77 wrote: I have a Jess file with a simple template for a patient: (deftemplate patient Patient object - has age and weight (slot age) (slot

JESS: Eclipse and ClassLoader Solved

2006-07-19 Thread mdean77
apply to the other plugins, I think, if someone wanted to use them in an RCP.   (More on that issue in different email).- MikeOn Jul 18, 2006, at 8:19 AM, friedman_hill ernest j wrote:I think mdean77 wrote: shown).   But the patient object already exists and can be accessed  by getPatient(), so I

JESS: Eclipse plugins usage

2006-07-19 Thread mdean77
I have described my plan to have a two perspective RCP application based on Eclipse that will have one perspective for the end user, who is generally a nurse at an ICU bedside, and another perspective that is aimed at an investigator who is developing and tweaking rules. In developing

Re: JESS: Redirection to SWT GUI

2006-07-18 Thread mdean77
22:18:23 +1000 mdean77 wrote: The OTHER reason, which I forgot to mention, to want this code to be on the Jess side, is that my dream application actually will have two perspectives (it is an RCP Eclipse based application). The normal clinical user will enter some clinical information, push

JESS: Confusion about Rete.add()

2006-07-18 Thread mdean77
I continue to be confused about how to add a Bean as a shadow fact.  In the code below, there are four commented out lines that define a new fact and set the slot values and the subsequent code runs (not shown).   But the patient object already exists and can be accessed by getPatient(), so I

Re: JESS: Redirection to SWT GUI

2006-07-17 Thread mdean77
. Thus, I anticipate distribution of this application without a complete set of *.clp files, as some of the users are actually going to be developing the rule sets. Thanks. On Jul 16, 2006, at 6:01 PM, friedman_hill ernest j wrote: I think mdean77 wrote: However, I do not see how

JESS: Fact definition from Java

2006-07-17 Thread mdean77
Ridiculous question. I have a Bean in Java. I want to have Jess build itself a template for a shadow fact. But Jess does not know about the Bean. How does one tell Jess about the classes that have been created in Java? Right now, I manually create a fact in Jess and move the values

Re: JESS: Redirection to SWT GUI

2006-07-17 Thread mdean77
, friedman_hill ernest j wrote: I think mdean77 wrote: However, I do not see how this relates to I/O Routers. And my next stretch is into the TextAreaWriters, which don't really exist in SWT, but this must be simpler than I am making it. TextAreaWriter and its new Swing cousin are both very

JESS: Redirection to SWT GUI

2006-07-16 Thread mdean77
My application has the user push a button to fire the rules engine, and the intended result is that text will go into 3 separate SWT Text objects. Into one would go the English-like text that the rules will produce for the enduser, into another would go different English-like text that

Re: JESS: Eclipse plug-in configuration

2006-07-15 Thread mdean77
I have been working happily (relatively) for several weeks, without updating Eclipse in any apparent fashion, and the Sandia features and plugins have once again disappeared; this is not resolved with a - clean option restart. Interestingly, I have a separate RCP product target that

Re: JESS: Eclipse plug-in configuration

2006-07-15 Thread mdean77
On Jul 15, 2006, at 11:50 AM, mdean77 wrote: I have been working happily (relatively) for several weeks, without updating Eclipse in any apparent fashion, and the Sandia features and plugins have once again disappeared; this is not resolved with a -clean option restart. Interestingly, I

Re: JESS: Eclipse plug-in configuration

2006-07-15 Thread mdean77
survives. On Jul 15, 2006, at 1:09 PM, mdean77 wrote: Have confirmed or at least figured out how the pooch got screwed on my computer. Simply downloading the SWT samples blew away Sandia. I started with fresh Eclipse 3.2, added Sandia feature and plugins, verified that my clp file was edited

JESS: Rete and Jesp

2006-07-14 Thread mdean77
I am setting up a tool that will have a moderate size set of rules, and then the user can fill in some facts before firing the engine. The rule set may take some time to process initially, but the number of facts associated with an individual event (new ones) will be a handful. I have

Re: JESS: Eclipse plug-in configuration

2006-07-06 Thread mdean77
, since I have my hands full trying to learn Jess! - Mike On Jul 5, 2006, at 7:46 PM, friedman_hill ernest j wrote: I think mdean77 wrote: The reason this may relate to the question in this message is that BIRT is dependent on GEF 3.2.1.v200606267, so installation of BIRT will overwrite whatever

Re: JESS: Eclipse plug-in configuration

2006-07-05 Thread mdean77
This may relate to the problem I reported with Eclipse and BIRT.  By the way, in answer to previous question from Dr. Friedman-HIll, by disappears, I mean that while the plugins and features are physically still in the respective folders, there is no evidence in Eclipse that they exist.  They do

JESS: Problems with Eclipse 3.2 Final Release

2006-07-04 Thread mdean77
I am using most recent Jess distribution with final release of Eclipse 3.2 and at some point, Jess disappeared. Does not come back with clean install, reinstall, etc. I have nailed this down, I think, to an incompatibility with the BIRT distribution. I restarted with fresh Eclipse 3.2,

Re: JESS: Eclipse 3.1.2

2006-03-01 Thread mdean77
. This never caused problems. mdean77 wrote: Just updated from 3.1.1 to 3.1.2 and voila, the Jess plugins cease to load. No crash, just silence, but of course, cannot run apps that use Jess. Anyone else have this issue