Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Extending the properties view
Extending the properties view [message #962694] Mon, 29 October 2012 04:57 Go to previous message
Goood Guy is currently offline Goood Guy
Messages: 96
Registered: September 2011
Member
Hi,

I would like to create an own tab in the properties view for my application.
In particular, this tab gets activated, when the user selects a Transition from a ProtocolStateMachine or a Message in a Sequence Diagram. The tab has a widget that shows a list of available operations from a certain interface. When the user selects an operation, all elements that are necessary are created at once (trigger, event, etc.)

After some time I finally found out, that the properties view is managed by org.eclipse.papyrus.uml.properties resp. org.eclipse.papyrus.views.properties.model (very cool thing btw). Is there some documentation about how to use it?

I tried to create such a property model via the "Property view configuration" in the Papyrus New Wizard. What do I have to select for the source? The UML.ecore? Where do I find the right one? What do I have to select for the target? A new .ctx file?

I guess this generation process is to generate the Data Contexts so that Attributes and References from the Ecore model can be referenced.

I assume that the .ctx model is partitioned into the .xwt files. This means, when you create a widget model element, it isn't stored in the .ctx but in the .xwt. Is that correct?

I guess for my intention, there exists no predefined adequate widget. How can I create and include my self-made widget?


Regards,
Simon



 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Problem of reverse engineering with Modisco & Papyrus
Next Topic:How to import a RegisteredLibrary using the method getRegisteredLibraries ()
Goto Forum:
  


Current Time: Sun May 26 03:37:53 EDT 2013

Powered by FUDForum. Page generated in 0.01639 seconds