|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.ui.presentations.StackDropResult
This structure describes a drop event that will cause a dragged part to be stacked in a position currently occupied by another part.
| Constructor Summary | |
|---|---|
StackDropResult(Rectangle snapRectangle,
Object cookie)
Creates a drop result |
|
| Method Summary | |
|---|---|
Object |
getCookie()
Returns the cookie for this drop result. |
Rectangle |
getSnapRectangle()
Returns a rectangle (screen coordinates) describing the target location for this drop operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StackDropResult(Rectangle snapRectangle,
Object cookie)
snapRectangle - region that should be highlighted by the tracking
rectangle (display coordinates)cookie - the presentation may attach an object to this drop result
in order to identify the drop location. This object will be passed back into the
presentation's add method.| Method Detail |
public Rectangle getSnapRectangle()
public Object getCookie()
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.