Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Programmatically configure visible palette for diagram ((from a private email exchange))
Programmatically configure visible palette for diagram [message #777312] Tue, 10 January 2012 04:14 Go to previous message
Remi Schnekenburger is currently offline Remi Schnekenburger
Messages: 119
Registered: July 2009
Senior Member
We would like to programmatically enable and disable the palette configurations for a certain diagram. For example:
In UTP you can apply <<testcase>> to any behavior. We pre-configured a palette for sequences/activities/state machines. Only those elements, which are sensible, respectively supported in our methodology are provided in that palettes. Now, if the user wants to create a <<testcase>> sequence diagram, we simply reuse the CreateSequenceDiagramCommand, but want to programmatically disable the default sequence palette and enable the customized palette. I browsed the source, unfortunately with no success.

Can you point me to the code section, where the UI invoked the de-/activation of palette configurations?

Thanks a lot.

Marc-Florian


 
Read Message
Read Message
Previous Topic:SysML 1.2 supported by Papyrus?
Next Topic:What is the current status of this OCL in profiles issue?
Goto Forum:
  


Current Time: Fri May 24 07:22:35 EDT 2013

Powered by FUDForum. Page generated in 0.01594 seconds