Bug 495938

Summary: Propose a completion entry to create a new Java service
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 CC: julien.dupont
Version: unspecifiedKeywords: triaged
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Pierre-Charles David CLA 2016-06-11 16:06:56 EDT
In the completion entries for interpreted expressions in the VSM editor, it would be nice to have a choice like "New Java service..." which would automate the creation of a Java service for the current context (i.e. the infered type of the current "self" at the point of completion.

It could open a wizard to ask for a service name (and signature), and a target service class (existing in the in the current VSP or to be created), and then directly open the JDT editor on an auto-generated template for the service method.