com.ibm.lpex.alef
Class LpexLineChangeInformationControl
java.lang.Object
com.ibm.lpex.alef.LpexLineChangeInformationControl
public class LpexLineChangeInformationControl
- extends Object
Quick diff information control for LPEX. Uses an LPEX widget.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LpexLineChangeInformationControl
public LpexLineChangeInformationControl(Shell parent,
LpexView parentView)
- Creates a quick-diff information control for the specified document view.
This is the primary view in the associated LpexSourceViewer.
An LpexView and an associated LpexWindow are created.
The quick-diff decorations prepended to each line of text in this information
control are set as sequence numbers, and displayed in the view's prefix area.
No document parser is activated.
- Parameters:
parent
- the parent shellparentView
- the parent LpexView for which the quick-diff information is displayed
setInformation
public void setInformation(String content)
setVisible
public void setVisible(boolean visible)
dispose
public void dispose()
widgetDisposed
public void widgetDisposed(DisposeEvent event)
setSize
public void setSize(int width,
int height)
setLocation
public void setLocation(Point location)
setSizeConstraints
public void setSizeConstraints(int maxWidth,
int maxHeight)
computeSizeHint
public Point computeSizeHint()
addDisposeListener
public void addDisposeListener(DisposeListener listener)
removeDisposeListener
public void removeDisposeListener(DisposeListener listener)
setForegroundColor
public void setForegroundColor(Color foreground)
setBackgroundColor
public void setBackgroundColor(Color background)
isFocusControl
public boolean isFocusControl()
setFocus
public void setFocus()
addFocusListener
public void addFocusListener(FocusListener listener)
removeFocusListener
public void removeFocusListener(FocusListener listener)
hasContents
public boolean hasContents()
Copyright © 2013 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.