plug-in drop-down box

Answered

Comments

5 comments

  • Avatar
    Ichiro

    Hi wenbin

    It seems you have asked the similar questions while you started the development and inquired about the manifest.(for DeviceAgenet and Engine)

    In fact, you are suggested use the manifest string in your engine.cpp, then you would be able to group the event while the engine initiates the device agent for each device.

    You can find the explanation in the manifest.md and taxonomy.md.  and you can find the sample code in the SDK. (STUB/events plugin)

    0
    Comment actions Permalink
  • Avatar
    wenbin

    Hi Ichiro,

    Thanks for your help,My description may not be accurate, but what I want to achieve is a drop-down menu below the plug-in name similar to the one below.

    Click on the plug-in name on the left and there will be many options, each with a different interface.

    I didn't find similar examples and implementation methods in stub project, manifest.md and taxonomy.md.

    0
    Comment actions Permalink
  • Avatar
    wenbin

    Hi Ichiro,

     The manifest.(for DeviceAgenet and Engine) can't realize the drop-down box of plug-in name in the plug-in list on the left, or I may not find it. Could you please give me some suggestions?

    0
    Comment actions Permalink
  • Avatar
    Ichiro

    Hi Wenbin,

    Thank you for pointing this out!

    Indeed, the content you need should be in settings_model.md, as manifest.md only provides a description of the format and syntax. This was my oversight in not providing the relevant document content. I apologize for the mistake.

    In principle, you can use “Sections” to handle the tree-like structure you need. 

     

    0
    Comment actions Permalink
  • Avatar
    Ichiro

    Hi Wenbin,

    Here is the engine.cpp for your reference to create the settings of deviceAgent with proper manifest.

    0
    Comment actions Permalink

Please sign in to leave a comment.