Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsPapyrus preference keys
https://www.eclipse.org/forums/index.php/mv/msg/1099323/1808062/#msg_1808062
Is there either a documented list of preference keys for Papyrus, or a way to infer the correct entries for plugin_customization.ini from the source (e.g. org.eclipse.gmf.runtime.diagram.ui.preferences.IPreferenceConstants)?
However, others that get set in org.eclipse.papyrus.infra.gmfdiag.preferences.prefs have no effect at all:
org.eclipse.papyrus.infra.gmfdiag.preferences/Global.enableAnimatedLayout=false
org.eclipse.papyrus.infra.gmfdiag.preferences/Global.enableAnimatedZoom=false
org.eclipse.papyrus.infra.gmfdiag.preferences/Global.showConnectionHandles=false
org.eclipse.papyrus.infra.gmfdiag.preferences/PAPYRUS_NAVIGATION_DECORATOR_VISIBILITY=DISABLED
org.eclipse.papyrus.infra.gmfdiag.preferences/PAPYRUS_NAVIGATION_DOUBLECLICK_KIND=NO_NAVIGATION
Any ideas?
Thanks,
Oliver]]>Oliver Gardiner2019-06-16T14:17:19-00:00Re: Papyrus preference keys
https://www.eclipse.org/forums/index.php/mv/msg/1099323/1808437/#msg_1808437
I will assume that you knew you could set those from the preferences inside the Papyrus RCP so I'll just tell you what the ones you are mentioning are supposed to do:
org.eclipse.papyrus.infra.gmfdiag.preferences/Global.enableAnimatedLayout=false
- This is used for the animation when executing one of the arrange actions on your diagram. It shouldn't have an impact on anything else.
org.eclipse.papyrus.infra.gmfdiag.preferences/Global.enableAnimatedZoom=false
- This setup is to enable, as the text suggests, the animation (a progressive increment instead of the direct result) when zooming into a diagram.
org.eclipse.papyrus.infra.gmfdiag.preferences/Global.showConnectionHandles=false
- I am not familiar with this one so I am afraid I can't really get you a specific answer.
org.eclipse.papyrus.infra.gmfdiag.preferences/PAPYRUS_NAVIGATION_DECORATOR_VISIBILITY=DISABLED
- This one is unfamiliar to me as well. I'll ask the rest of the team.
org.eclipse.papyrus.infra.gmfdiag.preferences/PAPYRUS_NAVIGATION_DOUBLECLICK_KIND=NO_NAVIGATION
- Papyrus allows you to set your own 'hyperlink' to another model/submodel/element. If this is set to false you won't get the popup dialog to control this.
(You can get this through Papyrus> Navigation)
Fwiw, those really should be modified inside the RCP itself or you might get a lot of them having seemingly no effect until you try the right action.
HTH, Cheers,
Quentin]]>Quentin Le Menez2019-06-24T15:33:22-00:00Re: Papyrus preference keys
https://www.eclipse.org/forums/index.php/mv/msg/1099323/1808485/#msg_1808485
Many thanks for coming back - to clarify, I'm not talking about the Papryus RCP but an internal RCP with our own extensions. The goal is to have a packaged version of the tool with as much preconfigured as possible. For info, the showConnectionHandles preference controls whether Papyrus shows draggable edge connectors when you hover - I want to turn them off by default because they are very slow to respond and prove distracting. Unfortunately, though, the built RCP seems to completely ignore these settings in plugin_customization.ini and it is not clear to me whether a) it is simply not possible to set these keys in plugin_customization.ini, or b) they can be set but need to be set with different keys.
PS: I have a team of data architects who expect to either get a properties or comments view on double-click and so find the default behaviour confusing!]]>Oliver Gardiner2019-06-25T14:23:21-00:00Re: Papyrus preference keys
https://www.eclipse.org/forums/index.php/mv/msg/1099323/1809948/#msg_1809948
chao chen2019-07-26T07:52:01-00:00Re: Papyrus preference keys
https://www.eclipse.org/forums/index.php/mv/msg/1099323/1809996/#msg_1809996
Oliver Gardiner2019-07-28T08:54:01-00:00