Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [papyrus-sysml-users] Development setup

Hi Klaas,

 

I added some elements in the corresponding bugs.

 

In short :

There is no more post action concepts in the palette.

Adding an element in a palette looks simple (at least for me), the only tricky part is what element type id to use in the element description.

 

If you want to add an Uml element you have to check in Papyrus code source

-        Class diagram for Requirement and BDD

-        Composite diagram for IBD and parametric

 

If you want to add a SysML element you have to check in sysml14.diagram.common

-        resources\**.elementtypesconfigurations

 

If the element is not present you have to create the corresponding element type.

 

Regards,

Benoit

De : papyrus-sysml-users-bounces@xxxxxxxxxxx [mailto:papyrus-sysml-users-bounces@xxxxxxxxxxx] De la part de Klaas Gadeyne
Envoyé : jeudi 1 octobre 2015 12:26
À : Papyrus SYSML user discussions
Objet : Re: [papyrus-sysml-users] Development setup

 

Hi Benoit (and others),

 

On Wed, Sep 30, 2015 at 10:13 AM, MAGGI Benoit <Benoit.MAGGI@xxxxxx> wrote:

Hi Klaas,

 

Here are some basics information :

 

Thx for taking this up.!

 

 

Feel free to make returns so we can improve the process and the documentation.

 

To make it a little more concrete: two (simple) items I'd like to fix are related to palette definition.

 

Currently, the doc states about this

 

4.2.5 Palette

Add your element in the palette: /org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/ palette/blockDefinitionDiagram.paletteconfiguration

 

As I argued in https://bugs.eclipse.org/bugs/show_bug.cgi?id=478546, it's not obvious/easy to figure out _how_ I can elements to the palette (and define post-actions).  Could you point me to some more detailed info about this (I will be happy to add it to the documentation than :-)?

 

TIA,

 

Klaas

 

 


Back to the top