Skip to main content



      Home
Home » Modeling » Papyrus » Documentation for the new Palette configuration model format
Documentation for the new Palette configuration model format [message #1772936] Tue, 19 September 2017 02:01 Go to next message
Eclipse UserFriend
Hi,

I'm missing documentation for the new Palette configuration model format (ver 0.8)

The only thing I find is this: https://wiki.eclipse.org/Papyrus/Migration_Guide/Oxygen#PaletteConfiguration_model.

Specifically, what is the "Tool Class Name' property in a Tool Configuration.

Also, I suppose I don't have to register it using org.eclipse.papyrus.infra.gmfdiag.common.paletteDefinition if I will use an architecture model?

Regards
Patrik
Re: Documentation for the new Palette configuration model format [message #1772939 is a reply to message #1772936] Tue, 19 September 2017 03:09 Go to previous message
Eclipse UserFriend
Hi,

1) Indeed embedded doc is missing, in fact there is a patch on gerrit (I don't know why it isn't merged)
https://git.eclipse.org/r/#/c/91047/

2) As far as I know "Tool Class Name" is to customize your palette creation
See Sequence diagram for an example:
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/tree/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/tools/MessageLostFoundConnectionTool.java

Note, it's reserved for very specific use case (In most cases, it's better to provide the behavior in element types)

3) Yes, it's better to use the architecture to register the palette
(in this case you don't need to register to org.eclipse.papyrus.infra.gmfdiag.common.paletteDefinition)

Regards,
Benoit


Previous Topic:Export Diagram in Papyrus
Next Topic:Problem setting the Creation Command Class in my architecture model
Goto Forum:
  


Current Time: Mon Jul 07 23:18:53 EDT 2025

Powered by FUDForum. Page generated in 0.04192 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top