| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.4"?> |
| <plugin> |
| <extension |
| point="org.eclipse.papyrus.infra.nattable.tester"> |
| <tester |
| class="org.eclipse.papyrus.sysml.nattable.allocation.config.tester.TableAllocationCreationTester" |
| id="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtablecreationtester"> |
| </tester> |
| </extension> |
| <extension |
| point="org.eclipse.papyrus.infra.nattable.configuration"> |
| <configuration |
| file="resources/allocation.nattableconfiguration" |
| type="PapyrusSysMLAllocationTable"> |
| </configuration> |
| </extension> |
| <extension |
| point="org.eclipse.ui.handlers"> |
| <handler |
| class="org.eclipse.papyrus.sysml.nattable.allocation.config.handler.CreateAllocateHandler" |
| commandId="org.eclipse.papyrus.sysml.service.types.AllocateCreateCommand"> |
| <activeWhen> |
| <with |
| variable="selection"> |
| <test |
| forcePluginActivation="true" |
| property="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtable.propertyTester.isAllocationTable" |
| value="true"> |
| </test> |
| </with> |
| </activeWhen> |
| </handler> |
| </extension> |
| <extension |
| point="org.eclipse.core.expressions.propertyTesters"> |
| <propertyTester |
| class="org.eclipse.papyrus.sysml.nattable.allocation.config.tester.AllocationPropertyTester" |
| id="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtable.propertyTester" |
| namespace="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtable.propertyTester" |
| properties="isAllocationTable" |
| type="org.eclipse.jface.viewers.IStructuredSelection"> |
| </propertyTester> |
| </extension> |
| |
| </plugin> |