org.topbraidcomposer.widgets.row.editors
Class AbstractEditorText

java.lang.Object
  extended by org.topbraidcomposer.editors.ErrorCheckingText
      extended by org.topbraidcomposer.widgets.row.editors.AbstractEditorText
Direct Known Subclasses:
ClassEditorText, InstanceEditorText, LiteralEditorText, RDFListEditorText, StringEditorText

public abstract class AbstractEditorText
extends ErrorCheckingText


Constructor Summary
AbstractEditorText(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.forms.widgets.FormToolkit toolkit, com.hp.hpl.jena.rdf.model.Statement statement)
           
AbstractEditorText(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.forms.widgets.FormToolkit toolkit, com.hp.hpl.jena.rdf.model.Statement statement, int style)
           
 
Method Summary
protected  void addOrReplaceObject(IObjectProvider objectProvider, java.lang.String text)
           
protected  void deleteStatement()
           
protected  java.lang.String getLabel()
           
protected  com.hp.hpl.jena.ontology.OntModel getModel()
           
protected  com.hp.hpl.jena.rdf.model.Statement getStatement()
           
 void handleEscape()
           
protected  boolean runAdditionalErrorCheckers(java.lang.String text)
           
 void updateState()
           
protected  void updateToolTipText(org.eclipse.swt.events.MouseEvent e)
           
protected  void verifyCR(org.eclipse.swt.events.VerifyEvent event)
           
 
Methods inherited from class org.topbraidcomposer.editors.ErrorCheckingText
assignValue, assignValue, clearError, getBorderColor, getBorderParent, getControl, getError, getNavigator, getToolkit, handleModifyText, initializeNavigator, isDirty, reset, setDirty, setError, updateStatus, updateText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEditorText

public AbstractEditorText(org.eclipse.swt.widgets.Composite parent,
                          org.eclipse.ui.forms.widgets.FormToolkit toolkit,
                          com.hp.hpl.jena.rdf.model.Statement statement)

AbstractEditorText

public AbstractEditorText(org.eclipse.swt.widgets.Composite parent,
                          org.eclipse.ui.forms.widgets.FormToolkit toolkit,
                          com.hp.hpl.jena.rdf.model.Statement statement,
                          int style)
Method Detail

addOrReplaceObject

protected void addOrReplaceObject(IObjectProvider objectProvider,
                                  java.lang.String text)

deleteStatement

protected void deleteStatement()

getLabel

protected java.lang.String getLabel()
Specified by:
getLabel in class ErrorCheckingText

getModel

protected com.hp.hpl.jena.ontology.OntModel getModel()

getStatement

protected com.hp.hpl.jena.rdf.model.Statement getStatement()

handleEscape

public void handleEscape()
Overrides:
handleEscape in class ErrorCheckingText

runAdditionalErrorCheckers

protected boolean runAdditionalErrorCheckers(java.lang.String text)

updateState

public void updateState()

updateToolTipText

protected void updateToolTipText(org.eclipse.swt.events.MouseEvent e)

verifyCR

protected void verifyCR(org.eclipse.swt.events.VerifyEvent event)
Overrides:
verifyCR in class ErrorCheckingText