发明授权
- 专利标题: Determining a navigation path for a constraint language editor
- 专利标题(中): 确定约束语言编辑器的导航路径
-
申请号: US12362829申请日: 2009-01-30
-
公开(公告)号: US08566783B2公开(公告)日: 2013-10-22
- 发明人: Ying Li , Jing Luo , Jia Yin Mao , Jie Qiu
- 申请人: Ying Li , Jing Luo , Jia Yin Mao , Jie Qiu
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Fleit Gibbons Gutman Bongini & Bianco PL
- 代理商 Jon A. Gibbons
- 优先权: CN200810008950 20080131
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
A method and navigation helper for generating constraint language codes for navigation in a constraint language editor. The constraint language editor generates model/instance-related constraint expressions according to the loaded model/instance and related constraints. The navigation is a path implementing the constraints. The method includes parsing the loaded model/instance; calculating a possible association related to the element through the type of the navigation-related element in the model/instance; and calculating a possible navigation path according to the association. A method for generating constraint language codes in a constraint language editor and the constraint language editor includes loading the model/instance; loading constraint patterns for storing parameters and a constraint code template; invoking corresponding helpers, according to the types of parameters stored in the constraint patterns; and generating constraint codes according to the generated parameters and the constraint code template.
公开/授权文献
信息查询