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

Bug 345237

Summary: [Enhancement][Tooling] Papyrus should provide a tool to generate files for the stereotypes edition in the table.
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cletavernier
Version: 0.8.0   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 334240    

Description Vincent Lorenzo CLA 2011-05-10 05:10:24 EDT
To edit stereotyped element in a table, we use Queries  and Facet Columns.
From the UML Profile, we need to create : 
	- a file querySet, 
			- with the queries to get the value of each attribute
			- with the queries to set the value of non-derived attribute
	
	- a file facetSet, 
			- with the facets for each element
	
	- The java class implementing the queries
	
1/ The tool will take a uml profile to create these files. 
2/ It will create 2 packages for queries : xxx.getter and xxx.setter (or something like that).
3/ The queries will be named using the name the stereotype and the name of the feature : for example : 
	Set/Get + name of the stereotype + name of the feature + Query
4/ The created file for facetSet and QuerySetwill be created in a specific folder (Resources for example)
5/ The QuerySet and the FacetSet will be registered in the file plugin.xml with the correct extension point

We can use the project oep.sysml.facets to get an example of the file which need to be created.
Comment 1 Vincent Lorenzo CLA 2011-07-11 07:24:41 EDT
First commit done in R5013 in trunk/sandbox
Comment 2 Vincent Lorenzo CLA 2013-03-13 10:30:53 EDT
This bug can be marked as closed fixed.