Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345237 - [Enhancement][Tooling] Papyrus should provide a tool to generate files for the stereotypes edition in the table.
Summary: [Enhancement][Tooling] Papyrus should provide a tool to generate files for th...
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 334240
  Show dependency tree
 
Reported: 2011-05-10 05:10 EDT by Vincent Lorenzo CLA
Modified: 2013-03-13 10:30 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.