[jboss-jira] [JBoss JIRA] (DROOLS-2130) [DMN Editor] Boxed Expressions: Relations Expression editor
Michael Anstis (JIRA)
issues at jboss.org
Mon Nov 27 07:45:02 EST 2017
[ https://issues.jboss.org/browse/DROOLS-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494135#comment-13494135 ]
Michael Anstis edited comment on DROOLS-2130 at 11/27/17 7:44 AM:
------------------------------------------------------------------
Hi [~jomarko]
The "Relation editor" is [here|https://github.com/manstis/kie-wb-common/tree/GUVNOR-3397/kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/editors/expressions/types/relation].
You can download the DMN Specification from [here|http://www.omg.org/spec/DMN/1.1/PDF] page 103 covers "Relations". They are basically a simple grid of key/values where the key is the name of a {{InformationItem}} and the value is a {{LiteralExpression}}. The underlying DMN object model supports any type of expression by [~tirelli] has stated it is sufficient to only support {{LiteralExpressions}}. FYI our code can support any type of expression however the Relation Editor has been limited to {{LiteralExpression}}.
[Here|https://github.com/manstis/kie-wb-common/blob/GUVNOR-3397/kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/editors/expressions/types/relation/RelationGrid.java#L131] I construct the columns with titles being the {{InformationItem}} name and [here|https://github.com/manstis/kie-wb-common/blob/GUVNOR-3397/kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/editors/expressions/types/relation/RelationUIModelMapper.java#L55] I construct the {{LiteralExpression}}.
was (Author: manstis):
Hi [~jomarko]
The "Relation editor" is [here|https://github.com/manstis/kie-wb-common/tree/GUVNOR-3397/kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/editors/expressions/types/relation].
You can download the DMN Specification from [here|http://www.omg.org/spec/DMN/1.1/PDF] page 103 covers "Relations". They are basically a simple grid of key/values where the key is the name of a {{InformationItem}} and the value is a {{LiteralExpression}}. The underlying DMN object model supports any type of expression by [~tirelli] has stated it is sufficient to only support {{LiteralExpressions}}. FYI our code can support any type of expression however the Relation Editor has been limited to {{LiteralExpression}}.
> [DMN Editor] Boxed Expressions: Relations Expression editor
> -----------------------------------------------------------
>
> Key: DROOLS-2130
> URL: https://issues.jboss.org/browse/DROOLS-2130
> Project: Drools
> Issue Type: Feature Request
> Components: DMN Editor
> Reporter: Michael Anstis
> Assignee: Michael Anstis
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list