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 11:03 Go to next message
Leila A is currently offline Leila A
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 11: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 02:22 Go to previous messageGo to next message
Marc-Florian Wendland is currently offline Marc-Florian Wendland
Messages: 60
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 09:05 Go to previous message
Leila A is currently offline Leila A
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: Thu Aug 28 23:34:24 EDT 2014

Powered by FUDForum. Page generated in 0.02102 seconds