Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 345ad96a26f0a50bdc836b3510ca95c3b9526aef (plain) (tree)




























                                                                                             
                                                                                              






















                                                                                  





                                                                             
                

                                                                 
            



                                                                                
                                                                                    

              
                                                                                




                                                                              







                                                                                
             



                                       
                                                                                   


























                                                                            
                                                                                         
























                                                                               















                                                                               





















                                                                               











                                                                                    


                                       
                    
              

                      




















                                                                                          


























                                                                                 
          
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension
         point="org.eclipse.ui.views">
      <view
            allowMultiple="false"
            category="org.eclipse.papyrus.views.category"
            class="org.eclipse.papyrus.revision.tool.ui.ReviewsEditor"
            icon="img/CommentIcon.png"
            id="org.eclipse.papyrus.revisiontool.commentview"
            name="Reviews View"
            restorable="true">
      </view>
   </extension>
   

     <extension
         point="org.eclipse.ui.preferencePages">
      <page
            category="org.eclipse.papyrus.infra.core.sasheditor.preferences.generalcategory"
            class="org.eclipse.papyrus.revision.tool.preference.RevisionPreferencePage"
            id="org.eclipse.papyrus.revision"
            name="Revision">
      </page>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer
            class="org.eclipse.papyrus.revision.tool.preference.ReviewPreferenceInitializer">
      </initializer>
   </extension>
   <extension
         point="org.eclipse.emf.ecore.uri_mapping">
      <mapping
            source="pathmap://Review_PROFILES/"
            target="platform:/plugin/org.eclipse.papyrus.revisiontool/resource/">
      </mapping>
   </extension>
   <extension
         point="org.eclipse.papyrus.uml.extensionpoints.UMLProfile">
      <profile
            description="Profile used for model review"
            name="ReviewProfile"
            path="pathmap://Review_PROFILES/Review.profile.uml"
            provider="CEA LIST">
      </profile>
      <profile
            description="Profile used for model versionning"
            name="VersioningProfile"
            path="pathmap://Review_PROFILES/Versioning.profile.uml"
            provider="CEA LIST">
      </profile>
      <profile
            description="Profile used to store some changes during revision"
            name="ChangeProfile"
            path="pathmap://Review_PROFILES/Changes.profile.uml"
            provider="CEA LIST">
      </profile>
   </extension>
<extension point="org.eclipse.papyrus.views.properties.context">
<context contextModel="properties/Review.ctx"/>
</extension>
<extension
      point="org.eclipse.ui.handlers">
   <handler
         class="org.eclipse.papyrus.revision.tool.handlers.ReviewCreateHandler"
         commandId="org.eclipse.papyrus.revisiontool.commands.ReviewCreateHandler">
   </handler>
   <handler
         class="org.eclipse.papyrus.revision.tool.handlers.DeleteReviewHandler"
         commandId="org.eclipse.papyrus.revisiontool.commands.deletereview">
   </handler>
   <handler
         class="org.eclipse.papyrus.revision.tool.handlers.HookReviewHandler"
         commandId="org.eclipse.papyrus.revisiontool.commands.hookreview">
   </handler>
   <handler
         class="org.eclipse.papyrus.revision.tool.handlers.RefuseReviewHandler"
         commandId="org.eclipse.papyrus.revisiontool.commands.refusereview">
   </handler>
   <handler
         class="org.eclipse.papyrus.revision.tool.handlers.AcceptReviewHandler"
         commandId="org.eclipse.papyrus.revisiontool.commands.acceptreview">
   </handler>
</extension>
<extension
      point="org.eclipse.ui.bindings">
   <key
         commandId="org.eclipse.papyrus.revisiontool.commands.ReviewCreateHandler"
         contextId="org.eclipse.ui.contexts.window"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
         sequence="M1+1">
   </key>
   <key
         commandId="org.eclipse.papyrus.revisiontool.commands.deletereview"
         contextId="org.eclipse.ui.contexts.window"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
         sequence="M1+4">
   </key>
   <key
         commandId="org.eclipse.papyrus.revisiontool.commands.hookreview"
         contextId="org.eclipse.ui.contexts.window"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
         sequence="M1+7">
   </key>
</extension>
<extension
      point="org.eclipse.ui.menus">
   <menuContribution
         allPopups="true"
         locationURI="popup:org.eclipse.papyrus.revisiontool.commentview">
      <menu
            id="org.eclipse.papyrus.revisiontool.menus.new"
            label="New"
            mnemonic="M">
         <command
               commandId="org.eclipse.papyrus.revisiontool.commands.ReviewCreateHandler"
               icon="img/Add.png"
               id="org.eclipse.papyrus.revisiontool.menus.sampleCommand"
               label="Review"
               mnemonic="S"
               style="push">
         </command>
      </menu>
      <command
            commandId="org.eclipse.papyrus.revisiontool.commands.deletereview"
            icon="img/delete.png"
            id="org.eclipse.papyrus.revisiontool.commands.deletereview"
            label="Delete"
            mnemonic="S"
            style="push"
            tooltip="Delete">
      </command>
      <command
            commandId="org.eclipse.papyrus.revisiontool.commands.hookreview"
            icon="img/hook.png"
            id="org.eclipse.papyrus.revisiontool.commands.hookreview"
            label="Hook"
            mnemonic="S"
            style="push"
            tooltip="Hook">
      </command>
      <command
            commandId="org.eclipse.papyrus.revisiontool.commands.acceptreview"
            icon="img/accept.JPG"
            id="org.eclipse.papyrus.revisiontool.commands.acceptreview"
            label="Accept Review"
            style="push"
            tooltip="Accept Review">
      </command>
      <command
            commandId="org.eclipse.papyrus.revisiontool.commands.refusereview"
            icon="img/refuse.JPG"
            id="org.eclipse.papyrus.revisiontool.commands.refusereview"
            label="Refuse Review"
            style="push"
            tooltip="Refuse Review">
      </command>
   </menuContribution>
   <menuContribution
         allPopups="true"
         locationURI="toolbar:org.eclipse.papyrus.revisiontool.commentview">
      <command
            commandId="org.eclipse.papyrus.revisiontool.commands.deletereview"
            icon="img/delete.png"
            id="org.eclipse.papyrus.revisiontool.commands.deletereview"
            label="Delete"
            mnemonic="S"
            style="push"
            tooltip="Delete">
      </command>
      <command
            commandId="org.eclipse.papyrus.revisiontool.commands.hookreview"
            icon="img/hook.png"
            id="org.eclipse.papyrus.revisiontool.commands.hookreview"
            label="Hook"
            mnemonic="S"
            style="push"
            tooltip="Hook">
      </command>
   </menuContribution>
   <menuContribution
         locationURI="menu:org.eclipse.ui.main.menu?after=additions">
      <menu
            id="org.eclipse.papyrus.revisiontool.menus.revisionmenu"
            label="Revision"
            mnemonic="M">
         <command
               commandId="org.eclipse.papyrus.revisiontool.commands.revisionlaunch"
               hoverIcon="Revision Mode"
               label="Revision Mode"
               style="toggle">
            <visibleWhen
                  checkEnabled="true">
            </visibleWhen>
         </command>
      </menu>
   </menuContribution>
</extension>
<extension
      point="org.eclipse.ui.commands">
   <command
         defaultHandler="org.eclipse.papyrus.revision.tool.handlers.LaunchRevisionMode"
         id="org.eclipse.papyrus.revisiontool.commands.revisionlaunch"
         name="org.eclipse.papyrus.revisiontool.commands.revisionlaunch">
       <state
         class="org.eclipse.ui.handlers.RegistryToggleState:false"
         id="org.eclipse.ui.commands.toggleState">
   </state>
   </command>
   <command
         defaultHandler="org.eclipse.papyrus.revision.tool.handlers.SaveSnapshotRevision"
         id="org.eclipse.papyrus.revision.tool.handlers.SaveSnapshotRevision"
         name="org.eclipse.papyrus.revision.tool.handlers.SaveSnapshotRevision">
      <state
            class="org.eclipse.ui.handlers.RegistryToggleState:false"
            id="org.eclipse.ui.commands.toggleState">
      </state>
   </command>
</extension>
 <extension
         point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
      <metamodel
            nsURI="http://www.eclipse.org/uml2/5.0.0/UML">
         <adviceBinding
               class="org.eclipse.papyrus.revision.tool.advice.AdviceRemove"
               id="org.eclipse.papyrus.uml.advice.fobidremove"
               inheritance="all"
               typeId="org.eclipse.papyrus.uml.Element">
         </adviceBinding>
      </metamodel>
   </extension>
   <!-- UML ElementType bindings to Papyrus shared IClientContext -->
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">

	<!-- Bindings declaration to shared IClientContext -->
	<binding context="org.eclipse.papyrus.infra.services.edit.TypeContext">	
		<elementType ref="org.eclipse.papyrus.uml.advice.fobidremove"/>
	</binding>
		
</extension>
<extension
      point="org.eclipse.papyrus.emf.facet.util.emf.core.modeldeclaration">
   <modeldeclaration
         file="resource/revision.custom">
   </modeldeclaration>
</extension>
</plugin>

Back to the top