Bug 417178 - [CSS] The CSS Engine shall support compartments (Show/Hide, collapse, show title...)
Summary: [CSS] The CSS Engine shall support compartments (Show/Hide, collapse, show ti...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: M2   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords: plan
Depends on: 417180
Blocks:
  Show dependency tree
 
Reported: 2013-09-13 08:17 EDT by Camille Letavernier CLA
Modified: 2014-03-07 07:29 EST (History)
2 users (show)

See Also:
cletavernier: luna+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2013-09-13 08:17:58 EDT
The CSS Engine shall support GMF Compartments.

Currently, the CSS Engine only supports graphical elements as a Whole (i.e. There is no distinction between a Class, a Class' label, and a Class' compartment)

We shall be able to write this kind of CSS Style:

CompositeDiagram Compartment{
	showTitle:true;
}

Property.asImage > Compartment[type="compartment_shape_display"] {
	visible:true;
}
Comment 1 Camille Letavernier CLA 2013-09-25 10:19:16 EDT
Done in 367fd6420244fc13a99c0acf18fdeb971641f935, 34c650cffab8f695a5e144b65fd49ae12495671b, ad3fdabd6fed7c6c3951c59c7d72e6edeccf34e6, 57167661ed052cf3c5414acbec781ace559f5440

Pushed to master
Comment 2 Camille Letavernier CLA 2013-12-06 11:17:57 EST
Backported to 0.10-maintenance
Comment 3 Camille Letavernier CLA 2014-03-07 07:29:23 EST
I close this task