Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318920

Summary: [Element Edit Service] SysML specific types
Product: [Modeling] Papyrus Reporter: Patrick Tessier <Patrick.Tessier>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 0.7.0   
Target Milestone: 0.8.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Patrick Tessier CLA 2010-07-05 12:49:16 EDT
When we use SysML, user needs to create directly a block in the model explorer for example
Comment 1 Patrick Tessier CLA 2010-07-05 12:50:57 EDT
Created attachment 173456 [details]
mylyn/context/zip

impacted classes
Comment 2 Remi Schnekenburger CLA 2010-07-23 10:20:31 EDT
added in r2465. The creation service should now be completed with more elements
Comment 3 Yann Tanguy CLA 2010-08-03 08:46:08 EDT
Some refactoring (class and package renaming mainly).

The EditHelperAdvice now ensure that all necessary Profile applications are available during request approval. As a result, if the expected profiles are not applied, the request should be rejected an no creation command should be provided.

Note that additional constraint may possibly be added in the handler, not for a correct execution of the creation command but for usability considerations (avoiding too many "Create new child" command in the menu).

(r2521).
Comment 4 Yann Tanguy CLA 2010-11-04 14:58:16 EDT
- FlowPort specialization hierarchy modified (specific HelperAdvice(s) added depending on direction)
- Name initialization added to existing elements
- Requirement added with specific ModelExplorer creation command

(r3121)
Comment 5 Yann Tanguy CLA 2010-11-15 13:56:12 EST
In r3226:
- FlowSpecification added with ModelExplorer creation command
- FlowProperty added with ModelExplorer creation command
- Bug fix - Command where disabled on a Package (except root Model)
- It is no more possible to create (ModelExplorer) a Block (nested) in a Requirement or FlowSpecification
- It is no more possible to create (ModelExplorer) a FlowSpecification (nested) in a Requirement
- It is no more possible to create (ModelExplorer) a FlowPort (nested) if the owner is not a Block
Comment 6 Yann Tanguy CLA 2010-12-14 09:36:38 EST
In r3521:
- Several SysML element types added
Comment 7 Yann Tanguy CLA 2010-12-14 12:53:15 EST
In r3525:
- Fix for Problem / Rationale creation.
Comment 8 Yann Tanguy CLA 2010-12-16 07:23:17 EST
In r3572:
- fix : src-gen was not in the build
Comment 9 Yann Tanguy CLA 2011-02-03 05:52:42 EST
In r3887:
- Minor re-factoring.
Comment 10 Yann Tanguy CLA 2011-02-18 03:04:51 EST
In r4049:
- Allocate was not bound to Papyrus IClientContext.
Comment 11 Yann Tanguy CLA 2011-04-18 02:45:38 EDT
In r4470 - Part, Reference and Value property added.
Comment 12 Yann Tanguy CLA 2011-04-18 02:53:08 EDT
In r4471 - FlowPort type restriction (null / Block / Signal / DataType / ValueType).
Comment 13 Yann Tanguy CLA 2011-04-18 02:57:36 EDT
In r4472
 - ConstraintProperty type restriction (null / ConstraintBlock)
 - FlowProperty type restriction (null / FlowSpecification / Block / Signal / DataType / ValueType)
Comment 14 Yann Tanguy CLA 2011-04-18 04:52:12 EDT
In r4479 :
- Minor fixes on Part, Ref, and Value.
- Entries added for these elements in SysML create child menu (to be completed with type dialog selection).
Comment 15 Yann Tanguy CLA 2011-04-19 02:55:58 EDT
In r4489 - Some SysML icons from Topcased added.
Comment 16 Yann Tanguy CLA 2011-04-29 06:50:33 EDT
In r4584 - Fix for Part and Ref creation.

Part and Ref creation should result in the creation of an Association, see SysML spec. :

[3] In the UML metamodel on which SysML is built, any instance of the Property metaclass that is typed by a block (a Class 
with the «block» stereotype applied) and which is owned by an Association may not have a name and may not be defined 
as a navigable owned end of the association. (While the Property has a “name” property as defined by its NamedElement 
superclass, the value of the “name” property, which is optional, must be missing.)
Comment 17 Yann Tanguy CLA 2011-08-31 07:22:33 EDT
In r5328 (0.8.1) ElementType added for NonAtomic FlowPort direct creation.
Comment 18 Yann Tanguy CLA 2011-09-01 10:22:38 EDT
(In reply to comment #17)
> In r5328 (0.8.1) ElementType added for NonAtomic FlowPort direct creation.
-> Trunk merge in r5350.
Comment 19 Camille Letavernier CLA 2014-07-22 08:10:07 EDT
This has been implemented; I close the task