Bug 291782 - [Palette] Possibility to locally define a palette
Summary: [Palette] Possibility to locally define a palette
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: M2   Edit
Assignee: Remi Schnekenburger CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords: plan, usability
Depends on:
Blocks: 291778 291783
  Show dependency tree
 
Reported: 2009-10-08 11:51 EDT by Remi Schnekenburger CLA
Modified: 2009-10-28 05:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remi Schnekenburger CLA 2009-10-08 11:51:04 EDT
It should be possible to locally define a palette. This palette should not be embedded in a plugin, it is just a on-the-fly defined palette.

This could be using a XML file. this file could be stored anywhere on the disk or memory. The palette provide has to read this configuration and buidl the palette according to this definition 

Once it has been defined, it could be stored (where?), it could be exchange with other people (import/export).
Comment 1 Remi Schnekenburger CLA 2009-10-08 12:07:51 EDT
Possibility to use currently a new extension point, which simply indicates the name of the palette and where the definition is. the xml file could be stored anywhere.
Comment 2 Raphael Faudou CLA 2009-10-27 17:12:00 EDT
why claiming that the palette should not be embedded in a plug-in?
One of the tool requirements is to support a MBSE process. In industry especially, process is defined by a specific team (methods team) and then applied to all projects. If we think about the palette as a means to fulfill a given process activity, we understand that palette customization is done preferably by the "methods" team and must then be applied to all projects with limited possibilities to change it. For that common situation the plug-in mechanism is a good solution to customize the palette at one place and ensure that it will remain restricted in all projects.
In TOPCASED, this feature has been requested by several industrials and this is the plug-in mechanism that has been decided as the best answer.
There is probably situations for both needs : local customization and "tool level" (plug-in) customization.
Comment 3 Remi Schnekenburger CLA 2009-10-28 05:23:03 EDT
(In reply to comment #2)
> why claiming that the palette should not be embedded in a plug-in?
> One of the tool requirements is to support a MBSE process. In industry
> especially, process is defined by a specific team (methods team) and then
> applied to all projects. If we think about the palette as a means to fulfill a
> given process activity, we understand that palette customization is done
> preferably by the "methods" team and must then be applied to all projects with
> limited possibilities to change it. For that common situation the plug-in
> mechanism is a good solution to customize the palette at one place and ensure
> that it will remain restricted in all projects.
> In TOPCASED, this feature has been requested by several industrials and this is
> the plug-in mechanism that has been decided as the best answer.
> There is probably situations for both needs : local customization and "tool
> level" (plug-in) customization.

The standard extension point is still usable, and recommended of course in case of development by method team.
Both way are valid :
- extension point
- local palettes
For example, Papyrus diagram editors provide a "standard" palette, which use the palette gmf extension point.