Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Paletteconfiguration model migration

Hi Benoit and all,

I can answer at least for the last one. It seems that the separator is removed (or not serialized) at the beginning of the path of icon in bundle, thus causing this issue. When you look at the derived full name, there is a '/' missing. The name of the bundle is "org.eclipse.uml2.uml.edit", without 'icons' at the end, beginning of the path of the icon in the plugin. So there is a bug that should be fixed, but you can workaround it in the meantime adding an additional '/'.

For the new child, do you think of the one in the model explorer? If yes, that is not the same framework involved here. The new child framework is also being updated as far as I know, with direct references to element type rather than identifiers, as done for the palettes. 

I did not try the addition of action, so I can not give feedback on that one.

Cheers,
Rémi

2017-04-27 8:55 GMT+02:00 Peter Cigéhn <peter.cigehn@xxxxxxxxx>:
Hi,

Regarding the empty "expressions" properties section I guess that is the same issue I have seen with the RSA import dialog. This seem to be a known issue which is related to the new expressions framework. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=515707#c6.

/Peter Cigéhn

On 27 April 2017 at 08:15, MAGGI Benoit <Benoit.MAGGI@xxxxxx> wrote:

Hi Mickaël,

 

Nice to have this new editor.

I’m currently trying to update the palettes for SysML 1.4 in oxygen branch.

 

Some comments:

-        The usual “Right Click > New element” isn’t available (at least on my machine)

-        I have an empty _expression_ properties section that seems useless

-        I didn’t manage to create/add an element in the Actions properties section

-        When editing an icon, the popup open with org.eclipse.uml2.uml.editicons as default bundle. I get an exception saying that this bundle is unknown.

 

Are these expected behaviors? Known bugs?

 

Do you have a script to update the palette? Manual update is tedious for palette with a lot of elements.

 

Regards,

Benoît

 

De : mdt-papyrus.dev-bounces@eclipse.org [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Mickael ADAM
Envoyé : mardi 18 avril 2017 16:01
À : mdt-papyrus.dev@xxxxxxxxxxx
Objet : [mdt-papyrus.dev] Paletteconfiguration model migration

 

Hi team,

 

As you maybe have seen, palette framework have occurred a refactor.

 

The main goals of the refactor was to:

-        Use the paletteconfiguration model as palette provider for all diagram

-        Remove old “aspect Palette” framework.

-        Move all palette framework from uml  plugins to infra plugins.

 

A detail of changes and the state of progression can be find here [1].

 

One of the change is to directly refer element types by a reference instead of the use of elementtypeid. So the metamodel have changed and models require a migration. Extension point id to define palette have also change to org.eclipse.papyrus.infra.gmfdiag.common.paletteDefinition

A tool is not yet available but you can find an easy way to do it here [2].

 

If you encounter any problems do not hesitate to contact me.

 

Mickaël.

 

[1] - https://wiki.eclipse.org/Papyrus/Oxygen_Work_Description/Refactoring/PaletteDefinition

[2] - https://wiki.eclipse.org/Papyrus/Migration_Guide/Oxygen#PaletteConfiguration_model

 

 

 


_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev


_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev



--
Remi Schnekenburger

Senior Software Architect / General Manager
EclipseSource Paris

Email: rschnekenburger@xxxxxxxxxxxxxxxxx
Web: http://eclipsesource.com/paris 
Phone: +33
1 85 41 08 65
German Phone: +49 89 21 555 30 - 25
Fax: +49 89 21 555 30 - 19
Hangouts: rschnekenburger@xxxxxxxxxxxxxxxxx

EclipseSource France SAS
7 rue de la Croix Martre
91120 Palaiseau

General Manager: Remi Schnekenburger
Registered Office: 7 rue de la Croix Martre, 91120 Palaiseau, France
Commercial Register 824 977 516  R.C.S. EVRY

Back to the top