@Deprecated public class PresentationUtil extends Object
Constructor and Description |
---|
PresentationUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addDragListener(Control control,
Listener externalDragListener)
Deprecated.
Adds a drag listener to the given control.
|
static void |
removeDragListener(Control control,
Listener externalDragListener)
Deprecated.
Removes a drag listener that was previously attached using addDragListener
|
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
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.