Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: adeb2fbff38318e9350fb52aa8c562ec6c203bf9 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                                     
                                                                                                                     

                                                                                                
                                                                                                            
                                                                                                         














































                                                                                                  




                                                                                          
           




































































                                                                                                          






                                                                                                  























                                                                                                                    













                                                                                     
                    






                                                                                     






                                                                                      
















































































                                                                                                       
            





                                                                            















                                                                                                        






                                                                                                       








                                                                                                 





                                                                                                 





































































































                                                                                                                    






                                                                                               








                                                                                            
 














                                                                                                 


                                                      

                                                             
                                          






















                                                                                                                 






                                                                                                           
   










                                                                                     












                                                                                                       
 
         
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>

<plugin>
   <extension-point id="nestedEditor" name="NestedEditor" schema="schema/nestedEditor.exsd"/>
   <extension-point id="initializeView" name="initializeView" schema="schema/initializeView.exsd"/>
   <extension-point id="shapeProvider" name="ShapeProvider" schema="schema/shapeProvider.exsd"/>
   <extension-point id="notationTypesMapping" name="notationTypesMapping" schema="schema/notationTypesMapping.exsd"/>
   <extension-point id="svgPostProcessors" name="svgPostProcessors" schema="schema/svgPostProcessors.exsd"/>
   <extension-point id="pasteCommandProvider" name="pasteCommandProvider" schema="schema/pasteCommandProvider.exsd"/>
   <extension-point id="pasteStrategy" name="pasteStrategy" schema="schema/pasteStrategy.exsd"/>
   <extension-point id="copyStrategy" name="copyStrategy" schema="schema/copyStrategy.exsd"/>
   <extension-point id="diagramReconciler" name="diagramReconciler" schema="schema/diagramReconciler.exsd"/>
   <extension-point id="diagramExpansion" name="diagramExpansion" schema="schema/DiagramExpansion.exsd"/>

<extension
      point="org.eclipse.ui.handlers">
   <handler
         class="org.eclipse.papyrus.infra.gmfdiag.common.handler.RefreshHandler"
         commandId="org.eclipse.ui.file.refresh">
      <activeWhen>
         <with
               variable="activePartId">
            <equals
                  value="org.eclipse.papyrus.infra.core.papyrusEditor">
            </equals>
         </with>
      </activeWhen>
   </handler>
</extension>
<extension
      point="org.eclipse.ui.menus">
   <menuContribution
         allPopups="false"
         locationURI="toolbar:org.eclipes.papyrus.menu.toolbar">
      <command
            commandId="org.eclipse.ui.file.refresh"
            icon="icons/refresh.gif"
            label="Refresh"
            style="push"
            tooltip="Refresh the current diagram">
         <visibleWhen
               checkEnabled="false">
            <with
                  variable="activeEditorId">
               <equals
                     value="org.eclipse.papyrus.infra.core.papyrusEditor">
               </equals>
            </with>
         </visibleWhen>
      </command>
   </menuContribution>
</extension>
<extension
      point="org.eclipse.ui.preferencePages">
   <page
         category="org.eclipse.papyrus.infra.core.sasheditor.preferences.generalcategory"
         class="org.eclipse.papyrus.infra.gmfdiag.common.preferences.ConnectionToolPreferencePage"
         id="org.eclipse.papyrus.infra.gmfdiag.common.connectionTools"
         name="Connection Tools">
   </page>
   <page
         category="org.eclipse.papyrus.infra.core.sasheditor.preferences.generalcategory"
         class="org.eclipse.papyrus.infra.gmfdiag.common.preferences.PastePreferencesPage"
         id="org.eclipse.papyrus.infra.gmfdiag.paste.preferences"
         name="Paste">
   </page> 
</extension>
<extension
      point="org.eclipse.core.runtime.preferences">
   <initializer
         class="org.eclipse.papyrus.infra.gmfdiag.common.preferences.ConnectionToolPreferenceInitializer">
   </initializer>
</extension>
   <extension
         point="org.eclipse.papyrus.infra.core.model">
      <model
            classname="org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel"
            description="Model for notation"
            fileExtension="notation">
      </model>
  </extension>


   <extension
         point="org.eclipse.emf.ecore.extension_parser">
      <parser
            class="org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory"
            type="notation">
      </parser>
   </extension>
<extension
         point="org.eclipse.papyrus.infra.core.service">
      <serviceFactory
            classname="org.eclipse.papyrus.infra.gmfdiag.common.undocontext.UndoContextServiceFactory"
            description="The shared IUndoContext used to tag command in the CommandStack"
            id="org.eclipse.core.commands.operations.IUndoContext"
            priority="1"
            startKind="lazy">
         <dependsOn
               serviceKeyRef="org.eclipse.emf.transaction.TransactionalEditingDomain">
         </dependsOn>
      </serviceFactory>
      <service
            classname="org.eclipse.papyrus.infra.gmfdiag.common.DefaultGraphicalEditorSupport"
            description="The default diagram editor support implementation."
            id="org.eclipse.papyrus.infra.gmfdiag.common.IGraphicalEditorSupport"
            priority="1"
            startKind="lazy">
      </service>
   </extension>
<extension
      point="org.eclipse.papyrus.infra.services.labelprovider.labelProvider">
   <labelProvider
         priority="40"
         provider="org.eclipse.papyrus.infra.gmfdiag.common.providers.NotationFilteredLabelProvider">
   </labelProvider>
</extension>
<extension
      point="org.eclipse.gmf.runtime.diagram.ui.decoratorProviders">
   <decoratorProvider
         class="org.eclipse.papyrus.infra.gmfdiag.common.providers.ShapeDecoratorProvider">
      <Priority
            name="Lowest">
      </Priority>
   </decoratorProvider>
</extension>
<extension
      point="org.eclipse.core.runtime.adapters">
   <factory
         adaptableType="org.eclipse.gmf.runtime.notation.Diagram"
         class="org.eclipse.papyrus.infra.gmfdiag.common.adapter.DiagramAdapterFactory">
      <adapter
            type="org.eclipse.papyrus.infra.core.sasheditor.di.contentprovider.IOpenable">
      </adapter>
   </factory>
   <factory
         adaptableType="org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor$DiagramOutlinePage"
         class="org.eclipse.papyrus.infra.gmfdiag.common.adapter.DiagramOutlineAdapterFactory">
      <adapter
            type="org.eclipse.papyrus.infra.core.editor.reload.IReloadContextProvider">
      </adapter>
   </factory>
</extension>

<!-- ElementType bindings for diagram duplication with paste command -->
 <extension
         point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
      <metamodel
            nsURI="http://www.eclipse.org/emf/2002/Ecore">
         <adviceBinding
               class="org.eclipse.papyrus.infra.gmfdiag.common.advice.GMFDiagramDuplicateEditHelperAdvice"
               id="org.eclipse.papyrus.infra.gmfdiag.common.advice.GMFDiagramDuplicateEditHelperAdvice"
               inheritance="none"
               typeId="*">
         </adviceBinding>
      </metamodel>
   </extension>
   
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">

	<!-- Bindings declaration -->
	<binding context="org.eclipse.papyrus.infra.services.edit.TypeContext">
		<advice ref="org.eclipse.papyrus.infra.gmfdiag.common.advice.GMFDiagramDuplicateEditHelperAdvice" />
	</binding>
</extension>
<extension
      point="org.eclipse.core.expressions.propertyTesters">
   <propertyTester
         class="org.eclipse.papyrus.infra.gmfdiag.common.utils.DiagramPropertyTester"
         id="org.eclipse.papyrus.infra.gmfdiag.common.diagram.tester"
         namespace="org.eclipse.papyrus.infra.gmfdiag.common.diagram.tester"
         properties="isDiagramEditor"
         type="org.eclipse.jface.viewers.IStructuredSelection">
   </propertyTester>
   <propertyTester
         class="org.eclipse.papyrus.infra.gmfdiag.common.utils.DiagramPropertyTester"
         id="org.eclipse.papyrus.infra.gmfdiag.common.diagram.context.tester"
         namespace="org.eclipse.papyrus.infra.gmfdiag.common.diagram.context.tester"
         properties="isGmfDiagramContextActive"
         type="java.util.Collection">
   </propertyTester>
   <propertyTester
         class="org.eclipse.papyrus.infra.gmfdiag.common.utils.DiagramPropertyTester"
         id="org.eclipse.papyrus.infra.gmfdiag.common.diagram.text.tester"
         namespace="org.eclipse.papyrus.infra.gmfdiag.common.diagram.text.tester"
         properties="isTextZone"
         type="org.eclipse.swt.widgets.Shell">
   </propertyTester>   
   <propertyTester
         class="org.eclipse.papyrus.infra.gmfdiag.common.utils.EditPartPropertyTester"
         id="org.eclipse.papyrus.infra.gmfdiag.common.editPartProperties"
         namespace="org.eclipse.papyrus.infra.gmfdiag"
         properties="hasEditPolicy"
         type="org.eclipse.gef.EditPart">
   </propertyTester>   
</extension>
<extension
      point="org.eclipse.ui.menus">
   <menuContribution
         locationURI="popup:org.eclipse.papyrus.views.modelexplorer.popupmenu.creatediagram">
      <dynamic
            class="org.eclipse.papyrus.infra.gmfdiag.common.handler.DynamicDiagramsMenuContribution"
            id="org.eclipse.papyrus.infra.gmfdiag.common.handler.DynamicDiagramsMenuContribution">
      </dynamic>
   </menuContribution>
   <menuContribution
         allPopups="false"
         locationURI="menu:org.eclipse.papyrus.ui.menu">
      <menu
            icon="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/icons/NewDiagram.gif"
            id="org.eclipse.papyrus.uml.diagram.ui.menu.diagrams"
            label="New Diagram">
         <dynamic
               class="org.eclipse.papyrus.infra.gmfdiag.common.handler.DynamicDiagramsMenuContribution"
               id="org.eclipse.papyrus.infra.gmfdiag.common.handler.DynamicDiagramsMenuContribution">
         </dynamic>
      </menu>
   </menuContribution>
   <menuContribution
         allPopups="false"
         locationURI="toolbar:org.eclipse.ui.main.toolbar">
      <toolbar
            id="org.eclipse.papyrus.infra.viewpoints.policy.toolbar">
         <command
               commandId="org.eclipse.papyrus.infra.viewpoints.policy.toolbar.diagrams.command"
               icon="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/icons/NewDiagram.gif"
               id="org.eclipse.papyrus.infra.viewpoints.policy.toolbar.diagrams"
               label="Create a new diagram ..."
               style="pulldown"
               tooltip="Create a new diagram ...">
            <visibleWhen
                  checkEnabled="false">
               <with
                     variable="activeEditorId">
                  <equals
                        value="org.eclipse.papyrus.infra.core.papyrusEditor">
                  </equals>
               </with>
            </visibleWhen>
         </command>
      </toolbar>
   </menuContribution>
   <menuContribution
         allPopups="false"
         locationURI="menu:org.eclipse.papyrus.infra.viewpoints.policy.toolbar.diagrams">
      <dynamic
            class="org.eclipse.papyrus.infra.gmfdiag.common.handler.DynamicDiagramsMenuContribution"
            id="org.eclipse.papyrus.infra.gmfdiag.common.handler.DynamicDiagramsMenuContribution">
      </dynamic>
   </menuContribution>
</extension>
<extension
      point="org.eclipse.ui.commands">
   <command
         categoryId="org.eclipse.papyrus.infra.viewpoints.policy.commands"
         defaultHandler="org.eclipse.papyrus.infra.viewpoints.policy.DynamicCommandHandler"
         id="org.eclipse.papyrus.infra.viewpoints.policy.toolbar.diagrams.command"
         name="Create Dynamic Diagram Command">
   </command>
</extension>
<extension
      point="org.eclipse.papyrus.infra.viewpoints.policy.viewType">
   <helper
         class="org.eclipse.papyrus.infra.gmfdiag.common.helper.GMFDiagramViewTypeHelper">
   </helper>
</extension>
<extension
      point="org.eclipse.papyrus.infra.gmfdiag.common.shapeProvider">
   <shapeProvider
         class="org.eclipse.papyrus.infra.gmfdiag.common.providers.StyleBasedShapeProvider"
         description="Provides shapes based on the applied styles."
         id="org.eclipse.papyrus.infra.gmfdiag.common.providers.StyleBasedShapeProvider"
         name="StyleBasedShapeProvider">
      <Priority
            name="Low"></Priority>
   </shapeProvider>
</extension>
<extension
      point="org.eclipse.papyrus.infra.gmfdiag.common.notationTypesMapping">
   <mapping
         humanReadableType="symbol"
         type="compartment_shape_display">
   </mapping>
</extension>
<extension
      point="org.eclipse.papyrus.infra.services.decoration.decorationSpecificFunctions">
   <client
         class="org.eclipse.papyrus.infra.gmfdiag.common.decoration.ExternalReferenceDecoration"
         decorationType="org.eclipse.papyrus.infra.gmfdiag.common.externalref">
   </client>
</extension>
<extension
      point="org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders">
   <editpolicyProvider
         class="org.eclipse.papyrus.infra.gmfdiag.common.providers.ExternalReferenceEditPolicyProvider">
      <Priority
            name="Lowest">
      </Priority>
   </editpolicyProvider>
</extension>
<extension
      point="org.eclipse.papyrus.infra.gmfdiag.commands.historyListeners">
   <historyListener
         class="org.eclipse.papyrus.infra.gmfdiag.common.listener.RollbackNotificationHistoryListener">
   </historyListener>
</extension>
<extension
      point="org.eclipse.papyrus.infra.gmfdiag.common.pasteStrategy">
   <strategy
         strategy="org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.DefaultPasteStrategy">
   </strategy>
   <strategy
         strategy="org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.DiagramPasteStrategy">
   </strategy>
</extension>
<extension
      point="org.eclipse.core.runtime.preferences">
   <initializer
         class="org.eclipse.papyrus.infra.gmfdiag.common.preferences.PastePreferenceInitializer">
   </initializer>
</extension>
<extension
      point="org.eclipse.gmf.runtime.diagram.ui.paletteProviders">
   <paletteProvider
         class="org.eclipse.gmf.runtime.diagram.ui.providers.DefaultPaletteProvider">
      <Priority
            name="Lowest">
      </Priority>
      <contribution
            factoryClass="org.eclipse.papyrus.infra.gmfdiag.common.selection.SelectionToolPaletteFactory">
         <entry
               description="All Selection Tool of type Included"
               id="includedStack"
               kind="stack"
               label="Included Selection Stack"
               large_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
               path="/standardGroup"
               small_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif">
         </entry>
         <entry
               description="Rubberband Stack "
               id="rubberbandStack"
               kind="stack"
               label="Rubberband Selection Stack"
               large_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
               path="/standardGroup"
               small_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif">
         </entry>
         <entry
               description="Select the elements intersecting and including the marquee rectangle"
               id="selectionRubberband"
               kind="tool"
               label="Intersection Selection"
               large_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/TouchedAll24.gif"
               path="/standardGroup/rubberbandStack"
               small_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/TouchedAll16.gif">
         </entry>
         <entry
               description="Select Nodes intersected by the Marquee rectangle"
               id="selectionRubberbandNodeOnly"
               kind="tool"
               label="Nodes only (intersection)"
               large_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/TouchedNode24.gif"
               path="/standardGroup/rubberbandStack"
               small_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/TouchedNode16.gif">
         </entry>
         <entry
               description="Select Labels intersected by the Marquee rectangle"
               id="selectionRubberbandLabelOnly"
               kind="tool"
               label="Labels only (intersection)"
               large_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/TouchedLabelT24.gif"
               path="/standardGroup/rubberbandStack"
               small_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/TouchedLabelT16.gif">
         </entry>
         <entry
               description="Select Connections intersected by the Marquee rectangle"
               id="selectionRubberbandConnectionOnly"
               kind="tool"
               label="Connections only (intersection)"
               large_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/TouchedConnection24.gif"
               path="/standardGroup/rubberbandStack"
               small_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/TouchedConnection16.gif">
         </entry>
         <entry
               description="This tool select the items completely included into the rectangle area"
               id="selectionInside"
               kind="tool"
               label="Standard Marquee Selection"
               large_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/IncludeAll24.gif"
               path="/standardGroup/includedStack"
               small_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/IncludeAll16.gif">
         </entry>
         <entry
               description="Select Nodes included in the Marquee rectangle"
               id="selectionInsideNodeOnly"
               kind="tool"
               label="Nodes only "
               large_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/IncludeNode24.gif"
               path="/standardGroup/includedStack"
               small_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/IncludeNode16.gif">
         </entry>
         <entry
               description="Select Labels included in the Marquee rectangle"
               id="selectionInsideLabelOnly"
               kind="tool"
               label="Labels only "
               large_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/IncludeLabelT24.gif"
               path="/standardGroup/includedStack"
               small_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/IncludeLabelT16.gif">
         </entry>
         <entry
               description="Select Connections included in the Marquee rectangle"
               id="selectionInsideConnectionOnly"
               kind="tool"
               label="Connections only "
               large_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/IncludeConnection24.gif"
               path="/standardGroup/includedStack"
               small_icon="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/icons/IncludeConnection16.gif">
         </entry>
      </contribution>
   </paletteProvider>
</extension>
<extension
      point="org.eclipse.papyrus.infra.elementtypesconfigurations.elementTypeSetConfiguration">
   <elementTypeSet
         id="org.eclipse.papyrus.infra.gmfdiag.common.elementTypeSet"
         path="model/notation.elementtypesconfigurations">
   </elementTypeSet>
</extension>
<extension
      point="org.eclipse.gmf.runtime.common.ui.services.iconProviders">
   <IconProvider
         class="org.eclipse.papyrus.infra.gmfdiag.common.providers.ElementTypeIconProvider">
      <Priority
            name="Medium">
      </Priority>
   </IconProvider>
</extension>

   <extension
         point="org.eclipse.gmf.runtime.diagram.core.viewProviders">
      <viewProvider
            class="org.eclipse.papyrus.infra.gmfdiag.common.expansion.ExpandViewProvider">
         <Priority
               name="Low">
         </Priority>
      </viewProvider>
   </extension>

   <extension point="org.eclipse.emf.ecore.generated_package">
      <!-- @generated ExpandModel -->
      <package
            uri="http:///expansionmodel.ecore"
            class="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage"
            genModel="model/ExpansionModel.genmodel"/>
   </extension>


   <extension point="org.eclipse.emf.ecore.extension_parser">
      <!-- @generated NOT  ExpandModel -->
      <parser
            type="expansionmodel"
            class="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.CustomExpansionmodelResourceFactory"/>
   </extension>

   <extension
         point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders">
      <editpartProvider
            class="org.eclipse.papyrus.infra.gmfdiag.common.expansion.ExpandEditPartProvider">
         <Priority
               name="Lowest">
         </Priority>
      </editpartProvider>
   </extension>
   <extension
         point="org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders">
      <editpolicyProvider
            class="org.eclipse.papyrus.infra.gmfdiag.common.expansion.InducedRepresentationPolicyProvider">
         <Priority
               name="Lowest">
         </Priority>
      </editpolicyProvider>
   </extension>
   <extension
         point="org.eclipse.emf.ecore.factory_override">
      <factory
            class="org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.CustomExpansionmodelFactoryImpl"
            uri="http:///expansionmodel.ecore">
      </factory>
   </extension>
   
   <extension
         point="org.eclipse.papyrus.infra.sync.triggers">
      <syncTrigger
            class="org.eclipse.papyrus.infra.gmfdiag.common.sync.DiagramSyncTrigger">
         <enablement>
            <instanceof
                  value="org.eclipse.gef.EditPartViewer">
            </instanceof>
         </enablement>
      </syncTrigger>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.core.service">
      <service
            classname="org.eclipse.papyrus.infra.gmfdiag.common.internal.sync.UISyncServiceInitializer"
            description="UI-specific initializer of the synchronization service"
            id="org.eclipse.papyrus.infra.gmfdiag.common.internal.sync.UISyncServiceInitializer"
            priority="10"
            startKind="startup">
         <dependsOn
               serviceKeyRef="org.eclipse.papyrus.infra.sync.service.ISyncService">
         </dependsOn>
      </service>
   </extension>

</plugin>

Back to the top