Aurelien,

Short answer is no, Editors are bound to a single file. Your host
application (Channel) should be handling actions that can have impact
on other files, as Multiplying Architecture doesn't understand this as
the Editor's job. If you want to, inside an Editor, read files from
your host application, you can use the Workspace Channel API [1] to do
so.

You can always extend the Editor Channel API with methods that apply
to your domain. See [2] for an (incomplete) example.

[1] 
https://github.com/apache/incubator-kie-tools/blob/main/packages/workspace/src/api/WorkspaceChannelApi.ts
[2] 
https://github.com/apache/incubator-kie-tools/blob/main/packages/kie-bc-editors/src/dmn/api/DmnEditorChannelApi.ts

On Mon, Sep 16, 2024 at 11:31 AM Aurélien Pupier <[email protected]> wrote:
>
> Hello,
>
> no. I know it can edit other types of files. We are using it for Camel files 
> for instance.
> I'm asking if one editor can save the content in multiple files.
>
> On Mon, Sep 16, 2024 at 5:04 PM Jason Porter <[email protected]> wrote:
>>
>> Aurélien,
>>
>> You're asking if KIE Sandbox supports editing files that are not 
>> .bpmn/.bpmn2 or .dmn?
>>
>> On 2024/09/05 09:02:21 Aurélien Pupier wrote:
>> > Hello,
>> >
>> > we are using the Multiplying architecture to provide a graphical interface
>> > to edit *.camel.yaml files.
>> > In some cases, when editing a *.camel.yaml file, we would like to edit also
>> > another file from within the same editor.
>> > Is it something supported by the framework? Are there examples available?
>> > If not, any recommendations?
>> >
>> > Regards,
>> >
>> > --
>> >
>> > Aurélien Pupier
>> >
>> > Principal Software Engineer, IDE Tooling for Red Hat Integration
>> >
>> > Red Hat France <https://www.redhat.com/>
>> >
>> > [email protected]    IM: apupier
>> > <https://www.redhat.com/>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to