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;
 				}