Package | Description |
---|---|
org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
org.eclipse.jface.text.source |
Provides a framework for connecting document regions
with annotations and for displaying those.
|
Modifier and Type | Field and Description |
---|---|
static AbstractInformationControlManager.Anchor |
AbstractInformationControlManager.ANCHOR_BOTTOM
Anchor representing the bottom of the information area
|
static AbstractInformationControlManager.Anchor |
AbstractInformationControlManager.ANCHOR_GLOBAL
Anchor representing the middle of the subject control
|
static AbstractInformationControlManager.Anchor |
AbstractInformationControlManager.ANCHOR_LEFT
Anchor representing the left side of the information area
|
static AbstractInformationControlManager.Anchor |
AbstractInformationControlManager.ANCHOR_RIGHT
Anchor representing the right side of the information area
|
static AbstractInformationControlManager.Anchor |
AbstractInformationControlManager.ANCHOR_TOP
Anchor representing the top of the information area
|
Modifier and Type | Method and Description |
---|---|
protected AbstractInformationControlManager.Anchor |
AbstractInformationControlManager.getNextFallbackAnchor(AbstractInformationControlManager.Anchor anchor)
Returns the next fallback anchor as specified by this manager's
fallback anchor sequence.
|
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
AbstractInformationControlManager.computeAvailableArea(Rectangle subjectArea,
Rectangle bounds,
AbstractInformationControlManager.Anchor anchor)
Computes the area available for an information control given an anchor and the subject area
within
bounds . |
protected Point |
AbstractInformationControlManager.computeLocation(Rectangle subjectArea,
Point controlSize,
AbstractInformationControlManager.Anchor anchor)
Computes the display location of the information control.
|
protected AbstractInformationControlManager.Anchor |
AbstractInformationControlManager.getNextFallbackAnchor(AbstractInformationControlManager.Anchor anchor)
Returns the next fallback anchor as specified by this manager's
fallback anchor sequence.
|
void |
AbstractInformationControlManager.setAnchor(AbstractInformationControlManager.Anchor anchor)
Sets the anchor used for laying out the information control relative to the
subject control.
|
void |
AbstractInformationControlManager.setFallbackAnchors(AbstractInformationControlManager.Anchor[] fallbackAnchors)
Sets the anchors fallback sequence used to layout the information control if the original
anchor can not be used because the information control would not fit in the display client
area.
|
protected boolean |
AbstractInformationControlManager.updateLocation(Point location,
Point size,
Rectangle displayArea,
AbstractInformationControlManager.Anchor anchor)
Checks whether a control of the given size at the given location would be completely visible
in the given display area when laid out by using the given anchor.
|
Modifier and Type | Method and Description |
---|---|
protected Point |
AnnotationBarHoverManager.computeLocation(Rectangle subjectArea,
Point controlSize,
AbstractInformationControlManager.Anchor anchor) |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.