Project

General

Profile

Actions

Support Request #11882

closed

Define more than one Filter Editor

Added by hidden over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Solved Issue
Product Issue Numbers:
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::Common
FAQ Links:

Description

Supportanfrage

I am trying to implement 2 different QML-Scripts and using setEditor()-function to make them both inside one adtfplugin(filter).

But it seems that only the last QML-Script is considered. And in context menu also only the last QML-script will be shown.

Like this inside constructor:

SetEditor("Create Dyn. Pins & Properties", "adtf_generate_dyn_pins.qml");
SetEditor("Create Dynamic Properties", "adtf_generate_dyn_props.qml");

My question is, is it possible to add 2 different qml script in one constructor? such as one qml for dynamic properties and another one for dynamic pins, and in context menu also 2 functionalities.

Lösung

Please use the free function adtf::streaming::set_editors() (https://support.digitalwerk.net/adtf/v3/adtf_html/graph__element__editors_8h.html#a132ad1e66f57645e810918a701177ddc) instead. This functions accepts a list of editors.

Actions

Also available in: Atom PDF