org.topbraidcomposer.widgets.row.editors
Class AbstractComboBoxEditor

java.lang.Object
  extended by org.topbraidcomposer.widgets.row.editors.AbstractRowEditor
      extended by org.topbraidcomposer.widgets.row.editors.AbstractComboBoxEditor
All Implemented Interfaces:
IStatementProvider, IRowEditor
Direct Known Subclasses:
BooleanEditor, ComboBoxEditor

public abstract class AbstractComboBoxEditor
extends AbstractRowEditor


Field Summary
 
Fields inherited from class org.topbraidcomposer.widgets.row.editors.AbstractRowEditor
statement
 
Constructor Summary
AbstractComboBoxEditor(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.forms.widgets.FormToolkit toolkit, com.hp.hpl.jena.rdf.model.Statement statement)
           
 
Method Summary
 void addDropDownMenuActions(org.eclipse.jface.action.IMenuManager menuManager)
           
protected abstract  java.util.Iterator createValidNodes(com.hp.hpl.jena.rdf.model.Statement statement)
           
 org.eclipse.swt.widgets.Control getControl()
           
 com.hp.hpl.jena.rdf.model.Statement getStatement()
           
 java.lang.String getText()
          Gets the currently edited value as text (for drag-and-drop).
 boolean isDirty()
           
 
Methods inherited from class org.topbraidcomposer.widgets.row.editors.AbstractRowEditor
assign, getStatements, isReadOnly, updateState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractComboBoxEditor

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

addDropDownMenuActions

public void addDropDownMenuActions(org.eclipse.jface.action.IMenuManager menuManager)

createValidNodes

protected abstract java.util.Iterator createValidNodes(com.hp.hpl.jena.rdf.model.Statement statement)

getControl

public org.eclipse.swt.widgets.Control getControl()

getStatement

public com.hp.hpl.jena.rdf.model.Statement getStatement()
Overrides:
getStatement in class AbstractRowEditor

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 AbstractRowEditor
Returns:
a textual representation or null if there is no suitable text

isDirty

public boolean isDirty()
Overrides:
isDirty in class AbstractRowEditor