Page 1 of 1

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

PostPosted: Mon Feb 27, 2017 11:12 am
by douglas.courtney@navy.mil
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.

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

PostPosted: Wed Mar 01, 2017 2:31 am
by darius.petrauskas@nomagic.com
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

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

PostPosted: Wed Mar 08, 2017 8:26 am
by douglas.courtney@navy.mil
Thank you for the replay. I was actually looking for the User Interface Table example. See attached for more detail.

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

PostPosted: Wed Mar 15, 2017 10:04 am
by darius.petrauskas@nomagic.com
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

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

PostPosted: Fri Aug 04, 2017 10:26 am
by rjhudson@mitre.org
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?