]
Jozef Marko commented on DROOLS-4484:
-------------------------------------
[~karreiro] thank you for acceptance criteria, I miss a case when user drag item outside
from a structure, is this supported?
[DMN Designer] Data Types - Refactor the Data Types list to use a
drag and drop mechanism
-----------------------------------------------------------------------------------------
Key: DROOLS-4484
URL:
https://issues.jboss.org/browse/DROOLS-4484
Project: Drools
Issue Type: Task
Components: DMN Editor
Reporter: Guilherme Gomes
Assignee: Guilherme Gomes
Priority: Major
Labels: drools-tools
Attachments: s1.gif, s2.gif, s3.gif, s4.gif, s5.gif
This JIRAs covers all refactoring to apply the drag and drop mechanism
(
https://issues.jboss.org/browse/DROOLS-4483) into the DMN Data Types list.
*Acceptance criteria:*
- The drag and drop feature must behaves as the following scenarios describe:
-- *Scenario 1:* When users drag tCompany up and it's collapsed, all fields are
dragged with tCompany:
!s1.gif|width=400!
-- *Scenario 2:* When users drag tCompany up and it's not collapsed, all fields are
dragged with tCompany:
!s2.gif|width=400!
-- *Scenario 3:* When users drag name below of a structured data type (address), the name
field is moved as a nested data type:
!s3.gif|width=400!
-- *Scenario 4:* When users drag a new field into the collapsed tCompany, it
automatically expands and the new field is added to it:
!s4.gif|width=400!
-- *Scenario 5:* When users drag a data type above or below of another one, the position
is persisted in the model:
!s5.gif|width=400!