Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Show/hide column based on row selected in sirius table
Show/hide column based on row selected in sirius table [message #1796402] Fri, 12 October 2018 12:29 Go to next message
Prajna VGFriend
Messages: 54
Registered: July 2018
Member
Hi Sirius developers,

In table can we create columns visible based on the rows selected. When we click on a row some columns should not be visible i.e., only features related to that row element, columns should get visible.

Here in my case, I am trying table creation in sirius. I created nodes as line and its features as columns. I created child elements inside that line. But the columns which contains features not related to that child also getting displayed. Can we hide columns based on row selected?
Re: Show/hide column based on row selected in sirius table [message #1796566 is a reply to message #1796402] Tue, 16 October 2018 08:47 Go to previous messageGo to next message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member
Hi,

Sirius does not allow to hide columns, when defined in odesign, it will appears.

If you are interested by such functionality you can open a Sirius ticket.

Regards,

Pierre


Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Show/hide column based on row selected in sirius table [message #1796911 is a reply to message #1796566] Mon, 22 October 2018 08:39 Go to previous messageGo to next message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member
Though you could do it yourself with a selection listener.
You take your inspiration from org.eclipse.sirius.table.ui.tools.internal.editor.provider.TableUIUpdaterRunnable.updateColumnVisibility()
Regards,


Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Show/hide column based on row selected in sirius table [message #1797108 is a reply to message #1796911] Thu, 25 October 2018 11:19 Go to previous message
Prajna VGFriend
Messages: 54
Registered: July 2018
Member
Hi Pierre,

Thanks for reply

Yes I tried to hide columns based on selected line, but I can't override the method which is called when we select a line.

There is no option in column to add java action or service method also!! so I guess we can't hide column on selection.

Previous Topic:aird file is not synchronising with modelFile
Next Topic:Exceptions in UML Designer Development
Goto Forum:
  


Current Time: Mon Jan 25 09:00:04 GMT 2021

Powered by FUDForum. Page generated in 0.01492 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top