[jboss-jira] [JBoss JIRA] (DROOLS-4800) [DMN Designer] Add support for copy and paste in grids

Guilherme Gomes (Jira) issues at jboss.org
Thu Jul 2 16:27:12 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-4800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guilherme Gomes updated DROOLS-4800:
------------------------------------
    Description: 
Add support for copying/pasting between cells in grids.

The implementation should re-use and integrate with the existing Stunner mechanism (i.e. if there are toolbar buttons to copy/paste nodes they should be re-used to copy/paste cells when in the grid view. Copying a grid cell(s) should probably replace any _node_ content on the virtual clipboard and vice-versa. In addition to toolbar buttons the feature should probably be also exposed on a context-menu and keyboard short-cuts... 

Pasting a cell into another should only be possible where the type of cell is compatible. I.E. you cannot paste an expression cell (e.g. nested Decision Table on a ContextEntry) into a literal cell (e.g. Relation grid cell); however should be possible to past a whole grid (literal expression, decision table, etc) to replace an undefined grid.

  was:
Add support for copying/pasting between cells in grids.

The implementation should re-use and integrate with the existing Stunner mechanism (i.e. if there are toolbar buttons to copy/paste nodes they should be re-used to copy/paste cells when in the grid view. Copying a grid cell(s) should probably replace any _node_ content on the virtual clipboard and vice-versa. In addition to toolbar buttons the feature should probably be also exposed on a context-menu and keyboard short-cuts... 

Pasting a cell into another should only be possible where the type of cell is compatible. I.E. you cannot paste an expression cell (e.g. nested Decision Table on a ContextEntry) into a literal cell (e.g. Relation grid cell). 



> [DMN Designer] Add support for copy and paste in grids
> ------------------------------------------------------
>
>                 Key: DROOLS-4800
>                 URL: https://issues.redhat.com/browse/DROOLS-4800
>             Project: Drools
>          Issue Type: Enhancement
>          Components: DMN Editor
>    Affects Versions: 7.30.0.Final
>            Reporter: Michael Anstis
>            Assignee: Guilherme Gomes
>            Priority: Major
>              Labels: drools-tools
>
> Add support for copying/pasting between cells in grids.
> The implementation should re-use and integrate with the existing Stunner mechanism (i.e. if there are toolbar buttons to copy/paste nodes they should be re-used to copy/paste cells when in the grid view. Copying a grid cell(s) should probably replace any _node_ content on the virtual clipboard and vice-versa. In addition to toolbar buttons the feature should probably be also exposed on a context-menu and keyboard short-cuts... 
> Pasting a cell into another should only be possible where the type of cell is compatible. I.E. you cannot paste an expression cell (e.g. nested Decision Table on a ContextEntry) into a literal cell (e.g. Relation grid cell); however should be possible to past a whole grid (literal expression, decision table, etc) to replace an undefined grid.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list