blob: 3da427bc678763e9982ee72ea853988a5032e76f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated model.profile -->
<package
uri="http://org.eclipse.papyrus.moka.ssp.profile/SSPProfile"
class="org.eclipse.papyrus.moka.ssp.profile.SSPProfilePackage"
genModel="model/model.profile.genmodel"/>
</extension>
<extension
point="org.eclipse.uml2.uml.generated_package">
<profile
location="platform:/plugin/org.eclipse.papyrus.moka.ssp.profile/model/model.profile.uml#_T9IHYB-HEeegP6aMHpCV8A"
uri="http://org.eclipse.papyrus.moka.ssp.profile/SSPProfile">
</profile>
</extension>
<extension
point="org.eclipse.papyrus.uml.extensionpoints.UMLProfile">
<profile
name="SSPProfile"
path="platform:/plugin/org.eclipse.papyrus.moka.ssp.profile/model/model.profile.uml">
</profile>
<profile
description="Profile complementary to SSP profile allowing to deal with OpenModelica OMSimulator extensions"
name="OMSimulatorProfile"
path="pathmap://PAPYRUS_SSP_PROFILE/OMSimulator.profile.uml">
</profile>
</extension>
<extension
point="org.eclipse.papyrus.infra.gmfdiag.common.paletteDefinition">
<paletteDefinition
ID="org.eclipse.papyrus.moka.ssp.profile.SSDPalette"
class="org.eclipse.papyrus.infra.gmfdiag.common.service.palette.ExtendedPluginPaletteProvider"
name="SSD Palette"
path="model/ssd_component_diagram_palette.paletteconfiguration">
<Priority
name="Medium">
</Priority>
<editor
class="org.eclipse.papyrus.uml.diagram.component.UmlComponentDiagramForMultiEditor(org.eclipse.papyrus.uml.diagram.component)">
</editor>
</paletteDefinition>
</extension>
<extension
point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration">
<elementTypeSet
clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext"
path="model/ssd_component_diagram_palette_UI.elementtypesconfigurations">
</elementTypeSet>
</extension>
<extension
point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration">
<elementTypeSet
clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext"
path="model/ssd_component_diagram_palette_Semantic.elementtypesconfigurations">
</elementTypeSet>
</extension>
<extension point="org.eclipse.emf.ecore.factory_override">
<factory
class="org.eclipse.papyrus.moka.ssp.profile.custom.imp.CustomSSPProfileFactoryImpl"
uri="http://org.eclipse.papyrus.moka.ssp.profile/SSPProfile">
</factory>
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated OMSimulator.profile -->
<package
uri="http://www.eclipse.org/papyrus/OMSimulatorProfile/1.0.0"
class="org.eclipse.papyrus.moka.ssp.omsimulatorprofile.OMSimulatorPackage"
genModel="model/OMSimulator.profile.genmodel"/>
</extension>
<extension
point="org.eclipse.uml2.uml.generated_package">
<profile
location="pathmap://PAPYRUS_SSP_PROFILE/OMSimulator.profile.uml#_zIAAYLgtEeizUOX0GlzCzg"
uri="http://www.eclipse.org/papyrus/OMSimulatorProfile/1.0.0">
</profile>
</extension>
<extension
point="org.eclipse.emf.ecore.uri_mapping">
<mapping
source="pathmap://PAPYRUS_SSP_PROFILE/"
target="platform:/plugin/org.eclipse.papyrus.moka.ssp.profile/model/">
</mapping>
</extension>
<extension
point="org.eclipse.papyrus.infra.gmfdiag.css.theme">
<themeDefinition
id="org.eclipse.papyrus.moka.ssp2uml.ui.ssp_theme"
label="SSP theme">
</themeDefinition>
<themeContribution
id="org.eclipse.papyrus.moka.ssp2uml.ui.ssp_theme">
<stylesheet
stylesheetPath="css/ssptheme.css">
</stylesheet>
</themeContribution>
</extension>
<!--extension
point="org.eclipse.papyrus.infra.architecture.models">
<model
path="model/sysml14.architecture">
</model>
</extension-->
<extension
point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration">
<elementTypeSet
clientContextID="org.eclipse.papyrus.sysml.architecture.SysML14"
path="model/OMSimulator.elementtypesconfigurations">
</elementTypeSet>
</extension>
<extension
point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration">
<elementTypeSet
clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext"
path="model/OMSimulator.elementtypesconfigurations">
</elementTypeSet>
</extension>
<extension
point="org.eclipse.emf.validation.constraintProviders">
<category
id="org.eclipse.papyrus.moka.ssp.profile.validation.category"
name="Moka FMI/SSP Profile validation">
</category>
<constraintProvider
cache="true"
mode="Live">
<package
namespaceUri="http://www.eclipse.org/uml2/5.0.0/UML">
</package>
<constraints
categories="org.eclipse.papyrus.moka.ssp.profile.validation.category">
<constraint
class="org.eclipse.papyrus.moka.ssp.omsimulatorprofile.validation.ConnectorConstraint"
id="org.eclipse.papyrus.moka.fmi.profile.validation.constraint.connector_validation.live"
lang="Java"
mode="Live"
name="FMI connector live validation"
severity="ERROR"
statusCode="1">
<message>
[FMI] {0}
</message>
<description>
FMI connectors should match types and direction
</description>
<target
class="Connector">
</target>
</constraint>
</constraints>
</constraintProvider>
<constraintProvider
cache="true"
mode="Batch">
<package
namespaceUri="http://www.eclipse.org/uml2/5.0.0/UML">
</package>
<constraints
categories="org.eclipse.papyrus.moka.ssp.profile.validation.category">
<constraint
class="org.eclipse.papyrus.moka.ssp.omsimulatorprofile.validation.ConnectorConstraint"
id="org.eclipse.papyrus.moka.fmi.profile.validation.constraint.connector_validation.batch"
lang="Java"
mode="Batch"
name="FMI connector batch validation"
severity="ERROR"
statusCode="1">
<message>
[FMI] {0}
</message>
<description>
FMI connectors should match types and direction
</description>
<target
class="Connector">
</target>
</constraint>
</constraints>
</constraintProvider>
</extension>
<extension
point="org.eclipse.emf.validation.constraintBindings">
<clientContext
id="org.eclipse.papyrus.moka.ssp.profile.validation.context">
<selector
class="org.eclipse.papyrus.moka.ssp.omsimulatorprofile.validation.ClientSelector">
</selector>
</clientContext>
<binding
context="org.eclipse.papyrus.moka.ssp.profile.validation.context">
<category
ref="org.eclipse.papyrus.moka.ssp.profile.validation.category">
</category>
</binding>
</extension>
</plugin>