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

Bug 495135

Summary: New VSPs should have a pre-registered service class
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: CoreAssignee: Jessy Mallet <jessy.mallet>
Status: CLOSED FIXED QA Contact: Julien Dupont <julien.dupont>
Severity: enhancement    
Priority: P3 CC: julien.dupont, laurent.redor
Version: 3.1.0Keywords: triaged
Target Milestone: 4.1.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/75341
https://git.eclipse.org/r/75410
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=bb89a55f5199325ca3525b3082d975d8db6983ab
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1f66b3c8dba6d35a10e9e015f913fdbb329aabd9
Whiteboard: backport

Description Pierre-Charles David CLA 2016-06-01 07:11:04 EDT
To make it easier and more discoverable for specifiers to use Java services in their VSMs, one low-cost improvement would be for the VSP creation wizard to autmatically create an empty service class, and to register it in the created VSM.

The service class would be created alongside the Activator that we already create, and it could have an already filled example service with a reference to more documentation. Something like:

  /**
   * See http://... for documentation on how to write service methods.
   */
  public EObject myService(EObject self, String arg) {
     // TODO Auto-generated code
     return self;
  }
Comment 1 Eclipse Genie CLA 2016-06-15 12:08:02 EDT
New Gerrit change created: https://git.eclipse.org/r/75341
Comment 2 Eclipse Genie CLA 2016-06-16 11:18:22 EDT
New Gerrit change created: https://git.eclipse.org/r/75410
Comment 5 Pierre-Charles David CLA 2016-10-18 11:07:54 EDT
Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details.