Bug 495135 - New VSPs should have a pre-registered service class
Summary: New VSPs should have a pre-registered service class
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.1.0   Edit
Assignee: Jessy Mallet CLA
QA Contact: Julien Dupont CLA
URL:
Whiteboard: backport
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-06-01 07:11 EDT by Pierre-Charles David CLA
Modified: 2016-10-18 11:07 EDT (History)
2 users (show)

See Also:


Attachments

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