Bug 481994 - Some XxxFeatureForPattern classes call
ICustomUndoablePattern#redo instead of ICustomUndoRedoPattern#postRedo

Cleaned-up, so that all methods (canUndo/Redo, preUndo/Redo, undo/redo,
postUndo/Redo) try to delegate to the pattern methods in case the
pattern implement ICustonUndoablePattern or ICustomUndoRedoPattern for
all methods implemented by the interfaces. In case a method is part of
both interfaces first ICustomUndoablePattern is checked for, because
that is the older interface (to keep compatibility).
This change might modify the behavior for certain tools that rely on the
old, not really consistent behavior.

Change-Id: Ic3ffed5ea6549ca272f043e7eaf65b0db388721f
11 files changed
tree: 5856e1a065f9a09197d67b4258c7d852a3fab7f3
  2. examples/
  3. features/
  4. parent/
  5. plugins/
  6. releng/
  7. tests/