Package org.eclipse.jface.text.source
Class AnnotationBarHoverManager.Closer
java.lang.Object
org.eclipse.swt.events.MouseTrackAdapter
org.eclipse.jface.text.source.AnnotationBarHoverManager.Closer
- All Implemented Interfaces:
EventListener,AbstractInformationControlManager.IInformationControlCloser,ControlListener,DisposeListener,KeyListener,MouseListener,MouseMoveListener,MouseTrackListener,ShellListener,Listener
- Enclosing class:
AnnotationBarHoverManager
@Deprecated
protected class AnnotationBarHoverManager.Closer
extends MouseTrackAdapter
implements AbstractInformationControlManager.IInformationControlCloser, MouseListener, MouseMoveListener, ControlListener, KeyListener, DisposeListener, ShellListener, Listener
Deprecated.
As of 3.4, no longer used as closer from super class is used
The information control closer for the hover information. Closes the information control as soon as the mouse pointer leaves the subject area, a mouse button is pressed, the user presses a key, or the subject control is resized or moved.
- Since:
- 3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontrolMoved(ControlEvent event) Deprecated.Sent when the location (x, y) of a control changes relative to its parent (or relative to the display, forShells).voidcontrolResized(ControlEvent event) Deprecated.Sent when the size (width, height) of a control changes.voidhandleEvent(Event event) Deprecated.Sent when an event that the receiver has registered for occurs.voidkeyPressed(KeyEvent event) Deprecated.Sent when a key is pressed on the system keyboard.voidkeyReleased(KeyEvent event) Deprecated.Sent when a key is released on the system keyboard.voidmouseDoubleClick(MouseEvent event) Deprecated.Sent when a mouse button is pressed twice within the (operating system specified) double click period.voidmouseDown(MouseEvent event) Deprecated.Sent when a mouse button is pressed.voidmouseExit(MouseEvent event) Deprecated.Sent when the mouse pointer passes out of the area of the screen covered by a control.voidmouseMove(MouseEvent event) Deprecated.Sent when the mouse moves.voidmouseUp(MouseEvent event) Deprecated.Sent when a mouse button is released.voidsetInformationControl(IInformationControl control) Deprecated.Sets the closer's information control, the one to close if necessary.voidsetSubjectControl(Control control) Deprecated.Sets the closer's subject control.voidDeprecated.Sent when a shell becomes the active window.voidDeprecated.Sent when a shell is closed.voidDeprecated.Sent when a shell stops being the active window.voidDeprecated.Sent when a shell is un-minimized.voidDeprecated.Sent when a shell is minimized.voidDeprecated.Tells this closer to start monitoring the subject and the information control.voidstop()Deprecated.Tells this closer to stop monitoring the subject and the information control.protected voidstop(boolean delayRestart) Deprecated.As of 3.4, replaced bystop().voidDeprecated.Sent when the widget is disposed.Methods inherited from class org.eclipse.swt.events.MouseTrackAdapter
mouseEnter, mouseHover
-
Constructor Details
-
Closer
public Closer()Deprecated.Creates a new information control closer.
-
-
Method Details
-
setSubjectControl
Deprecated.Description copied from interface:AbstractInformationControlManager.IInformationControlCloserSets the closer's subject control. This is the control that parents the information control and from which the subject of the information to be shown is retrieved.Must be called before
start. May again be called betweenstartandstop.- Specified by:
setSubjectControlin interfaceAbstractInformationControlManager.IInformationControlCloser- Parameters:
control- the subject control
-
setInformationControl
Deprecated.Description copied from interface:AbstractInformationControlManager.IInformationControlCloserSets the closer's information control, the one to close if necessary.Must be called before
start. May again be called betweenstartandstop.- Specified by:
setInformationControlin interfaceAbstractInformationControlManager.IInformationControlCloser- Parameters:
control- the information control
-
start
Deprecated.Description copied from interface:AbstractInformationControlManager.IInformationControlCloserTells this closer to start monitoring the subject and the information control. The presented information is considered valid for the given area of the subject control's display.- Specified by:
startin interfaceAbstractInformationControlManager.IInformationControlCloser- Parameters:
subjectArea- the area for which the presented information is valid
-
stop
public void stop()Deprecated.Description copied from interface:AbstractInformationControlManager.IInformationControlCloserTells this closer to stop monitoring the subject and the information control.- Specified by:
stopin interfaceAbstractInformationControlManager.IInformationControlCloser
-
stop
Deprecated.As of 3.4, replaced bystop(). Note thatdelayRestartwas never honored.Stops the information control and ifdelayRestartis set allows restart only after a certain delay.- Parameters:
delayRestart-trueif restart should be delayed
-
mouseMove
Deprecated.Description copied from interface:MouseMoveListenerSent when the mouse moves.- Specified by:
mouseMovein interfaceMouseMoveListener- Parameters:
event- an event containing information about the mouse move
-
mouseUp
Deprecated.Description copied from interface:MouseListenerSent when a mouse button is released.- Specified by:
mouseUpin interfaceMouseListener- Parameters:
event- an event containing information about the mouse button release
-
mouseDown
Deprecated.Description copied from interface:MouseListenerSent when a mouse button is pressed.- Specified by:
mouseDownin interfaceMouseListener- Parameters:
event- an event containing information about the mouse button press
-
mouseDoubleClick
Deprecated.Description copied from interface:MouseListenerSent when a mouse button is pressed twice within the (operating system specified) double click period.- Specified by:
mouseDoubleClickin interfaceMouseListener- Parameters:
event- an event containing information about the mouse double click- See Also:
-
handleEvent
Deprecated.Description copied from interface:ListenerSent when an event that the receiver has registered for occurs.- Specified by:
handleEventin interfaceListener- Parameters:
event- the event which occurred
-
mouseExit
Deprecated.Description copied from class:MouseTrackAdapterSent when the mouse pointer passes out of the area of the screen covered by a control. The default behavior is to do nothing.- Specified by:
mouseExitin interfaceMouseTrackListener- Overrides:
mouseExitin classMouseTrackAdapter- Parameters:
event- an event containing information about the mouse exit
-
controlResized
Deprecated.Description copied from interface:ControlListenerSent when the size (width, height) of a control changes.- Specified by:
controlResizedin interfaceControlListener- Parameters:
event- an event containing information about the resize
-
controlMoved
Deprecated.Description copied from interface:ControlListenerSent when the location (x, y) of a control changes relative to its parent (or relative to the display, forShells).- Specified by:
controlMovedin interfaceControlListener- Parameters:
event- an event containing information about the move
-
keyReleased
Deprecated.Description copied from interface:KeyListenerSent when a key is released on the system keyboard.- Specified by:
keyReleasedin interfaceKeyListener- Parameters:
event- an event containing information about the key release
-
keyPressed
Deprecated.Description copied from interface:KeyListenerSent when a key is pressed on the system keyboard.- Specified by:
keyPressedin interfaceKeyListener- Parameters:
event- an event containing information about the key press
-
shellActivated
Deprecated.Description copied from interface:ShellListenerSent when a shell becomes the active window.- Specified by:
shellActivatedin interfaceShellListener- Parameters:
e- an event containing information about the activation
-
shellClosed
Deprecated.Description copied from interface:ShellListenerSent when a shell is closed.- Specified by:
shellClosedin interfaceShellListener- Parameters:
e- an event containing information about the close
-
shellDeactivated
Deprecated.Description copied from interface:ShellListenerSent when a shell stops being the active window.- Specified by:
shellDeactivatedin interfaceShellListener- Parameters:
e- an event containing information about the deactivation
-
shellDeiconified
Deprecated.Description copied from interface:ShellListenerSent when a shell is un-minimized.- Specified by:
shellDeiconifiedin interfaceShellListener- Parameters:
e- an event containing information about the un-minimization
-
shellIconified
Deprecated.Description copied from interface:ShellListenerSent when a shell is minimized.- Specified by:
shellIconifiedin interfaceShellListener- Parameters:
e- an event containing information about the minimization
-
widgetDisposed
Deprecated.Description copied from interface:DisposeListenerSent when the widget is disposed.- Specified by:
widgetDisposedin interfaceDisposeListener- Parameters:
e- an event containing information about the dispose
-