org.topbraidcomposer.widgets.row.editors
Class LiteralEditorText

java.lang.Object
  extended by org.topbraidcomposer.editors.ErrorCheckingText
      extended by org.topbraidcomposer.widgets.row.editors.AbstractEditorText
          extended by org.topbraidcomposer.widgets.row.editors.LiteralEditorText

public class LiteralEditorText
extends AbstractEditorText


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

Constructor Detail

LiteralEditorText

public LiteralEditorText(org.eclipse.swt.widgets.Composite parent,
                         org.eclipse.ui.forms.widgets.FormToolkit toolkit,
                         com.hp.hpl.jena.rdf.model.Statement statement,
                         java.lang.String datatypeURI)
Method Detail

getNewLiteral

protected com.hp.hpl.jena.rdf.model.Literal getNewLiteral(java.lang.String str)

updateStatus

public void updateStatus()

assignValue

protected void assignValue(java.lang.String text)
Specified by:
assignValue in class ErrorCheckingText

getNewLiteral

protected com.hp.hpl.jena.rdf.model.Literal getNewLiteral()