[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1048) Context assist is not working for DSLs in Eclipse

Mark Proctor (JIRA) jira-events at lists.jboss.org
Tue Aug 7 09:26:49 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-1048?page=comments#action_12371326 ] 
            
Mark Proctor commented on JBRULES-1048:
---------------------------------------

from an email with Peter Lin:
it should be configurable in the class. I don't know if kris added the configuration the IDE or not.

the reason for it was to have a smart guided editor for business users. for developers it makes more sense to only add the entire phrase instead of only showing the next words available.  I've gotten the same comment when I built a custom rule editor for pre-trade compliance.  the developers prefered to have a template style and see the entire thing.  the business users preferred guided editor that only showed the next words available.

the only real benefit of only showing the next word vs whole phrase is when the mapping file has thousands of entries. showing all available options with thousands of entries starts to get unusable. eclipse makes it less of a problem, since you can hit a letter and jump down to that section, but I find having too many options for a non-technical business user it doesn't go over so well. for compliance, we kept it down to a dozen or so.

in the DSLTree class you'll see getConditionChildrenList. if you call it with true, it will the entire phrase. I would go with what ever the users ask for myself. I suspect many of the users are primarily developers and not business users, so it's not a benefit for developers.

public ArrayList getConditionChildrenList(String text, boolean addChildren)

> Context assist is not working for DSLs in Eclipse
> -------------------------------------------------
>
>                 Key: JBRULES-1048
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1048
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions:  4.0.0.GA
>            Reporter: Mark Proctor
>         Assigned To: Kris Verlaenen
>            Priority: Critical
>             Fix For: 4.0.1
>
>
> the expander is set, but context assist is not working. See the TroubleTicketWithDSL example.

-- 
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