org.topbraidcomposer.editors
Class ErrorCheckingText
java.lang.Object
org.topbraidcomposer.editors.ErrorCheckingText
- Direct Known Subclasses:
- AbstractEditorText, NameURIText
public abstract class ErrorCheckingText
- extends java.lang.Object
|
Constructor Summary |
ErrorCheckingText(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
int style)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorCheckingText
public ErrorCheckingText(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
int style)
assignValue
public void assignValue()
- Programmatically assigns the current value, without any error checking.
assignValue
protected abstract void assignValue(java.lang.String text)
clearError
protected void clearError()
getBorderColor
protected org.eclipse.swt.graphics.Color getBorderColor()
getBorderParent
protected org.eclipse.swt.widgets.Composite getBorderParent(org.eclipse.swt.widgets.Composite parent)
getControl
public org.eclipse.swt.custom.StyledText getControl()
getError
public java.lang.String getError()
getLabel
protected abstract java.lang.String getLabel()
getNavigator
protected StyledTextNavigator getNavigator()
getToolkit
protected org.eclipse.ui.forms.widgets.FormToolkit getToolkit()
handleEscape
protected void handleEscape()
handleModifyText
protected void handleModifyText()
initializeNavigator
protected StyledTextNavigator initializeNavigator()
isDirty
public boolean isDirty()
reset
public void reset()
setDirty
protected void setDirty(boolean value)
setError
protected void setError(java.lang.String e)
updateStatus
public abstract void updateStatus()
updateText
protected void updateText()
verifyCR
protected void verifyCR(org.eclipse.swt.events.VerifyEvent event)