Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to create a drawer on palette and add entries to it at runtime
How to create a drawer on palette and add entries to it at runtime [message #1062053] Wed, 05 June 2013 15:03 Go to next message
Leila A is currently offline Leila AFriend
Messages: 17
Registered: February 2013
Junior Member
Hi;

I need to add/remove a drawer and its entries to/from the palette in Papyrus pragmatically.
Whenever selection on the diagram is changed, I should change the entries on my drawer.

Can anyone help me please? I have been spending long time on it trying to trace the code but I couldn't find any solution Sad

Regards,
Leila

[Updated on: Wed, 05 June 2013 15:06]

Report message to a moderator

Re: How to create a drawer on palette and add entries to it at runtime [message #1062295 is a reply to message #1062053] Fri, 07 June 2013 06:22 Go to previous messageGo to next message
Marc-Florian Wendland is currently offline Marc-Florian WendlandFriend
Messages: 67
Registered: January 2013
Member
Hi Leila,
I already suggested a link to you how you can change entire palettes during
runtime programmatically. I'm not sure whether it'll be that simple to
modify the palette entries programatically, but you could actually prepare
dozens of palettes and just switch them at runtime according to your current
selection. This works!

Regards,
Marc-Florian

"Leila A" wrote in message news:konk0i$va0$1@xxxxxxxxe.org...

Hi;

I need to add/remove a drawer and its entries to/from the palette
pragmatically.
Whenever selection on the diagram is changed, I should change the entries on
my drawer.

Can anyone help me please? I have been spending long time on it trying to
trace the code but I couldn't find any solution :(

Regards,
Leila
Re: How to create a drawer on palette and add entries to it at runtime [message #1062381 is a reply to message #1062295] Fri, 07 June 2013 13:05 Go to previous message
Leila A is currently offline Leila AFriend
Messages: 17
Registered: February 2013
Junior Member
Thanks Marc-Florian! Smile
Previous Topic:Message's arguments. OpaqueExpression
Next Topic: How to run a Papyrus SysML file?
Goto Forum:
  


Current Time: Fri Nov 28 22:10:00 GMT 2014

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

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