blob: c5e20eb408be1f690848b888137a4802f48ff2b7 (
plain) (
tree)
|
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="org.eclipse.papyrus.infra.nattable.axismanager" name="Axis Manager" schema="schema/org.eclipse.papyrus.infra.nattable.axismanager.exsd"/>
<extension-point id="org.eclipse.papyrus.infra.nattable.cellmanager" name="Cell Manager" schema="schema/org.eclipse.papyrus.infra.nattable.cellmanager.exsd"/>
<extension-point id="org.eclipse.papyrus.infra.nattable.celleditor.configuration" name="CellEditorConfiguration" schema="schema/org.eclipse.papyrus.infra.nattable.celleditor.configuration.exsd"/>
<extension-point id="org.eclipse.papyrus.infra.nattable.configuration" name="Nattable Configuration" schema="schema/org.eclipse.papyrus.infra.nattable.configuration.exsd"/>
<extension-point id="org.eclipse.papyrus.infra.nattable.tester" name="Table Tester" schema="schema/org.eclipse.papyrus.infra.nattable.tester.exsd"/>
<extension-point id="org.eclipse.papyrus.infra.nattable.paste.postactions" name="Paste Post Actions" schema="schema/org.eclipse.papyrus.infra.nattable.paste.postactions.exsd"/>
<extension-point id="org.eclipse.papyrus.infra.nattable.filter.configuration" name="FilterConfiguration" schema="schema/org.eclipse.papyrus.infra.nattable.filter.configuration.exsd"/>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.menu?after=general.separator">
<command
commandId="org.eclipse.ui.file.print"
label="Print Table"
mnemonic="&P"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.exporttoXLScommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.exportToImageCommand"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.invert.axis"
style="toggle">
<visibleWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.canInvertAxis"
value="true">
</test>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.menu?after=edit.separator">
<command
commandId="org.eclipse.ui.edit.selectAll"
style="push">
</command>
<command
commandId="org.eclipse.ui.edit.paste"
style="push">
<visibleWhen>
<with
variable="selection">
<test
args="cell"
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.canPaste"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.ui.edit.delete"
label="Unset"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.import.command"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.insert"
style="push">
<visibleWhen>
<with
variable="selection">
<test
args="none"
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.canInsert"
value="true">
</test>
</with>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.menu?after=tree.separator">
<menu
label="Hierarchic Style">
<visibleWhen
checkEnabled="true">
</visibleWhen>
<command
commandId="org.eclipse.papyrus.infra.nattable.table.hierarchic.style"
label="Tree Single Column Style"
style="radio">
<parameter
name="org.eclipse.ui.commands.radioStateParameter"
value="HIERARCHIC_SINGLE_TREE_COLUMN">
</parameter>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.table.hierarchic.style"
label="Tree Multi Column Style"
style="radio">
<parameter
name="org.eclipse.ui.commands.radioStateParameter"
value="HIERARCHIC_MULTI_TREE_COLUMN">
</parameter>
</command>
</menu>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.categories.command"
style="push">
<visibleWhen>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.menu?after=cells.separator">
<menu
icon="icons/mergeTable.gif"
label="Merge Options">
<command
commandId="org.eclipse.papyrus.infra.nattable.mergeRows"
label="Merge/UnMerge Rows Cells"
style="toggle">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.mergeColumns"
label="Merge/UnMerge Columns Cells"
style="toggle">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.mergeSelectedRows"
label="Merge/UnMerge Selected Rows' Cells"
style="toggle">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.mergeSelectedColumns"
label="Merge/UnMerge Selected Columns' Cells"
style="toggle">
</command>
</menu>
<command
commandId="org.eclipse.papyrus.infra.nattable.mark.as.resolved.command"
style="push">
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.menu?after=rows.and.columns.separator">
<menu
icon="icons/tableColumnAction.gif"
id="org.eclipse.papyrus.infra.nattable.columns.menu"
label="Columns">
<command
commandId="org.eclipse.papyrus.infra.nattable.createdestroycolumns"
label="Create/Destroy columns"
style="push"
tooltip="Open a dialog to choose the visible columns">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.sort.columns.command"
icon="icons/sort_columns_by_name_A_to_Z.gif"
label="Sort Columns (A->Z)"
style="push">
<parameter
name="org.eclipse.papyrus.infra.nattable.sort.command.alphabetic.order.parameter"
value="true">
</parameter>
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.sort.columns.command"
icon="icons/sort_columns_by_name_Z_to_A.gif"
label="Sort Columns (Z->A)"
style="push">
<parameter
name="org.eclipse.papyrus.infra.nattable.sort.command.alphabetic.order.parameter"
value="false">
</parameter>
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.display.index"
style="toggle">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.display.label"
style="toggle">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.display.filter"
style="toggle">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<menu
icon="icons/columnIndex.png"
label="Index Style">
<command
commandId="org.eclipse.papyrus.infra.nattable.column.index.style"
label="Alphabetical"
style="radio">
<parameter
name="org.eclipse.ui.commands.radioStateParameter"
value="ALPHABETIC">
</parameter>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.index.style"
label="Numerical"
style="radio">
<parameter
name="org.eclipse.ui.commands.radioStateParameter"
value="NUMERIC">
</parameter>
</command>
</menu>
<menu
icon="icons/label.png"
label="Label Style">
<command
commandId="org.eclipse.papyrus.infra.nattable.column.label.display.icon"
label="Display Icon"
style="toggle">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.label.feature.display.isderived"
label="Display IsDerived"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasFeatureColumnHeaderConfiguration"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.label.feature.display.name"
label="Display Name"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasFeatureColumnHeaderConfiguration"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.label.feature.display.type"
label="Display Type"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasFeatureColumnHeaderConfiguration"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.label.feature.display.multiplicity"
label="Display Multiplicity"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasFeatureColumnHeaderConfiguration"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.label.display.label"
label="Display Label"
style="toggle">
</command>
</menu>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.disconnect.slave"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasSlaveRowAxisProvider"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.saveColumnAxisProvider"
label="Save the current column axis provider"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.loadColumnAxisProvider"
label="Retrieve a saved axis provider for columns"
style="push">
</command>
</menu>
<menu
icon="icons/tableRowAction.gif"
id="org.eclipse.papyrus.infra.nattable.rows.menu"
label="Rows">
<visibleWhen
checkEnabled="true">
</visibleWhen>
<command
commandId="org.eclipse.papyrus.infra.nattable.createdestroyrows"
label="Create/Destroy rows"
style="push"
tooltip="Open a dialog to choose the visible rows">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.sort.rows.command"
icon="icons/sort_columns_by_name_A_to_Z.gif"
label="Sort Rows (A->Z)"
style="push">
<parameter
name="org.eclipse.papyrus.infra.nattable.sort.command.alphabetic.order.parameter"
value="true">
</parameter>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.sort.rows.command"
icon="icons/sort_columns_by_name_Z_to_A.gif"
label="Sort Rows (Z->A)"
style="push">
<parameter
name="org.eclipse.papyrus.infra.nattable.sort.command.alphabetic.order.parameter"
value="false">
</parameter>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.display.index"
style="toggle">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.display.label"
style="toggle">
</command>
<menu
icon="icons/rowIndex.png"
label="Index Style">
<command
commandId="org.eclipse.papyrus.infra.nattable.row.index.style"
label="Alphabetical"
style="radio">
<parameter
name="org.eclipse.ui.commands.radioStateParameter"
value="ALPHABETIC">
</parameter>
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.index.style"
label="Numerical"
style="radio">
<parameter
name="org.eclipse.ui.commands.radioStateParameter"
value="NUMERIC">
</parameter>
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</menu>
<menu
icon="icons/label.png"
label="Label Style">
<command
commandId="org.eclipse.papyrus.infra.nattable.row.label.display.icon"
label="Display Icon"
style="toggle">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.label.feature.display.isderived"
label="Display IsDerived"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasFeatureRowHeaderConfiguration"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.label.feature.display.name"
label="Display Name"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasFeatureRowHeaderConfiguration"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.label.feature.display.type"
label="Display Type"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasFeatureRowHeaderConfiguration"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.label.feature.display.multiplicity"
label="Display Multiplicity"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasFeatureRowHeaderConfiguration"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.label.display.label"
label="Display Label"
style="toggle">
</command>
</menu>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.disconnect.slave"
style="toggle">
<visibleWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.hasSlaveColumnAxisProvider"
value="true">
</test>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.saveRowAxisProvider"
label="Save the current row axis provider"
style="push">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.loadRowAxisProvider"
label="Retrieve a saved axis provider for rows"
style="push">
</command>
</menu>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.header.rows.menu?after=general.separator">
<command
commandId="org.eclipse.papyrus.infra.nattable.autoresize.rows"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.header.rows.menu?after=edit.separator">
<command
commandId="org.eclipse.papyrus.infra.nattable.edit.row.header"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.destroy.row"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.destroy.row.element"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.paste"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.insert"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.import.command"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.header.rows.menu?after=tree.separator">
<command
commandId="org.eclipse.papyrus.infra.nattable.row.collapse.all.tree.command"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.collapse.all.on.selection.command"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.expand.all.tree.command"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.expand.all.on.selection.command"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.expand.selection.on.2.level.command"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.header.rows.menu?after=category.separator">
<command
commandId="org.eclipse.papyrus.infra.nattable.row.categories.command"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.hide.allcategories.command"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.row.show.allcategories.command"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<dynamic
class="org.eclipse.papyrus.infra.nattable.menu.ShowHideCategoriesContributionItem"
id="org.eclipse.papyrus.infra.nattable.tree.show.hide.categories">
</dynamic>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.header.columns.menu?after=general.separator">
<command
commandId="org.eclipse.papyrus.infra.nattable.autoresize.columns"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.header.columns.menu?after=edit.separator">
<command
commandId="org.eclipse.papyrus.infra.nattable.edit.column.header"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.destroy.column"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.destroy.column.element"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.column.paste"
style="push">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.papyrus.infra.nattable.handler.PrintTableHandler"
commandId="org.eclipse.ui.file.print">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.SelectAllHandler"
commandId="org.eclipse.ui.edit.selectAll">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.ExportToXLSHandler"
commandId="org.eclipse.papyrus.infra.nattable.exporttoXLScommand">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.ExportToImageHandler"
commandId="org.eclipse.papyrus.infra.nattable.exportToImageCommand">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.copy.CopySelectionToClipboardAction"
commandId="org.eclipse.ui.edit.copy">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.PasteInTableHandler"
commandId="org.eclipse.ui.edit.paste">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<!-- <handler
class="org.eclipse.papyrus.infra.nattable.handler.MergeTableHandler"
commandId="org.eclipse.papyrus.infra.nattable.mergeTable">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.mergeOptionTester.mergeTable"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler> -->
<handler
class="org.eclipse.papyrus.infra.nattable.handler.MergeRowsHandler"
commandId="org.eclipse.papyrus.infra.nattable.mergeRows">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.mergeOptionTester.mergeRows"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.MergeColumnsHandler"
commandId="org.eclipse.papyrus.infra.nattable.mergeColumns">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.mergeOptionTester.mergeColumns"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.MergeSelectedRowsHandler"
commandId="org.eclipse.papyrus.infra.nattable.mergeSelectedRows">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.mergeOptionTester.mergeSelectedRows"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.MergeSelectedColumnsHandler"
commandId="org.eclipse.papyrus.infra.nattable.mergeSelectedColumns">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.mergeOptionTester.mergeSelectedColumns"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.RefreshNattableHandler"
commandId="org.eclipse.ui.file.refresh">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.UnsetCellValueHandler"
commandId="org.eclipse.ui.edit.delete">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.PasteInTableHandler"
commandId="org.eclipse.papyrus.infra.nattable.row.paste">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
<test
args="row"
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.canPaste"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.PasteInTableHandler"
commandId="org.eclipse.papyrus.infra.nattable.column.paste">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
<test
args="column"
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.canPaste"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.InsertInTableHandler"
commandId="org.eclipse.papyrus.infra.nattable.row.insert">
<activeWhen>
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
<test
args="row"
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.canInsert"
value="true">
</test>
</with>
</and>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.papyrus.infra.nattable.utils.NattableWidgetPropertyTester"
id="org.eclipse.papyrus.infra.nattable.tester"
namespace="org.eclipse.papyrus.infra.nattable.tester"
properties="isNattableWidget, hasFeatureRowHeaderConfiguration, hasFeatureColumnHeaderConfiguration, hasSlaveRowAxisProvider, hasSlaveColumnAxisProvider, canInvertAxis, isHierarchicTable, isOneMultipleValuesAxisSelected"
type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
<propertyTester
class="org.eclipse.papyrus.infra.nattable.utils.NattableMergePropertyTester"
id="org.eclipse.papyrus.infra.nattable.mergeOptionTester"
namespace="org.eclipse.papyrus.infra.nattable.mergeOptionTester"
properties="mergeRows, mergeColumns, mergeSelectedRows, mergeSelectedColumns, mergeTable"
type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
</extension>
<extension
point="org.eclipse.papyrus.infra.services.labelprovider.labelProvider">
<context
description="Context for the headers of the table"
id="org.eclipse.papyrus.infra.nattable.header.labelprovider">
</context>
<context
description="Context for feature in the header of the axis"
id="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider">
</context>
<context
description="Context for operation in the header of the axis"
id="org.eclipse.papyrus.infra.nattable.header.operation.labelprovider">
</context>
<context
description="Context for the body of the table"
id="org.eclipse.papyrus.infra.nattable.body.labelprovider">
</context>
<context
description="the context to use to find the label provider used to display values in cells and headers"
id="org.eclipse.papyrus.infra.nattable.full.labelprovider">
</context>
<labelProvider
priority="2000"
provider="org.eclipse.papyrus.infra.nattable.provider.NattableTopLabelProvider">
<labelProviderContext
context="org.eclipse.papyrus.infra.nattable.full.labelprovider">
</labelProviderContext>
</labelProvider>
<labelProvider
priority="1600"
provider="org.eclipse.papyrus.infra.nattable.provider.IndexHeaderLabelProvider">
<labelProviderContext
context="org.eclipse.papyrus.infra.nattable.header.labelprovider">
</labelProviderContext>
<labelProviderContext
context="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider">
</labelProviderContext>
</labelProvider>
<labelProvider
priority="1950"
provider="org.eclipse.papyrus.infra.nattable.provider.GenericCellLabelProvider">
<labelProviderContext
context="org.eclipse.papyrus.infra.nattable.body.labelprovider">
</labelProviderContext>
</labelProvider>
<context
description="Context used to display feature referenced by TreeFillingConfiguration"
id="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider">
</context>
<context
description="Context used to display operation referenced by TreeFillingConfiguration"
id="org.eclipse.papyrus.infra.nattable.header.treefilling.operation.labelprovider">
</context>
</extension>
<!-- UML ElementType bindings to Papyrus shared IClientContext -->
<extension
point="org.eclipse.ui.commands">
<category
description="This cateogy can be used for all Papyrus Nattable Widget commands"
id="org.eclipse.papyrus.infra.nattable.category"
name="Papyrus Nattable Widget Category">
</category>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Export Table to XLS Command"
id="org.eclipse.papyrus.infra.nattable.exporttoXLScommand"
name="Export to XLS">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
description="Export Table to Image Command"
id="org.eclipse.papyrus.infra.nattable.exportToImageCommand"
name="Export to Image">
</command>
<!-- <command
description="Merge all the Table"
id="org.eclipse.papyrus.infra.nattable.mergeTable"
name="Merge Table">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command> -->
<command
description="Merge/UnMerge Row Cells option"
id="org.eclipse.papyrus.infra.nattable.mergeRows"
name="Merge/UnMerge Row Cells">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
description="Merge/UnMerge Column Cells option"
id="org.eclipse.papyrus.infra.nattable.mergeColumns"
name="Merge/UnMerge Column Cells">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
description="Merge/UnMerge Selected row Axis' Cells option"
id="org.eclipse.papyrus.infra.nattable.mergeSelectedRows"
name="Merge/UnMerge Row Axis Cells">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
description="Merge/UnMerge Selected column Axis' Cells option"
id="org.eclipse.papyrus.infra.nattable.mergeSelectedColumns"
name="Merge/UnMerge Column Axis Cells">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.SelectColumnsHandler"
description="Open a dialog to select the columns to display"
id="org.eclipse.papyrus.infra.nattable.createdestroycolumns"
name="Select the columns to Show">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.SelectRowsHandler"
description="Open a dialog to select the rows to display"
id="org.eclipse.papyrus.infra.nattable.createdestroyrows"
name="Select the rows to Show">
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.SortColumnsHandler"
id="org.eclipse.papyrus.infra.nattable.sort.columns.command"
name="Sort Columns Command">
<commandParameter
id="org.eclipse.papyrus.infra.nattable.sort.command.alphabetic.order.parameter"
name="alphabetic_order"
optional="false">
</commandParameter>
</command>
<command
categoryId="org.eclipse.papyrus.editor.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.SortRowsHandler"
id="org.eclipse.papyrus.infra.nattable.sort.rows.command"
name="Sort Rows Command">
<commandParameter
id="org.eclipse.papyrus.infra.nattable.sort.command.alphabetic.order.parameter"
name="alphabetic_order"
optional="false">
</commandParameter>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDisplayIndexHeaderHandler"
id="org.eclipse.papyrus.infra.nattable.column.display.index"
name="Display Column Index">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDisplayLabelHeaderHandler"
id="org.eclipse.papyrus.infra.nattable.column.display.label"
name="Display Column Label">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDisplayFilterHandler"
id="org.eclipse.papyrus.infra.nattable.column.display.filter"
name="Display Row Filter">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ChangeIndexColumnStyleHandler"
id="org.eclipse.papyrus.infra.nattable.column.index.style"
name="Change Column Index Style">
<commandParameter
id="org.eclipse.ui.commands.radioStateParameter"
name="ColumnHeaderParameter"
optional="false">
</commandParameter>
<state
class="org.eclipse.ui.handlers.RadioState:Alphabetic"
id="org.eclipse.ui.commands.radioState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDisplayIndexHeaderHandler"
id="org.eclipse.papyrus.infra.nattable.row.display.index"
name="Display Row Index">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDisplayLabelHeaderHandler"
id="org.eclipse.papyrus.infra.nattable.row.display.label"
name="Display Row Label">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ChangeIndexRowStyleHandler"
id="org.eclipse.papyrus.infra.nattable.row.index.style"
name="Change Row Index Style">
<commandParameter
id="org.eclipse.ui.commands.radioStateParameter"
name="ColumnHeaderParameter"
optional="false">
</commandParameter>
<state
class="org.eclipse.ui.handlers.RadioState:Alphabetic"
id="org.eclipse.ui.commands.radioState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowMasterDisconnectColumnSlaveHandler"
id="org.eclipse.papyrus.infra.nattable.row.disconnect.slave"
name="Disconnect Column Axis">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnMasterDisconnectRowSlaveHandler"
id="org.eclipse.papyrus.infra.nattable.column.disconnect.slave"
name="Disconnect Rows Axis">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.InvertAxisHandler"
description="This command allows to invert rows and columns"
id="org.eclipse.papyrus.infra.nattable.invert.axis"
name="Invert Axis">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.SaveCurrentRowAxisProvidersHandler"
id="org.eclipse.papyrus.infra.nattable.saveRowAxisProvider"
name="Save the current row axis provider">
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.SaveCurrentColumnAxisProvidersHandler"
id="org.eclipse.papyrus.infra.nattable.saveColumnAxisProvider"
name="Save the current column axis provider">
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.LoadRowAxisProvidersHandler"
id="org.eclipse.papyrus.infra.nattable.loadRowAxisProvider"
name="Retrieve a saved axis provider for rows">
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.LoadColumnAxisProvidersHandler"
id="org.eclipse.papyrus.infra.nattable.loadColumnAxisProvider"
name="Retrieve a saved axis provider for columns">
</command>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDisplayLabelImageHandler"
id="org.eclipse.papyrus.infra.nattable.row.label.display.icon"
name="Display Row Label Icon">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDisplayLabeTextHandler"
id="org.eclipse.papyrus.infra.nattable.row.label.display.label"
name="Display Row Label">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDisplayLabelFeatureIsDerivedHandler"
id="org.eclipse.papyrus.infra.nattable.row.label.feature.display.isderived"
name="Display Row Label Feature IsDerived">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDisplayLabelFeatureTypeHandler"
id="org.eclipse.papyrus.infra.nattable.row.label.feature.display.type"
name="Display Row Label Feature Type">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDisplayLabelFeatureMultiplicityHandler"
id="org.eclipse.papyrus.infra.nattable.row.label.feature.display.multiplicity"
name="Display Row Label Feature Multiplicity">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDisplayLabelFeatureNameHandler"
id="org.eclipse.papyrus.infra.nattable.row.label.feature.display.name"
name="Display Row Label Feature Name">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDisplayLabelImageHandler"
id="org.eclipse.papyrus.infra.nattable.column.label.display.icon"
name="Display Column Labe Icon">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDisplayLabelFeatureIsDerivedHandler"
id="org.eclipse.papyrus.infra.nattable.column.label.feature.display.isderived"
name="Display Column Label Feature IsDerived">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDisplayLabelTextHandler"
id="org.eclipse.papyrus.infra.nattable.column.label.display.label"
name="Display Column Label">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDisplayLabelFeatureMultiplicityHandler"
id="org.eclipse.papyrus.infra.nattable.column.label.feature.display.multiplicity"
name="Display Column Label Feature Multiplicity">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDisplayLabelFeatureTypeHandler"
id="org.eclipse.papyrus.infra.nattable.column.label.feature.display.type"
name="Display Column Label Feature Type">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDisplayLabelFeatureNameHandler"
id="org.eclipse.papyrus.infra.nattable.column.label.feature.display.name"
name="Display Column Label Feature Name">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
</extension>
<extension
point="org.eclipse.papyrus.infra.services.labelprovider.labelProvider">
<labelProvider
priority="10"
provider="org.eclipse.papyrus.infra.nattable.provider.TableLabelProvider">
</labelProvider>
<labelProvider
priority="10"
provider="org.eclipse.papyrus.infra.nattable.provider.ProblemLabelProvider">
</labelProvider>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.papyrus.infra.nattable.createdestroycolumns"
icon="icons/CreateDestroyColumn.gif">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.createdestroyrows"
icon="icons/CreateDestroyRow.gif">
</image>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
description="This category is used for all rows commands"
id="org.eclipse.papyrus.infra.nattable.rows.command.category"
name="NatTable Rows Catgerory">
</category>
<category
description="This category is used for all columns Commands"
id="org.eclipse.papyrus.infra.nattable.columns.command.category"
name="NatTable Columns Category">
</category>
<command
categoryId="org.eclipse.papyrus.infra.nattable.columns.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnEditAliasHeaderHandler"
description="Allows to Edit the name of the column header"
id="org.eclipse.papyrus.infra.nattable.edit.column.header"
name="Rename Header">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ConfigureCategoriesHandler"
description="Allows to configure the categories to display in the Tree Table"
id="org.eclipse.papyrus.infra.nattable.row.categories.command"
name="Configure Categories And Paste">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowEditAliasHeaderHandler"
description="Allows to Edit the name of the row header"
id="org.eclipse.papyrus.infra.nattable.edit.row.header"
name="Rename Header">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDestroyAxisHandler"
id="org.eclipse.papyrus.infra.nattable.destroy.row"
name="Destroy Row">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowDestroyAxisElementHandler"
id="org.eclipse.papyrus.infra.nattable.destroy.row.element"
name="Destroy Row Element">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.columns.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDestroyAxisHandler"
id="org.eclipse.papyrus.infra.nattable.destroy.column"
name="Destroy Column">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.columns.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnDestroyAxisElementHandler"
id="org.eclipse.papyrus.infra.nattable.destroy.column.element"
name="Destroy Column Element">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.RowAutoResizeHandler"
id="org.eclipse.papyrus.infra.nattable.autoresize.rows"
name="AutoResize Row">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.columns.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ColumnAutoResizeHandler"
id="org.eclipse.papyrus.infra.nattable.autoresize.columns"
name="AutoResize Column">
</command>
<command
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ResolvedProblemHandler"
id="org.eclipse.papyrus.infra.nattable.mark.as.resolved.command"
name="Mark As Resolved">
</command>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.papyrus.infra.nattable.edit.column.header"
icon="icons/rename.gif">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.edit.row.header"
icon="icons/rename.gif">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.destroy.column.element"
icon="icons/delete_obj.gif">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.destroy.row.element"
icon="icons/delete_obj.gif">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.destroy.row"
icon="icons/remove_row.gif">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.destroy.column"
icon="icons/remove_column.gif">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.autoresize.columns"
icon="icons/auto_resize_column.png">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.autoresize.rows"
icon="icons/auto_resize_row.png">
</image>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ImportTableHandler"
description="Import a file into a table"
id="org.eclipse.papyrus.infra.nattable.import.command"
name="Import from file">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ImportTableHandler"
description="Import a file into a table"
id="org.eclipse.papyrus.infra.nattable.row.import.command"
name="Import from file">
</command>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.papyrus.infra.nattable.import.command"
icon="icons/import_wiz_16x16-papyrusColor.gif">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.row.import.command"
icon="icons/import_wiz_16x16-papyrusColor.gif">
</image>
</extension>
<extension
point="org.eclipse.ui.importWizards">
<wizard
category="org.eclipse.papyrus.infra.core.importcategory"
class="org.eclipse.papyrus.infra.nattable.wizard.ImportTableWizard"
icon="icons/import_wiz_16x16-papyrusColor.gif"
id="org.eclipse.papyrus.infra.nattable.import.category"
name="CSV In Open Table">
<description>
This wizard allows to import CSV file in a table.
</description>
</wizard>
</extension>
<extension
point="org.eclipse.papyrus.infra.nattable.cellmanager">
<cellManager
id="org.eclipse.papyrus.infra.nattable.tree.filling.configuration"
manager="org.eclipse.papyrus.infra.nattable.manager.cell.TreeFillingConfigurationCellManager"
order="10">
</cellManager>
</extension>
<extension
name="commands for Tree table"
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.ChangeHierarchicalTableStyle"
id="org.eclipse.papyrus.infra.nattable.table.hierarchic.style"
name="Change Display Style">
<commandParameter
id="org.eclipse.ui.commands.radioStateParameter"
name="HierarchicalStyleParameter"
optional="false">
</commandParameter>
<state
class="org.eclipse.ui.handlers.RadioState:HIERARCHIC_MULTI_TREE_COLUMN"
id="org.eclipse.ui.commands.radioState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.TreeRowHideAllCategoriesHandler"
description="This command allows to Hide all categories displayed in a table"
id="org.eclipse.papyrus.infra.nattable.row.hide.allcategories.command"
name="Hide All Categories">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.TreeRowShowAllCategoriesHandler"
description="This command allows to Show all categories displayed in a table"
id="org.eclipse.papyrus.infra.nattable.row.show.allcategories.command"
name="Show All Categories">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.TreeRowHideShowCategoryHandler"
description="This command allows to Show/hide the categories for a given depth"
id="org.eclipse.papyrus.infra.nattable.row.show.hide.category.command"
name="Show/Hide Category for a given depth">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
description="This command allows to Expand All Node in the tree"
id="org.eclipse.papyrus.infra.nattable.row.expand.all.tree.command"
name="Expand All">
<defaultHandler
class="org.eclipse.papyrus.infra.nattable.handler.CollapseAndExpandTreeHandler">
<parameter
name="treeAction"
value="EXPAND_ALL">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
description="This command allows to Expand Selection On 2 Levels"
id="org.eclipse.papyrus.infra.nattable.row.expand.selection.on.2.level.command"
name="Expand Selection On 2 Levels">
<defaultHandler
class="org.eclipse.papyrus.infra.nattable.handler.CollapseAndExpandTreeHandler">
<parameter
name="treeAction"
value="EXPAND_TWO_LEVEL">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
description="This command allows to Expand All On Selection"
id="org.eclipse.papyrus.infra.nattable.row.expand.all.on.selection.command"
name="Expand All for selection">
<defaultHandler
class="org.eclipse.papyrus.infra.nattable.handler.CollapseAndExpandTreeHandler">
<parameter
name="treeAction"
value="EXPAND_ALL_FROM_SELECTION">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
description="This command allows to Collapse All Tree"
id="org.eclipse.papyrus.infra.nattable.row.collapse.all.tree.command"
name="Collapse All">
<defaultHandler
class="org.eclipse.papyrus.infra.nattable.handler.CollapseAndExpandTreeHandler">
<parameter
name="treeAction"
value="COLLAPSE_ALL">
</parameter>
</defaultHandler>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
description="This command allows to Collapse All levels for selection"
id="org.eclipse.papyrus.infra.nattable.row.collapse.all.on.selection.command"
name="Collapse All for selection">
<defaultHandler
class="org.eclipse.papyrus.infra.nattable.handler.CollapseAndExpandTreeHandler">
<parameter
name="treeAction"
value="COLLAPSE_ALL_FROM_SELECTION">
</parameter>
</defaultHandler>
</command>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.papyrus.infra.nattable.row.expand.all.tree.command"
icon="icons/expandAll.png">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.row.expand.selection.on.2.level.command"
icon="icons/expand2level.png">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.row.expand.all.on.selection.command"
icon="icons/expandAllBranch.png">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.row.collapse.all.tree.command"
icon="icons/collapseAll.png">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.row.collapse.all.on.selection.command"
icon="icons/collapseAllBranch.png">
</image>
</extension>
<extension
point="org.eclipse.papyrus.infra.nattable.filter.configuration">
<configuration
class="org.eclipse.papyrus.infra.nattable.filter.configuration.TextEditorFilterConfiguration"
order="100000">
</configuration>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.PasteInTableHandler"
id="org.eclipse.papyrus.infra.nattable.row.paste"
name="Paste">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.columns.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.PasteInTableHandler"
id="org.eclipse.papyrus.infra.nattable.column.paste"
name="Paste">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.rows.command.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.InsertInTableHandler"
id="org.eclipse.papyrus.infra.nattable.row.insert"
name="Insert">
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
defaultHandler="org.eclipse.papyrus.infra.nattable.handler.InsertInTableHandler"
id="org.eclipse.papyrus.infra.nattable.insert"
name="Insert">
</command>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.papyrus.infra.nattable.column.paste"
icon="icons/paste_edit.png">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.row.paste"
icon="icons/paste_edit.png">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.row.insert"
icon="icons/insert.gif">
</image>
<image
commandId="org.eclipse.papyrus.infra.nattable.insert"
icon="icons/insert.gif">
</image>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.papyrus.infra.nattable.utils.PastePropertyTester"
id="org.eclipse.papyrus.infra.nattable.pastePropertyTester"
namespace="org.eclipse.papyrus.infra.nattable"
properties="canPaste"
type="java.lang.Object">
</propertyTester>
<propertyTester
class="org.eclipse.papyrus.infra.nattable.utils.PastePropertyTester"
id="org.eclipse.papyrus.infra.nattable.pastePropertyTester"
namespace="org.eclipse.papyrus.infra.nattable"
properties="canInsert"
type="java.lang.Object">
</propertyTester>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
description="Wrap Text"
id="org.eclipse.papyrus.infra.nattable.wraptext"
name="Wrap Text">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
description="Auto Resize Cell Height"
id="org.eclipse.papyrus.infra.nattable.autoresize.cellheight"
name="Auto Resize Cell Height">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
description="Display List On Separated Rows For Columne Header"
id="org.eclipse.papyrus.infra.nattable.displaylist.separatedrows.columnheader"
name="Display List On Separated Rows">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.papyrus.infra.nattable.category"
description="Display List On Separated Rows For Row Header"
id="org.eclipse.papyrus.infra.nattable.displaylist.separatedrows.rowheader"
name="Display List On Separated Rows">
<state
class="org.eclipse.ui.handlers.RegistryToggleState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.menu?endof=general.separator">
<command
commandId="org.eclipse.papyrus.infra.nattable.wraptext"
label="Wrap Text"
style="toggle">
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.autoresize.cellheight"
label="Auto Resize Cell Height"
style="toggle">
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.header.columns.menu?after=general.separator">
<command
commandId="org.eclipse.papyrus.infra.nattable.displaylist.separatedrows.columnheader"
label="Display List On Separated Rows"
style="toggle">
<visibleWhen
checkEnabled="true">
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isOneMultipleValuesAxisSelected"
value="true">
</test>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.header.rows.menu?after=general.separator">
<command
commandId="org.eclipse.papyrus.infra.nattable.displaylist.separatedrows.rowheader"
label="Display List On Separated Rows"
style="toggle">
<visibleWhen
checkEnabled="true">
<and>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isOneMultipleValuesAxisSelected"
value="true">
</test>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.papyrus.infra.nattable.handler.SetWrapTextHandler"
commandId="org.eclipse.papyrus.infra.nattable.wraptext">
<activeWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.SetAutoResizeCellHeightHandler"
commandId="org.eclipse.papyrus.infra.nattable.autoresize.cellheight">
<activeWhen>
<with
variable="selection">
<test
forcePluginActivation="true"
property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
value="true">
</test>
</with>
</activeWhen>
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.SetDisplayListOnSeparatedRowsHandler"
commandId="org.eclipse.papyrus.infra.nattable.displaylist.separatedrows.columnheader">
</handler>
<handler
class="org.eclipse.papyrus.infra.nattable.handler.SetDisplayListOnSeparatedRowsHandler"
commandId="org.eclipse.papyrus.infra.nattable.displaylist.separatedrows.rowheader">
</handler>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.papyrus.infra.core.sasheditor.preferences.generalcategory"
class="org.eclipse.papyrus.infra.nattable.preferences.pages.NattablePreferencePage"
id="org.eclipse.papyrus.infra.nattable.preferences.nattable"
name="NatTable">
</page>
<page
category="org.eclipse.papyrus.infra.nattable.preferences.nattable"
class="org.eclipse.papyrus.infra.nattable.preferences.pages.CellPreferencePage"
id="org.eclipse.papyrus.infra.nattable.preferences.nattable.cell"
name="Cell Preferences">
</page>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="org.eclipse.papyrus.infra.nattable.preferences.initializers.CellPreferenceInitializer">
</initializer>
</extension>
</plugin>
|