Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:01 Go to next message
Patrik Nandorf is currently offline Patrik NandorfFriend
Messages: 161
Registered: January 2013
Location: Sweden
Senior Member
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 07:09 Go to previous message
Benoit Maggi is currently offline Benoit MaggiFriend
Messages: 107
Registered: March 2013
Location: Bordeaux, France
Senior Member
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: Wed Jan 17 07:40:59 GMT 2018

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

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