UIObjectView.st
changeset 1521 2efd2b9419c4
parent 1500 36c0b4b268b8
child 1555 4ecde43a73d6
equal deleted inserted replaced
1520:eb77c52704c7 1521:2efd2b9419c4
  2562     ^ (enabled and:[transaction notNil])
  2562     ^ (enabled and:[transaction notNil])
  2563 ! !
  2563 ! !
  2564 
  2564 
  2565 !UIObjectView::UndoHistory methodsFor:'undo'!
  2565 !UIObjectView::UndoHistory methodsFor:'undo'!
  2566 
  2566 
       
  2567 labelOfLastUndo
       
  2568     "return astring describing the last undo-action (for the menu)"
       
  2569 
       
  2570     history size = 0 ifTrue:[^ '* nothing to undo *'].
       
  2571     ^ history last "actions" type
       
  2572 
       
  2573     "Created: / 30.10.2001 / 13:45:28 / cg"
       
  2574     "Modified: / 30.10.2001 / 13:46:33 / cg"
       
  2575 !
       
  2576 
  2567 undoLast:nTransactions
  2577 undoLast:nTransactions
  2568     "undo last n transactions; an open transaction will be closed;
  2578     "undo last n transactions; an open transaction will be closed;
  2569      transactions during undo are disabled
  2579      transactions during undo are disabled
  2570     "
  2580     "
  2571     |repeatTimes transaction actions|
  2581     |repeatTimes transaction actions|