]
Jozef Marko updated DROOLS-2804:
--------------------------------
Comment: was deleted
(was: This I see for context value cell, is my understanding wrong?
- !Screenshot from 2018-10-11 16-57-23.png|thumbnail!
- !Screenshot from 2018-10-11 16-57-47.png|thumbnail! )
[DMN Designer] Properties Panel to drill-down to DMN component level
--------------------------------------------------------------------
Key: DROOLS-2804
URL:
https://issues.jboss.org/browse/DROOLS-2804
Project: Drools
Issue Type: Feature Request
Components: DMN Editor
Reporter: Michael Anstis
Assignee: Michael Anstis
Priority: Critical
Labels: drools-tools
Attachments: Screenshot from 2018-10-11 16-53-36.png, Screenshot from 2018-10-11
16-53-43.png, Screenshot from 2018-10-11 16-57-23.png, Screenshot from 2018-10-11
16-57-47.png, Screenshot from 2018-10-11 17-04-49.png
The Properties Panel currently shows properties for Stunner-level "graph"
components.
We need, for DMN, the Properties Panel to show the properties of DMN elements'
properties at the "grid" level. For example, when a {{Context}} is selected the
Properties Panel should show only the top level properties for the {{Context}} (i.e. not
those of its {{ContextEntries}}). Selection of a {{ContextEntry}} should refresh the
Properties Panel to show only the top-level properties of the {{ContextEntry}}. Selection
of the {{ContextEntry}}'s {{Expression}} should again refresh the Properties Panel to
show only the top-level properties of the {{Expression}} and so forth.
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||Found Issues||
|Cell|ExpressionLanguage|URI|DROOLS-3116, DROOLS-3117|
h3. Context
||Selected item||Properties panel items||type||Found Issues||
|Row|type Ref|ItemDefinition ref (same which applies to Key Cell|See my
[
question|https://issues.jboss.org/browse/DROOLS-2804?focusedCommentId=136...
|Column|n/a||
|Key Cell|type Ref|ItemDefinition ref|Same question as for row|
|Value Cell|ExpressionLanguage|URI|See my
[
question|https://issues.jboss.org/browse/DROOLS-2804?focusedCommentId=136...
h3. Decision Table
||Selected item||Properties panel items||type||Found Issues||
|Row|n/a|
| Input Column|Constraints|Text field| !Screenshot from 2018-10-11
17-04-49.png|thumbnail! |
|Output Column|Output values|Unary tests|Same as for Input column|
|Output Column|Default Output|expression|Same as for Input column|
|Cell|ExpressionLanguage|URI|Same as for Input column|
h3. Relation
||Selected item||Properties panel items||type||
|Row|n/a|
|Column|type Ref|ItemDefinition ref|
|Cell|ExpressionLanguage|URI|
h3. Function
||Selected item||Properties panel items||type||
|Row|n/a|
|Column|n/a|
|Cell|ExpressionLanguage|URI|
h3. Invocation
||Selected item||Properties panel items||type||
|Row|n/a|
|Column|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