blob: 0b910a93198e7dd11ea9b22b5e7508efa22530cf [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="resources/configuration/allocationTable.configuration"
original="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration">
</contribution>
</extension> -->
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Create a SysML Allocation NatTable Editor"
id="org.eclipse.papyrus.sysml.nattable.allocation.create.command"
name="Create a new Allocation Table">
</command>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.papyrus.sysml.nattable.allocation.create.command"
icon="icons/table_SysML_Allocation_new.png">
</image>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="org.eclipse.papyrus.sysml.nattable.allocation.create.command">
<activeWhen>
<or>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.infra.core.papyrusEditor">
</equals>
</with>
</or>
</activeWhen>
<class
class="org.eclipse.papyrus.infra.nattable.common.handlers.CreateNatTableEditorHandler">
<parameter
name="tableType"
value="PapyrusSysMLAllocationTable">
</parameter>
</class>
</handler>
</extension>
<extension
point="org.eclipse.papyrus.infra.nattable.tester">
<tester
class="org.eclipse.papyrus.sysml.nattable.allocation.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>
</plugin>