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

Bug 343171

Summary: [M2x IDE Integration] The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for model to model transformation.
Product: [Automotive] Sphinx Reporter: Idrissa Dieng <idydieng>
Component: CoreAssignee: Stephan Eberle <stephaneberle9>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ali.akar82, idydieng, yannick7777
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for model to model transformation.
none
The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for model to model transformation.
none
The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for model to model transformation.
none
provides M2M functionnalities
none
provides M2M functionnalities
none
provides M2M functionnalities idydieng: iplog+

Description Idrissa Dieng CLA 2011-04-18 12:21:13 EDT
Build Identifier: 20110218-0911

The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for model to model transformation.

This plug-in should include therefore:
- extension group (org.eclipse.sphinx.xtendxpand.ui.groups.ExtensionGroup) that allow selecting the Xtend file & the extension to be used;

- org.eclipse.sphinx.xtendxpand.ui.wizards.pages.XtendConfigurationPage that allow creating extension group.

- org.eclipse.sphinx.xtendxpand.ui.wizards.pages.OutletsConfigurationPage for configuring the outlets to be used for Xpand.

- org.eclipse.sphinx.xtendxpand.ui.jobs.ConvertToXtendXpandEnableAutosarProjectJob allowing converting a project toward an Autosar project with Xtend/Xpand nature...

- org.eclipse.sphinx.xtendxpand.ui.actions.BasicM2MActions that allows running xtend and check jobs...

- Rename org.eclipse.sphinx.emf.mwe.resourcesIScopingResourceLoader to Rename org.eclipse.sphinx.emf.mwe.resourcesWorkspaceResourceLoader. We should rename also all getter and setter method used in actions (e.g., M2MActions, wizards, jobs and so on ....

Reproducible: Always
Comment 1 Stephan Eberle CLA 2011-04-19 04:35:31 EDT
(In reply to comment #0)
Some minor change requests wrt  descriptions:

> The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for
> model to model transformation.
> 
> This plug-in should include therefore:
> - extension group (org.eclipse.sphinx.xtendxpand.ui.groups.ExtensionGroup) that
> allow selecting the Xtend file & the extension to be used;

... & the function to be used.

> - org.eclipse.sphinx.xtendxpand.ui.wizards.pages.OutletsConfigurationPage for
> configuring the outlets to be used for Xpand.

No, this makes sense for M2T only but not for M2M. But we should provide a CheckConfigurationPage which provides a check groups enabling users to select Check files that should be applied before running the model transformation.

> org.eclipse.sphinx.xtendxpand.ui.jobs.ConvertToXtendXpandEnableAutosarProjectJob
> allowing converting a project toward an Autosar project with Xtend/Xpand
> nature...

Never say AUTOSAR in Sphinx. All AUTOSAR-specific stuff must exclusively remain in Artop.

ConvertToXtendXpandEnableAutosarProjectJob => ConvertToXtendXpandEnabledProjectJob
(attention includes Enable => Enabled!)

... allowing to convert a project toward Java+Plug-in project with Xtend/Xpand nature


> - Rename org.eclipse.sphinx.emf.mwe.resourcesIScopingResourceLoader to Rename
> org.eclipse.sphinx.emf.mwe.resourcesWorkspaceResourceLoader.

org.eclipse.sphinx.emf.mwe.resources.IWorkspaceResourceLoader

Ok for all other change proposals.
Comment 2 Idrissa Dieng CLA 2011-04-19 05:00:09 EDT
(In reply to comment #1)
> (In reply to comment #0)
> Some minor change requests wrt  descriptions:
> 
> > The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for
> > model to model transformation.
> > 
> > This plug-in should include therefore:
> > - extension group (org.eclipse.sphinx.xtendxpand.ui.groups.ExtensionGroup) that
> > allow selecting the Xtend file & the extension to be used;
> 
> ... & the function to be used.

OK 

> 
> > - org.eclipse.sphinx.xtendxpand.ui.wizards.pages.OutletsConfigurationPage for
> > configuring the outlets to be used for Xpand.
> 
> No, this makes sense for M2T only but not for M2M. But we should provide a
> CheckConfigurationPage which provides a check groups enabling users to select
> Check files that should be applied before running the model transformation.

YES. 
CheckConfigurationPage provides a check groups enabling users to select
 Check files that should be applied before running the model transformation (like for M2T).

OutletsConfigurationPage is annother page that make sense only for M2T and provides a wizard page that allow configuring outlets like in OutletsPreferencePage.

> 
> > org.eclipse.sphinx.xtendxpand.ui.jobs.ConvertToXtendXpandEnableAutosarProjectJob
> > allowing converting a project toward an Autosar project with Xtend/Xpand
> > nature...
> 
> Never say AUTOSAR in Sphinx. All AUTOSAR-specific stuff must exclusively remain
> in Artop.
> 
> ConvertToXtendXpandEnableAutosarProjectJob =>
> ConvertToXtendXpandEnabledProjectJob
> (attention includes Enable => Enabled!)
> 
> ... allowing to convert a project toward Java+Plug-in project with Xtend/Xpand
> nature

OK

> 
> 
> > - Rename org.eclipse.sphinx.emf.mwe.resourcesIScopingResourceLoader to Rename
> > org.eclipse.sphinx.emf.mwe.resourcesWorkspaceResourceLoader.
> 
> org.eclipse.sphinx.emf.mwe.resources.IWorkspaceResourceLoader

OK
> 
> Ok for all other change proposals.

See proposed patch.
Comment 3 Idrissa Dieng CLA 2011-04-19 05:01:29 EDT
Created attachment 193557 [details]
The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for model to model transformation.
Comment 4 Idrissa Dieng CLA 2011-04-19 05:03:55 EDT
Created attachment 193558 [details]
The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for model to model transformation.
Comment 5 Idrissa Dieng CLA 2011-04-19 10:50:28 EDT
Created attachment 193587 [details]
The org.eclipse.sphinx.xtendxpand.ui plug-in should provide wizards & pages for model to model transformation.
Comment 6 Idrissa Dieng CLA 2011-04-19 12:22:14 EDT
Created attachment 193598 [details]
provides M2M functionnalities
Comment 7 Idrissa Dieng CLA 2011-04-20 04:33:12 EDT
Created attachment 193667 [details]
provides M2M functionnalities
Comment 8 Idrissa Dieng CLA 2011-04-20 05:56:40 EDT
Created attachment 193675 [details]
provides M2M functionnalities
Comment 9 Stephan Eberle CLA 2011-04-20 06:32:19 EDT
Fixed by applying proposed patch with some minor improvements.
Comment 10 Balazs Grill CLA 2021-07-14 02:17:22 EDT
Mass-closing Resolved tickets