Is there any examples of using a UI Table in a GUI panel

Moderator: Moderators

Is there any examples of using a UI Table in a GUI panel

Postby douglas.courtney@navy.mil » Mon Feb 27, 2017 11:12 am

I am trying to find a way to use the table in a GUI panel to display a list of data classes. So far I have not seen any examples that show how to do this. Does anyone now of an example.
douglas.courtney@navy.mil
Forum Newbie
Forum Newbie
 
Posts: 16
Posts Rating:1
Joined: Thu Oct 13, 2011 11:26 am

Re: Is there any examples of using a UI Table in a GUI panel

Postby darius.petrauskas@nomagic.com » Wed Mar 01, 2017 2:31 am

Hello,

Thank you for the question.

First you should create a Generic Table (Create Diagram > Generic Table)

Then:

1. Set the Element Type to Class;
2. Specify the Scope where your data classes are located.
3. Optionally, specify additional columns to show additional information about the data classes, like owned attributes or operations.

tableClasses.png


A sample project is also attached here for reference.
ClassesTable.mdzip


If you have any more questions or remarks, please let us know!

Kind Regards,
No Magic, Inc. Customer Support
You do not have the required permissions to view the files attached to this post.
darius.petrauskas@nomagic.com
Forum Beginner
Forum Beginner
 
Posts: 29
Posts Rating:7
Joined: Mon Apr 04, 2016 12:08 pm
Full name: Darius Petrauskas

Re: Is there any examples of using a UI Table in a GUI panel

Postby douglas.courtney@navy.mil » Wed Mar 08, 2017 8:26 am

Thank you for the replay. I was actually looking for the User Interface Table example. See attached for more detail.
You do not have the required permissions to view the files attached to this post.
douglas.courtney@navy.mil
Forum Newbie
Forum Newbie
 
Posts: 16
Posts Rating:1
Joined: Thu Oct 13, 2011 11:26 am

Re: Is there any examples of using a UI Table in a GUI panel

Postby darius.petrauskas@nomagic.com » Wed Mar 15, 2017 10:04 am

Hello,

Actually, no, in this case the Table in UI Diagram has not yet been implemented for pulling values from simulation or from the model. It can only display static textual information.

If you have any more questions or remarks, please let us know!

Kind Regards,
No Magic, Inc. Customer Support
darius.petrauskas@nomagic.com
Forum Beginner
Forum Beginner
 
Posts: 29
Posts Rating:7
Joined: Mon Apr 04, 2016 12:08 pm
Full name: Darius Petrauskas

Re: Is there any examples of using a UI Table in a GUI panel

Postby rjhudson@mitre.org » Fri Aug 04, 2017 10:26 am

Is it at all possible to create our own java class that implements the com.nomagic.magicdraw.simulation.uiprototype.Mockup interface for tables? and if so, any guides or help to offer?
rjhudson@mitre.org
Forum Newbie
Forum Newbie
 
Posts: 11
Posts Rating:2
Joined: Thu Jun 29, 2017 3:40 pm


Return to Cameo Simulation Toolkits

Who is online

Users browsing this forum: No registered users and 0 guests