org.topbraidcomposer.editors
Class ErrorCheckingText

java.lang.Object
  extended by 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)
           
 
Method Summary
 void assignValue()
          Programmatically assigns the current value, without any error checking.
protected abstract  void assignValue(java.lang.String text)
           
protected  void clearError()
           
protected  org.eclipse.swt.graphics.Color getBorderColor()
           
protected  org.eclipse.swt.widgets.Composite getBorderParent(org.eclipse.swt.widgets.Composite parent)
           
 org.eclipse.swt.custom.StyledText getControl()
           
 java.lang.String getError()
           
protected abstract  java.lang.String getLabel()
           
protected  StyledTextNavigator getNavigator()
           
protected  org.eclipse.ui.forms.widgets.FormToolkit getToolkit()
           
protected  void handleEscape()
           
protected  void handleModifyText()
           
protected  StyledTextNavigator initializeNavigator()
           
 boolean isDirty()
           
 void reset()
           
protected  void setDirty(boolean value)
           
protected  void setError(java.lang.String e)
           
abstract  void updateStatus()
           
protected  void updateText()
           
protected  void verifyCR(org.eclipse.swt.events.VerifyEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorCheckingText

public ErrorCheckingText(org.eclipse.swt.widgets.Composite parent,
                         org.eclipse.ui.forms.widgets.FormToolkit toolkit,
                         int style)
Method Detail

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)