MenuEditor.st
changeset 1953 3b5022bccca4
parent 1949 00defdb89630
child 1958 109ef8358a55
equal deleted inserted replaced
1952:73a141744891 1953:3b5022bccca4
  1932 
  1932 
  1933 !MenuEditor methodsFor:'drag & drop'!
  1933 !MenuEditor methodsFor:'drag & drop'!
  1934 
  1934 
  1935 canDrop:aContext
  1935 canDrop:aContext
  1936     "return true, if the DropContext can be dropped into the list of items.
  1936     "return true, if the DropContext can be dropped into the list of items.
  1937      The dropable objects are already validated by: #dropEnter:
  1937      The dropable objects are already validated by: #dropEnter:"
  1938     "
  1938 
  1939     ^ (dropOverLine notNil and:[dropOverLine ~~ 0])
  1939     ^ (dropOverLine notNil and:[dropOverLine ~~ 0])
  1940 !
  1940 !
  1941 
  1941 
  1942 changeDropLineTo:aLineOrNil in:aContext
  1942 changeDropLineTo:aLineOrNil in:aContext
  1943     "the over dropLine changed; redraw drop indication stuff
  1943     "the over dropLine changed; redraw drop indication stuff