UIPainterView.st
changeset 1230 23e5d0c133e8
parent 1225 0aa39cc5f0a3
child 1252 f886528c2b35
equal deleted inserted replaced
1229:49777692d309 1230:23e5d0c133e8
  1760         ^ false
  1760         ^ false
  1761     ].
  1761     ].
  1762     ^ (prnt parent isNil or:[prnt contents spec class isLayoutContainer not])
  1762     ^ (prnt parent isNil or:[prnt contents spec class isLayoutContainer not])
  1763 !
  1763 !
  1764 
  1764 
       
  1765 canExchangeSelectionLayouts
       
  1766     "returns true if the selection size is exactly 2
       
  1767      and all elements in the selection can be moved or aligned
       
  1768     "
       
  1769     selection size == 2 ifFalse:[
       
  1770         ^ false
       
  1771     ].
       
  1772     ^ self canMoveOrAlignSelection
       
  1773 
       
  1774 !
       
  1775 
  1765 canKeepLayoutInSelection
  1776 canKeepLayoutInSelection
  1766     "returns true if layout can be kept during a paste operation
  1777     "returns true if layout can be kept during a paste operation
  1767     "
  1778     "
  1768     |prop|
  1779     |prop|
  1769 
  1780