[jboss-jira] [JBoss JIRA] Commented: (JBRULES-629) SuggestionCompletionEngine to be populated from rule object model classes

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Fri Mar 2 14:01:09 EST 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-629?page=comments#action_12354856 ] 
            
Edson Tirelli commented on JBRULES-629:
---------------------------------------

Michael,

Looking at the SuggestionCompletionEngine, it is a quite heavy object o populate. I imagine if a package has a model with just a few tens of classes, it will take a long time to inspect them, populate the map with all the attributes and transmit over the network, reparsing it in the browser side before presenting it to the user. 

Wouldn't be the case to do it on demand? Since each rule uses just a few facts, we could possibly inspect and offer completion for the classes effectivelly in use by the rule. What do you think?

> SuggestionCompletionEngine to be populated from rule object model classes 
> --------------------------------------------------------------------------
>
>                 Key: JBRULES-629
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-629
>             Project: JBoss Rules
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: drools-brms
>            Reporter: Michael Neale
>         Assigned To: Edson Tirelli
>             Fix For: 3.1-m2
>
>
> In drools-jbrms there is a call SuggestionCompletionEngine.
> this class needs to be populated from a model. This model will come from the import statements in a rule package, and also include deftemplates (if possible).
> Basiaclly the model classes will need to be interrogated to work out fields, and similar with templates, and a populated SuggestionCompletionEngine is the output (it will then have any globals added to it).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list