diff options
author | Maged Elaasar | 2017-02-21 08:19:48 +0000 |
---|---|---|
committer | Florian Noyrit | 2017-03-13 16:19:06 +0000 |
commit | 7a1e61e4203fcf468a2635b80dd94182a95b588b (patch) | |
tree | 804451f2f230c2cb1a4b07815f4ccd2dc1edcf52 /extraplugins/soaml | |
parent | cb10068854ce727bc5004e997663ae0a3ae2ffd6 (diff) | |
download | org.eclipse.papyrus-7a1e61e4203fcf468a2635b80dd94182a95b588b.tar.gz org.eclipse.papyrus-7a1e61e4203fcf468a2635b80dd94182a95b588b.tar.xz org.eclipse.papyrus-7a1e61e4203fcf468a2635b80dd94182a95b588b.zip |
Bug 510451 - Reimplement the ISO42010 specification to properly support
architectural contexts and viewpoints
Replaced the viewpoint configuration framework by a new architectural
context/viewpoint framework. This involves defining architecture
contexts and viewpoints in models and contributing them via extension
points or via the preferences. Models reference an architecture context
and a set of viewpoints at creation time, but can be switched later.
Architecture contexts double as client contexts for which
elementtypesetconfigurations can be registered. They also define
viewpoints, which reference representation kinds (diagrams or tables).
This contribution defines three architecture contexts: UML, Profile, and
SysML corresponding to what Papyrus used to call diagram categories.
Change-Id: I203b58d9e97afdffc45c2674683c0281eb8a7c5b
Signed-off-by: Maged Elaasar <melaasar@gmail.com>
Diffstat (limited to 'extraplugins/soaml')
3 files changed, 13 insertions, 13 deletions
diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/.classpath b/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/.classpath index 6e16b23d695..098194ca4b7 100644 --- a/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/.classpath +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/.classpath @@ -1,7 +1,7 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/src/org/eclipse/papyrus/soaml/diagram/ui/NewSoamlModelWizard.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/src/org/eclipse/papyrus/soaml/diagram/ui/NewSoamlModelWizard.java index 3cd36246781..9138a141b77 100644 --- a/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/src/org/eclipse/papyrus/soaml/diagram/ui/NewSoamlModelWizard.java +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/src/org/eclipse/papyrus/soaml/diagram/ui/NewSoamlModelWizard.java @@ -14,8 +14,8 @@ package org.eclipse.papyrus.soaml.diagram.ui; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.papyrus.soaml.diagram.common.commands.CreateSoamlModelCommand; -import org.eclipse.papyrus.uml.diagram.wizards.pages.SelectDiagramCategoryPage; import org.eclipse.papyrus.uml.diagram.wizards.wizards.CreateModelWizard; +import org.eclipse.papyrus.uml.diagram.wizards.pages.SelectArchitectureContextPage; import org.eclipse.ui.IWorkbench; public class NewSoamlModelWizard extends CreateModelWizard { @@ -48,7 +48,7 @@ public class NewSoamlModelWizard extends CreateModelWizard { } @Override - protected String[] getDiagramCategoryIds() { + protected String[] getSelectedContexts() { return new String[]{ CreateSoamlModelCommand.COMMAND_ID }; } @@ -56,7 +56,7 @@ public class NewSoamlModelWizard extends CreateModelWizard { * {@inheritDoc} */ @Override - protected SelectDiagramCategoryPage createSelectDiagramCategoryPage() { + protected SelectArchitectureContextPage createSelectArchitectureContextPage() { // here SoaML is the only available category return null; } diff --git a/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/src/org/eclipse/papyrus/soaml/diagram/ui/NewSoamlProjectWizard.java b/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/src/org/eclipse/papyrus/soaml/diagram/ui/NewSoamlProjectWizard.java index 8b1d904046f..777dd0902bd 100644 --- a/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/src/org/eclipse/papyrus/soaml/diagram/ui/NewSoamlProjectWizard.java +++ b/extraplugins/soaml/org.eclipse.papyrus.soaml.diagram.ui/src/org/eclipse/papyrus/soaml/diagram/ui/NewSoamlProjectWizard.java @@ -13,8 +13,8 @@ package org.eclipse.papyrus.soaml.diagram.ui; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.papyrus.soaml.diagram.common.commands.CreateSoamlModelCommand; -import org.eclipse.papyrus.uml.diagram.wizards.pages.SelectDiagramCategoryPage; import org.eclipse.papyrus.uml.diagram.wizards.wizards.NewPapyrusProjectWizard; +import org.eclipse.papyrus.uml.diagram.wizards.pages.SelectArchitectureContextPage; import org.eclipse.ui.IWorkbench; import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; @@ -47,7 +47,7 @@ public class NewSoamlProjectWizard extends NewPapyrusProjectWizard { * {@inheritDoc} */ @Override - protected SelectDiagramCategoryPage createSelectDiagramCategoryPage() { + protected SelectArchitectureContextPage createSelectArchitectureContextPage() { return null; } @@ -63,7 +63,7 @@ public class NewSoamlProjectWizard extends NewPapyrusProjectWizard { * {@inheritDoc} */ @Override - protected String[] getDiagramCategoryIds() { + protected String[] getSelectedContexts() { return new String[]{ CreateSoamlModelCommand.COMMAND_ID }; } |