|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.presentations.PresentationUtil
Contains various utility methods for Presentation authors
Constructor Summary | |
---|---|
PresentationUtil()
|
Method Summary | |
---|---|
static void |
addDragListener(Control control,
Listener externalDragListener)
Adds a drag listener to the given control. |
static void |
removeDragListener(Control control,
Listener externalDragListener)
Removes a drag listener that was previously attached using addDragListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PresentationUtil()
Method Detail |
public static void addDragListener(Control control, Listener externalDragListener)
This is useful for registering a listener that will trigger an editor or view drag, since an overly sensitive drag listener can cause users to accidentally drag views when trying to select a tab.
Currently, only one such drag listener can be registered at a time.
control
- the control containing the drag listenerexternalDragListener
- the drag listener to attachpublic static void removeDragListener(Control control, Listener externalDragListener)
control
- the control containing the drag listenerexternalDragListener
- the drag listener to remove
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.