[jboss-jira] [JBoss JIRA] (DROOLS-3109) [DMN Designer] Add additional Properties to drill-down
Matteo Mortari (Jira)
issues at jboss.org
Thu Oct 11 09:47:01 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646641#comment-13646641 ]
Matteo Mortari commented on DROOLS-3109:
----------------------------------------
Yes
Let's go step by step.
In a Context Entry value, you could enter a LiteralExpression (hence you would choose the expression language, by default FEEL)
In a Function definition body, you could enter a LiteralExpression (hence you would choose the expression language, by default FEEL).
etc.
of those cases where the expression is a Literal Expression --as you mentioned.
For Decision Table cells also,
as Input Entry by the spec is always of type {{UnaryTests}} hence text itself of the expression + Expression language,
as Output Entry by the spec is always of type {{LiteralExpression}}.
In layman terms, they can only be text fields where you can enter some (normally FEEL) expression editor text.
For Relation cells also, as we've chosen to limit the type of expression used to LiteralExpression and hence ExpressionLanguage is available --as you mentioned.
> [DMN Designer] Add additional Properties to drill-down
> ------------------------------------------------------
>
> Key: DROOLS-3109
> URL: https://issues.jboss.org/browse/DROOLS-3109
> Project: Drools
> Issue Type: Feature Request
> Components: DMN Editor
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Critical
> Labels: drools-tools
>
> The Properties Panel currently shows properties for Stunner-level "graph" components.
> *Further to DROOLS-2804, that added the generic support for "drill down" and {{ExpressionLanguage}} on {{LiteralExpression}}, this JIRA is to add support for the remaining properties that should be rendered when a component is "drilled down".*
> h2. Properties on the Grid Level
> The selection on the grid level should show the properties below. Please notice that selection of multiple cells, rows or columns should show empty properties panel.
> (everything should have ID, Description properties. Components which inherit from "NamedElement" should also have Name property)
> h3. Literal expression
> ||Selected item||Properties panel items||type||
> |Cell|ExpressionLanguage|URI|
> h3. Context
> ||Selected item||Properties panel items||type||
> |Row|type Ref|ItemDefinition ref (same which applies to Key Cell|
> |Column|n/a|n/a|
> |Key Cell|type Ref|ItemDefinition ref|
> |Value Cell|ExpressionLanguage|URI|
> h3. Decision Table
> ||Selected item||Properties panel items||type||
> |Row|n/a|n/a|
> | Input Column|Constraints|Text field|
> |Output Column|Output values|Unary tests|
> |Output Column|Default Output|expression|
> |Cell|ExpressionLanguage|URI|
> h3. Relation
> ||Selected item||Properties panel items||type||
> |Row|n/a|n/a|
> |Column|type Ref|ItemDefinition ref|
> |Cell|ExpressionLanguage|URI|
> h3. Function
> ||Selected item||Properties panel items||type||
> |Row|n/a|n/a|
> |Column|n/a|n/a|
> |Cell|ExpressionLanguage|URI|
> h3. Invocation
> ||Selected item||Properties panel items||type||
> |Row|n/a|n/a|
> |Column|n/a|n/a|
> |Cell|ExpressionLanguage|URI|
> h2. Manual Acceptance Test
> - Switching between DRG and Grid editor, check proper fields shown
> - Switching between rows, columns, cells in Grid editor, check proper fields
> -- In same expression kind
> -- Across different expression kinds
> - Clear expression kind
> - Read only mode - older asset version
> - All Grid specific properties saved
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list