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

Bug 250924

Summary: [Class Diagram] Adding template parameters
Product: [Modeling] Papyrus Reporter: Patrick Tessier <Patrick.Tessier>
Component: CoreAssignee: Patrick Tessier <Patrick.Tessier>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: charles
Version: 0.7.0Keywords: plan
Target Milestone: M1   
Hardware: All   
OS: All   
Whiteboard: UML 2.x Diagrams
Bug Depends on: 250925, 287981    
Bug Blocks:    
Attachments:
Description Flags
mylyn/context/zip none

Description Patrick Tessier CLA 2008-10-15 08:13:41 EDT
Adding Template parameters in graphical view
Comment 1 Patrick Tessier CLA 2008-10-15 08:16:33 EDT
need to add this templateparameter and template into templateableElements.
Comment 2 Patrick Tessier CLA 2009-08-28 11:14:37 EDT
Created attachment 145949 [details]
mylyn/context/zip

impacted classes
Comment 3 Patrick Tessier CLA 2009-08-28 11:15:12 EDT
I have added template parameter and classifier template parameter
Comment 4 Patrick Tessier CLA 2009-08-28 11:16:56 EDT
Done
Comment 5 Patrick Tessier CLA 2010-10-08 04:32:00 EDT
redo the job, with more knowledge
Comment 6 Patrick Tessier CLA 2010-10-08 04:35:46 EDT
*** Bug 327309 has been marked as a duplicate of this bug. ***
Comment 7 Patrick Tessier CLA 2010-10-11 11:44:51 EDT
rework on the placement of template signature and modify the refresh of template parameters (rev2931 )
Comment 8 Patrick Tessier CLA 2010-10-11 11:48:33 EDT
For this revision I have modify the locator associated to a redefined template signature.
I have also modified the parser. It is not finished, we hve to display the default value.
I have also added a new editpolicy to refresh the parameter element when it is added or modified
Comment 9 Patrick Tessier CLA 2010-10-12 05:55:47 EDT
Change to a method to avoid to drop a intra diagram the template signature everywhere in the diagram (rev 2933)
Comment 10 Patrick Tessier CLA 2010-10-12 06:26:37 EDT
Add policy in order to be able to drop from the model explorer template signature (rev 2934)
Comment 11 Patrick Tessier CLA 2010-10-12 12:27:52 EDT
I have added TemplateSignature and new parameter
	+OperationTemplateparameter
	+ConnectableElementTemplateParameter
	
Parsers have been also added (rev 2935)
Comment 12 Patrick Tessier CLA 2010-10-13 08:27:07 EDT
add specific listener for manage refresh of operationtemplateParameter (rev 2939)
Comment 13 Patrick Tessier CLA 2010-10-19 08:19:54 EDT
A new dialog box has been added in order to manage template parameter
	-so commands have been inherited from genereted code in order to call the dialog box
	- the semantic editpolicies of parameter contained have changed in order to call specific commands
	Done in the revision (2974)
Comment 14 Patrick Tessier CLA 2010-10-26 10:34:41 EDT
rework the template binding
	-ensure that source and the target are good
	-make it impossible to reconnect
	-the label of parameter substitution can be edited in multi-line
	-the drop can be done
	
Done in the revision 3019
Comment 15 Patrick Tessier CLA 2010-10-27 06:58:06 EDT
add listeners to obtain a good refresh for the template binding label
Done in the rev 3031
Comment 16 Patrick Tessier CLA 2011-03-02 09:38:07 EST
problem of creation fixed in the revision 4109