Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lorenzo2015-10-30 13:11:22 +0000
committerGerrit Code Review @ Eclipse.org2015-10-30 14:56:16 +0000
commit1de7b5760a22bf809378e39a772406a1fc5680e1 (patch)
tree0a0f56e8357da09fd4723f6ff07eb497af449040 /plugins
parent7bce7a1129ccdff55e1104bc2ecd63fbd22e2142 (diff)
downloadorg.eclipse.papyrus-1de7b5760a22bf809378e39a772406a1fc5680e1.tar.gz
org.eclipse.papyrus-1de7b5760a22bf809378e39a772406a1fc5680e1.tar.xz
org.eclipse.papyrus-1de7b5760a22bf809378e39a772406a1fc5680e1.zip
bug 480190: [Table] [Requirement] F2 shortcut on a cell edition not functioning properly
Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/configuration/CellEditorAxisConfiguration.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/configuration/CellEditorAxisConfiguration.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/configuration/CellEditorAxisConfiguration.java
index fb9a83518d9..4f69937bfe2 100755
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/configuration/CellEditorAxisConfiguration.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/configuration/CellEditorAxisConfiguration.java
@@ -77,11 +77,13 @@ public class CellEditorAxisConfiguration extends AbstractRegistryConfiguration {
if (editorDeclaration.equals(CellEditorDeclaration.COLUMN)) {
final ColumnOverrideLabelAccumulator accumulator = new ColumnOverrideLabelAccumulator(bodyLayerStack);
declaredCellEditors(modelManager.getColumnElementsList(), configRegistry, accumulator, null);
- bodyLayerStack.setConfigLabelAccumulator(accumulator);
+ //bodyLayerStack.getBodyDataLayer().setConfigLabelAccumulator instead of bodyLayerStack.setConfigLabelAccumulator to fix bug 480190
+ bodyLayerStack.getBodyDataLayer().setConfigLabelAccumulator(accumulator);
} else if (editorDeclaration.equals(CellEditorDeclaration.ROW)) {
final CustomRowOverrideLabelAccumulator accumulator = new CustomRowOverrideLabelAccumulator(bodyLayerStack);
declaredCellEditors(modelManager.getRowElementsList(), configRegistry, null, accumulator);
- bodyLayerStack.setConfigLabelAccumulator(accumulator);
+ //bodyLayerStack.getBodyDataLayer().setConfigLabelAccumulator instead of bodyLayerStack.setConfigLabelAccumulator to fix bug 480190
+ bodyLayerStack.getBodyDataLayer().setConfigLabelAccumulator(accumulator);
} else if (editorDeclaration.equals(CellEditorDeclaration.CELL)) {
// not yet supported
throw new UnsupportedOperationException(Messages.EditConfiguration_DeclarationNotYetSupported);

Back to the top