| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.4"?> |
| <plugin> |
| <extension |
| point="org.eclipse.ui.commands"> |
| <command |
| defaultHandler="org.eclipse.papyrus.robotics.assertions.ui.actions.ValidateAssertionHandler" |
| id="org.eclipse.papyrus.robotics.assertions.ui.validateAssertion" |
| name="Validate Assertion"> |
| </command> |
| <command |
| defaultHandler="org.eclipse.papyrus.robotics.assertions.ui.actions.ValidateContractHandler" |
| id="org.eclipse.papyrus.robotics.assertions.ui.validateContract" |
| name="Validate Contract"> |
| </command> |
| <command |
| defaultHandler="org.eclipse.papyrus.robotics.assertions.ui.actions.CalculateNFPropertyHandler" |
| id="org.eclipse.papyrus.robotics.assertions.ui.calculateNFProperty" |
| name="Calculate NFProperty"> |
| </command> |
| </extension> |
| <extension |
| point="org.eclipse.ui.menus"> |
| <menuContribution |
| allPopups="false" |
| locationURI="popup:org.eclipse.papyrus.views.modelexplorer.popup.validation"> |
| <command |
| commandId="org.eclipse.papyrus.robotics.assertions.ui.validateAssertion" |
| icon="icons/validateAssertion.png" |
| label="Validate Assertion" |
| style="push"> |
| <visibleWhen |
| checkEnabled="true"> |
| </visibleWhen> |
| </command> |
| </menuContribution> |
| <menuContribution |
| allPopups="false" |
| locationURI="popup:org.eclipse.papyrus.views.modelexplorer.popup.validation"> |
| <command |
| commandId="org.eclipse.papyrus.robotics.assertions.ui.validateContract" |
| icon="icons/validateContract.png" |
| label="Validate Contract" |
| style="push"> |
| <visibleWhen |
| checkEnabled="true"> |
| </visibleWhen> |
| </command> |
| </menuContribution> |
| <menuContribution |
| allPopups="false" |
| locationURI="popup:org.eclipse.papyrus.views.modelexplorer.popup.validation"> |
| <command |
| commandId="org.eclipse.papyrus.robotics.assertions.ui.calculateNFProperty" |
| icon="icons/calculateNFProperty.png" |
| label="Calculate NFProperty" |
| style="push"> |
| <visibleWhen |
| checkEnabled="true"> |
| </visibleWhen> |
| </command> |
| </menuContribution> |
| </extension> |
| <extension |
| point="org.eclipse.core.expressions.propertyTesters"> |
| <propertyTester |
| class="org.eclipse.papyrus.robotics.assertions.ui.actions.AssertionPropertyTester" |
| id="org.eclipse.papyrus.robotics.assertions.ui.propertyTester.isAssertion" |
| namespace="org.eclipse.papyrus.robotics.assertions.ui.propertyTester" |
| properties="hasSelection" |
| type="org.eclipse.papyrus.editor.PapyrusMultiDiagramEditor"> |
| </propertyTester> |
| </extension> |
| |
| </plugin> |