Bug 429643 - [CSS] Project shall have a property for associating project style sheets
Summary: [CSS] Project shall have a property for associating project style sheets
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Views (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: M7   Edit
Assignee: Gabriel Pascual CLA
QA Contact:
URL:
Whiteboard: usability
Keywords: plan
Depends on:
Blocks:
 
Reported: 2014-03-05 04:27 EST by Gabriel Pascual CLA
Modified: 2014-05-06 04:01 EDT (History)
1 user (show)

See Also:
cletavernier: luna+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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