[jboss-jira] [JBoss JIRA] (DROOLS-2743) [DMN Designer] Download as toolbar button

Michael Anstis (JIRA) issues at jboss.org
Wed Jul 18 06:29:00 EDT 2018


    [ https://issues.jboss.org/browse/DROOLS-2743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607395#comment-13607395 ] 

Michael Anstis commented on DROOLS-2743:
----------------------------------------

[~roger600] Hi Roger, the "Download as BPMN" text comes from [here|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-stunner/kie-wb-common-stunner-extensions/kie-wb-common-stunner-project/kie-wb-common-stunner-project-client/src/main/java/org/kie/workbench/common/stunner/project/client/editor/ProjectDiagramEditorMenuItemsBuilder.java#L229] that is in {{org.kie.workbench.common.stunner.project.client.editor}}/{{kie-wb-common-stunner-project-client}} (i.e. not BPMN specific) and the command executed to perform the "Download as BPMN" is [here|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-stunner/kie-wb-common-stunner-client/kie-wb-common-stunner-widgets/src/main/java/org/kie/workbench/common/stunner/client/widgets/toolbar/command/ExportToBpmnToolbarCommand.java] that is in {{org.kie.workbench.common.stunner.client.widgets.toolbar.command}}/{{kie-wb-common-stunner-widgets}} (i.e. not BPMN specific either).

So my question is; should I either change {{ProjectDiagramEditorMenuItemsBuilder}} to lookup a "name" from (for example) the {{DefinitionSet}} or should I simply change these classes to show "Export as XML" (although it's plausible some formats will not be XML), or "Export as raw"? WDYT? 

> [DMN Designer] Download as toolbar button
> -----------------------------------------
>
>                 Key: DROOLS-2743
>                 URL: https://issues.jboss.org/browse/DROOLS-2743
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>    Affects Versions: 7.9.0.Final
>            Reporter: Jozef Marko
>            Assignee: Michael Anstis
>            Priority: Minor
>              Labels: drools-tools
>
> The stunner based designers contain "Download as" button. The problem of this button for DMN Designer is that it contains option "Download as BPMN" instead of "Download as DMN".



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list