Bug 429643

Summary: [CSS] Project shall have a property for associating project style sheets
Product: [Modeling] Papyrus Reporter: Gabriel Pascual <gabriel.pascual>
Component: ViewsAssignee: Gabriel Pascual <gabriel.pascual>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: cletavernier
Version: 1.0.0Keywords: plan
Target Milestone: M7Flags: cletavernier: luna+
Hardware: All   
OS: All   
Whiteboard: usability

Description Gabriel Pascual CLA 2014-03-05 04:27:53 EST
User must be able to associate style sheets (embedded or referenced) through project properties.
Comment 1 Camille Letavernier CLA 2014-03-25 12:19:01 EDT
Initial implementation in b6f4f4f, pushed to master.

Some usability issues remain:

- It is not possible to edit the Stylesheets once added (You need to delete and re-create the stylesheets, which is especially problematic for EmbeddedStyleSheets)
- It is not possible to reorder the Stylesheets (Which is problematic, because the Stylesheets are given priorities based on their order)

This contribution also adds a dependency from infra.gmfdiag.css to views.properties, which shouldn't happen. The contribution should be moved to the plug-in infra.gmfdiag.css.properties, which already depends on both CSS and Properties view (And contributes the UI for attaching stylesheets to diagrams, which is similar to this use case).
Comment 2 Gabriel Pascual CLA 2014-04-23 08:52:59 EDT
https://git.eclipse.org/r/25282

This is associated Gerrit review for taking into account of Camille Letavernier's remarks.
Comment 3 Camille Letavernier CLA 2014-05-06 04:01:20 EDT
The new Gerrit contribution has been merged