Bug 490373 - Decouple Papyrus Models from UI components
Summary: Decouple Papyrus Models from UI components
Status: UNCONFIRMED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.1.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-24 10:39 EDT by Thorsten Schlathölter CLA
Modified: 2016-03-25 04:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Schlathölter CLA 2016-03-24 10:39:19 EDT
Some of the papyrus models contain dependencies to ui bundles like org.eclipse.ui and org.eclipse.jface. This makes it impossible to use these models in an environment where ui bundles are of no need. A proper separation of model and view would be preferable.

One use case is the pre-configuration of a CDO repository with all required papyrus models. CDO allows the installation of packages upon repository configuration therefore the required model bundles need to be present. In a pure server installation environment these papyrus bundles introduce ui dependencies.

Adding a simple diagram to a CDO repository adds the following packages which have ui dependencies:

org.eclipse.papyrus.infra.viewpoints.configuration
org.eclipse.papyrus.infra.viewpoints.policy
org.eclipse.papyrus.infra.constraints

Others are likely to exist.
Comment 1 Christian Damus CLA 2016-03-24 11:17:15 EDT
This was one of the goals of the big API refactorings in the Neon M5 and M6 milestones, to separate UI dependencies out of "core" plug-ins, especially the models.

Perhaps you could check whether the Neon M6 milestone built yesterday meets your needs?

These refactorings would obviously not be done in the 1.1.x maintenance branch.
Comment 2 Camille Letavernier CLA 2016-03-25 04:54:04 EDT
> Perhaps you could check whether the Neon M6 milestone built yesterday meets your needs?

M6 will officially be released on next Tuesday (03/29), so you might want to wait for a few days, or use a specific update site (Nightly, or http://download.eclipse.org/modeling/mdt/papyrus/updates/milestones/2.0 )