Community
Participate
Working Groups
Let's take a look on SelectDiagramKindPage of the New Papyrus Model wizard. Currently the first value is set by default. However, first doesn't meen the most frequently used or the most useful one. I see several ways to choose default kind of diagram: 1. Remember the last selected value 2. Add option 'Default diagram kind' into preferences page (i don't like this idea a lot because it will overload the prefs). 3. Define the default value in plugin descriptor, e.g. Class D for UML Diagrams. However, there can be other ways to choose the default diagram kind. Papyrus team, feel free to put your thought about this topis here.
Maybe we could used both 1 and 3. For option 3, we should use a mechanism of priority (like GMF) because as MDT Papyrus will be highly modular, it is possible that user doesn't install all the diagrams of an editor. Once the user creates a diagram, we should use by default his last selected value. PS : the e-mail "mdt-papyrus-inbox@eclipse.org" doesn't seem to work. So I add Sebastien and Raphael in copy.
My solution is a variation of 1. Remember the last selected value I added "Remember Current Selection" checkbox. If the user checks it the current selection will be shown when the user opens the wizard next time. If the user don't check it then he will get an empty selection next time.
Fixed in HEAD