| java.lang.Object org.eclipse.ui.internal.dnd.InsertCaret
InsertCaret | public class InsertCaret (Code) | | This class provides 'insertion' feedback to the User. It can be used to draw a
'bracket' based on the trim area's rectangle.
since: 3.2 |
Constructor Summary | |
public | InsertCaret(Composite parent, Rectangle trimRect, int swtSide, int threshold) Creates an affordance to indicate that the given trim area is a valid location for the
trim being dragged. |
Method Summary | |
public void | dispose() | public void | setHighlight(boolean highlight) Sets the hilight 'mode' for the control. |
InsertCaret | public InsertCaret(Composite parent, Rectangle trimRect, int swtSide, int threshold)(Code) | | Creates an affordance to indicate that the given trim area is a valid location for the
trim being dragged.
Parameters: windowComposite - The window to create the affordance as a child of Parameters: trimRect - The rectangle to show the affordance for Parameters: swtSide - The 'side' that the rectangle is on Parameters: threshold - The amount to offfset the affordance by |
dispose | public void dispose()(Code) | | |
setHighlight | public void setHighlight(boolean highlight)(Code) | | Sets the hilight 'mode' for the control.
Parameters: highlight - true if the caret should be drawn as 'hilighted' |
|
|