commit | 73b0382ba592137bcf3b2baf19ac28a7c5623eac | [log] [tgz] |
---|---|---|
author | mwenz <michael.wenz@sap.com> | Tue Aug 18 11:01:01 2015 +0200 |
committer | mwenz <michael.wenz@sap.com> | Tue Aug 18 11:01:01 2015 +0200 |
tree | fad4e31a85de8446d54b0f03f315e14ad618fe70 | |
parent | d988ff4d38dfc1230d1bd92b06ed13211165dfbb [diff] |
Bug 475240 - Malfunctioning redo GFWorkspaceCommandStackImpl Change-Id: I8b413448141146bf13bf3db565743a4551561a30
diff --git a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/editor/GFWorkspaceCommandStackImpl.java b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/editor/GFWorkspaceCommandStackImpl.java index bcac486..123e926 100644 --- a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/editor/GFWorkspaceCommandStackImpl.java +++ b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/editor/GFWorkspaceCommandStackImpl.java
@@ -17,6 +17,7 @@ * mwenz - Bug 430609 - Re-entrance in diagram update causes transaction error * mwenz - Bug 443304 - Improve undo/redo handling in Graphiti features * mwenz - Bug 464596 - BasicIndexOutOfBoundsException in BasicEList.get + * Laurent Le Moux - mwenz - Bug 475240 - Malfunctioning redo GFWorkspaceCommandStackImpl * * </copyright> * @@ -153,7 +154,7 @@ IFeature feature = executionList[i].getFeature(); IContext context = executionList[i].getContext(); if (feature instanceof ICustomUndoRedoFeature) { - canRedo[i] = feature.canUndo(context); + canRedo[i] = ((ICustomUndoRedoFeature) feature).canRedo(context); } else { canRedo[i] = false; }