org.topbraidcomposer.widgets.row.editors
Class LiteralEditor
java.lang.Object
org.topbraidcomposer.widgets.row.editors.AbstractTextRowEditor
org.topbraidcomposer.widgets.row.editors.LiteralEditor
- All Implemented Interfaces:
- IStatementProvider, ITextRowEditor, IAssignableRowEditor, IRowEditor
public class LiteralEditor
- extends AbstractTextRowEditor
|
Constructor Summary |
LiteralEditor(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
com.hp.hpl.jena.rdf.model.Statement statement,
IRowEditorCallback callback)
|
|
Method Summary |
protected AbstractEditorText |
createEditorText(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
com.hp.hpl.jena.rdf.model.Statement statement)
|
java.lang.String |
getText()
Gets the currently edited value as text (for drag-and-drop). |
void |
updateState()
Advises the editor to update its display state, e.g. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
datatypeURI
public static java.lang.String datatypeURI
LiteralEditor
public LiteralEditor(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
com.hp.hpl.jena.rdf.model.Statement statement,
IRowEditorCallback callback)
createEditorText
protected AbstractEditorText createEditorText(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
com.hp.hpl.jena.rdf.model.Statement statement)
- Specified by:
createEditorText in class AbstractTextRowEditor
getText
public java.lang.String getText()
- Description copied from interface:
IRowEditor
- Gets the currently edited value as text (for drag-and-drop).
- Specified by:
getText in interface IRowEditor- Overrides:
getText in class AbstractTextRowEditor
- Returns:
- a textual representation or null if there is no suitable text
updateState
public void updateState()
- Description copied from interface:
IRowEditor
- Advises the editor to update its display state, e.g. to change the
background color or icon.
- Specified by:
updateState in interface IRowEditor- Overrides:
updateState in class AbstractTextRowEditor