Difference between revisions of "Tutorial: Project Development"

From Developer Documents
Jump to navigation Jump to search
m (Created page with "__NOTOC__ In this tutorial we define a new project type to Simantics Platform. ==Step 1: Create Project plugin== In this plugin we have all the code of our product. *'' '''Fil...")
 
m
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
In this tutorial we define a new project type to Simantics Platform.  
+
Our customer wants a tool to aid in management of Motion Picture Production. In this tutorial we are going to create a new project type to Simantics platform. This includes a ui plugin, perspective and a feature.
  
==Step 1: Create Project plugin==
+
==Step 1: Create UI Plugin==
In this plugin we have all the code of our product.
+
Create a the UI plugin. Open wizard.
  
 
*'' '''File''' >> '''New''' >> '''Plug-in Development''' >> '''Plug-in Project''' >> '''Next >'''
 
*'' '''File''' >> '''New''' >> '''Plug-in Development''' >> '''Plug-in Project''' >> '''Next >'''
  
Project name for feature is ''com.acme.movie''. '''Next >'''.  
+
Project name for feature is ''com.acme.movie.ui''. '''Next >'''.  
 
You do have a use for activator, so keep that checked. Also you will make UI contributions, but not a rick client application. '''Finish'''
 
You do have a use for activator, so keep that checked. Also you will make UI contributions, but not a rick client application. '''Finish'''
 +
 +
Add perspective
  
 
==Step 2: Create Feature==
 
==Step 2: Create Feature==
Feature is a set of plug-ins grouped into a single manageable unit.  
+
Feature is a set of plug-ins grouped into a single manageable unit. Open wizard.
  
 
*'' '''File''' >> '''New''' >> '''Plug-in Development''' >> '''Feature Project''' >> '''Next >'''
 
*'' '''File''' >> '''New''' >> '''Plug-in Development''' >> '''Feature Project''' >> '''Next >'''
  
 
Project name for feature is ''com.acme.movie.feature''. '''Next >'''.  
 
Project name for feature is ''com.acme.movie.feature''. '''Next >'''.  
The feature includes both ''com.acme.*'' plugins (.movie.ontology, .movie), check in. '''Finish'''
+
The feature includes both ''com.acme.*'' plugins (.ontology, .ui), check in. '''Finish'''
 
 
==Step 3: Setup Perspective==
 
  
==Step 4: Project Feature Extension==
+
==Step 3: Run in Simantics==
 +
Now its time to give it a go and run the feature in Simantics.

Revision as of 12:09, 15 October 2010

Our customer wants a tool to aid in management of Motion Picture Production. In this tutorial we are going to create a new project type to Simantics platform. This includes a ui plugin, perspective and a feature.

Step 1: Create UI Plugin

Create a the UI plugin. Open wizard.

  • File >> New >> Plug-in Development >> Plug-in Project >> Next >

Project name for feature is com.acme.movie.ui. Next >. You do have a use for activator, so keep that checked. Also you will make UI contributions, but not a rick client application. Finish

Add perspective

Step 2: Create Feature

Feature is a set of plug-ins grouped into a single manageable unit. Open wizard.

  • File >> New >> Plug-in Development >> Feature Project >> Next >

Project name for feature is com.acme.movie.feature. Next >. The feature includes both com.acme.* plugins (.ontology, .ui), check in. Finish

Step 3: Run in Simantics

Now its time to give it a go and run the feature in Simantics.