Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320903 - [Model Explorer] The content of the "Create new Child" contextual menu should be customizable
Summary: [Model Explorer] The content of the "Create new Child" contextual menu should...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 09:54 EDT by Yann Tanguy CLA
Modified: 2011-02-08 11:28 EST (History)
0 users

See Also:


Attachments
mylyn/context/zip (1.26 KB, application/octet-stream)
2010-08-24 05:02 EDT, Patrick Tessier CLA
no flags Details
mylyn/context/zip (102.08 KB, application/octet-stream)
2010-08-25 09:24 EDT, Patrick Tessier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2010-07-26 09:54:17 EDT
The contextual menu(s) used to create new child in the model explorer should be exhaustive (generated), but customizable by user so that its content can be easily restricted to a user defined subset.

This also applies to SysML or other language related "Create child" menu(s).
Comment 1 Patrick Tessier CLA 2010-08-24 05:02:08 EDT
Created attachment 177289 [details]
mylyn/context/zip

impacted classes
Comment 2 Patrick Tessier CLA 2010-08-24 05:20:34 EDT
add classes to the papyrus framework in order to allow this functionality
Comment 3 Yann Tanguy CLA 2010-08-25 04:20:07 EDT
Dependency added in r2594.
Comment 4 Patrick Tessier CLA 2010-08-25 09:24:08 EDT
Created attachment 177414 [details]
mylyn/context/zip

impacted classes
Comment 5 Patrick Tessier CLA 2010-08-25 09:26:40 EDT
Add a example in the repository test that demonstrates the use of filters on the service creation
Comment 6 Patrick Tessier CLA 2010-08-25 10:26:45 EDT
move the example plugin into the example directory. it has been akso renamed into org.eclipse.papyrus.example.restrictedservicecreation
Comment 7 Patrick Tessier CLA 2011-02-08 11:28:46 EST
now the system of creation use the service.types