Trying to nest panels within panels

Moderator: Moderators

Trying to nest panels within panels

Postby curtiselaugh@gmail.com » Tue Jul 05, 2022 12:40 pm

I am building a simulation dashboard. I have created a Graphical User Interface diagram, and I have inserted a Frame. I would like to be able to display images based on sub-properties of the block, which is tied to this Frame. However, my end goal is to be able to visualize sub-sub-components of this parent block. Ideally I would go down 3 levels in some cases.

I can only get images to show up which are direct children of the owning Frame's system block. I create these by creating a panel, and associating a part block owned by that parent system block, and then dragging in the corresponding image switcher. This works; but when I then try to nest panels within this children panels, I see nothing.

I would like to be able to insert a nested panel into the frame, and allow it to display information when in certain states. Can I do this? It seems like Java Swing, which I've heard simulation toolkit is built around, could handle this type of complexity. I have yet been able to find out how to do this in Cameo.

Thanks.
curtiselaugh@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 13
Posts Rating:0
Joined: Tue Jun 14, 2022 11:08 am

Re: Trying to nest panels within panels

Postby curtiselaugh@gmail.com » Tue Jul 05, 2022 2:56 pm

I seem to be doing everything said here: https://docs.nomagic.com/display/CST185/UI+modeling+diagram+simulation.

If a UI Panel (child) resides in another UI Panel (parent), drag the Property of a Classifier that types the Property and the parent UI Panel it represents to the child UI Panel to bind that Property to the UI Panel. The «NestedUIConfig» stereotype will be automatically applied; its "feature" tag will then be set to the Property and its "Text" tag will also be set to the name of that Property. This functionality allows you to bind the nested parts (properties) of a Classifier to its correspondent nested UI Panels in a UI Frame representing the Classifier.


However, when I run the associated Simulation Configuration, the nested panel does not appear.
curtiselaugh@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 13
Posts Rating:0
Joined: Tue Jun 14, 2022 11:08 am

Re: Trying to nest panels within panels

Postby curtiselaugh@gmail.com » Tue Jul 05, 2022 3:05 pm

Update: I can get the config image for the nested panel to appear only once I have removed the config from the parent panel. This is not desired. I need the child image to overlay the parent image.
curtiselaugh@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 13
Posts Rating:0
Joined: Tue Jun 14, 2022 11:08 am

Re: Trying to nest panels within panels

Postby lopezmason4441958@gmail.com » Wed Jul 20, 2022 4:06 am

The information is great. I'm sure you've been researching these issues for a long time. It's so detailed.
lopezmason4441958@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Wed Jun 01, 2022 1:59 am


Return to Cameo Simulation Toolkits

Who is online

Users browsing this forum: No registered users and 0 guests

cron