blob: 44e528dd3ccbd7fd06acb6dc0b049deb73686184 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.papyrus.infra.viewpoints.policy.custom">
<contribution
file="src/main/resources/viewpoint/architectureConceptsDiagram.configuration"
original="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration">
</contribution>
</extension>
<extension
point="org.eclipse.papyrus.infra.core.modelListener">
<listener
name="ESFModelListener"
realization="org.polarsys.esf.core.diagram.esfarchitectureconcepts.listener.ESFModelListener">
</listener>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.polarsys.esf.core.diagram.esfarchitectureconcepts.handler.CreateESFArchitectureConceptsDiagramHandler"
commandId="org.polarsys.esf.core.diagram.esfarchitectureconcepts.creationCommand">
<activeWhen>
<with
variable="selection">
<test
property="org.polarsys.esf.core.diagram.esfarchitectureconcepts.propertyTester.isSBlockOrSPart"
value="true">
</test>
</with>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
description="Create ESF Architecture Concepts Diagram"
id="org.polarsys.esf.core.diagram.esfarchitectureconcepts.creationCommand"
name="Create ESF Architecture Concepts Diagram">
</command>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.polarsys.esf.core.diagram.esfarchitectureconcepts.creationCommand"
icon="src/main/resources/icons/icon_diagram_ architectureconcepts.png">
</image>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContextMenu?after=filtersMenu">
<command
commandId="org.polarsys.esf.core.diagram.esfarchitectureconcepts.creationCommand"
icon="src/main/resources/icons/icon_diagram_ architectureconcepts.png"
label="Create ESF Architecture Concepts Diagram"
style="push">
<visibleWhen
checkEnabled="true">
<and>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
<with
variable="selection">
<test
property="org.polarsys.esf.core.diagram.esfarchitectureconcepts.propertyTester.isSBlockOrSPart"
value="true">
</test>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.polarsys.esf.core.diagram.esfarchitectureconcepts.tester.ESFArchitectureConceptsDiagramTester"
id="org.polarsys.esf.core.diagram.esfarchitectureconcepts.propertyTester"
namespace="org.polarsys.esf.core.diagram.esfarchitectureconcepts.propertyTester"
properties="isSBlockOrSPart"
type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
</extension>
<extension
point="org.eclipse.papyrus.infra.elementtypesconfigurations.elementTypeSetConfiguration">
<elementTypeSet
id="org.polarsys.esf.ESFArchitectureConcepts.elementTypeSet"
path="src/main/resources/elementtypes/esfarchitectureconcepts.elementtypesconfigurations">
</elementTypeSet>
</extension>
<extension
point="org.eclipse.papyrus.infra.elementtypesconfigurations.elementTypeSetConfiguration">
<elementTypeSet
id="org.polarsys.esf.ESFArchitectureConcepts.elementTypeSet.composite"
path="src/main/resources/elementtypes/esfarchitectureconceptsCompositeDiagram.elementtypesconfigurations">
</elementTypeSet>
</extension>
<extension
point="org.eclipse.papyrus.infra.newchild">
<menuCreationModel
model="src/main/resources/newchild/ESFArchitectureConcepts.creationmenumodel">
</menuCreationModel>
</extension>
</plugin>