Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327460 - [SysML Block Definition Diagram] Block: Allow to add only valid content in the Part Compartment
Summary: [SysML Block Definition Diagram] Block: Allow to add only valid content in th...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tatiana Fesenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 330182
  Show dependency tree
 
Reported: 2010-10-11 11:38 EDT by Tatiana Fesenko CLA
Modified: 2011-04-20 03:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tatiana Fesenko CLA 2010-10-11 11:38:49 EDT
In accordance SysML Spec, 8.3.2.2:
"A property typed by a SysML Block that has composite aggregation is classified as a part property, except for the special case of a constraint 
property... A property typed by a SysML ValueType is classified as a value property,..."
So a part property should have composite aggregation and should not allow ValueType to be its type
Now Part compartment allows any kind of element that can be owned by Block, including comments and ports
Comment 1 Tatiana Fesenko CLA 2010-10-15 04:53:39 EDT
I introduced a specialization type for Part in revision 2948
Comment 2 Yann Tanguy CLA 2010-10-15 05:17:22 EDT
SysML specialization types should be declared in oep.sysml.service.types (which itself specializes UML element types from oep.uml.service.types).
Comment 3 Tatiana Fesenko CLA 2011-03-11 10:24:27 EST
Fixed