org.topbraidcomposer.widgets
Class AbstractWidget

java.lang.Object
  extended by org.eclipse.ui.forms.AbstractFormPart
      extended by org.topbraidcomposer.widgets.AbstractWidget
All Implemented Interfaces:
org.eclipse.ui.forms.IFormPart, IWidget
Direct Known Subclasses:
AbstractPropertyWidget

public abstract class AbstractWidget
extends org.eclipse.ui.forms.AbstractFormPart
implements IWidget

A base class for form parts that implement IWidget.

Author:
Holger Knublauch

Constructor Summary
protected AbstractWidget()
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.Resource getSubject()
          Gets the subject that is currently assigned to this.
protected  org.eclipse.ui.forms.widgets.FormToolkit getToolkit()
           
 void setSubject(com.hp.hpl.jena.rdf.model.Resource subject)
          Notifies this that the subject has changed.
 
Methods inherited from class org.eclipse.ui.forms.AbstractFormPart
commit, dispose, getManagedForm, initialize, isDirty, isStale, markDirty, markStale, refresh, setFocus, setFormInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.topbraidcomposer.widgets.IWidget
getControl
 
Methods inherited from interface org.eclipse.ui.forms.IFormPart
commit, dispose, initialize, isDirty, isStale, refresh, setFocus, setFormInput
 

Constructor Detail

AbstractWidget

protected AbstractWidget()
Method Detail

getSubject

public com.hp.hpl.jena.rdf.model.Resource getSubject()
Description copied from interface: IWidget
Gets the subject that is currently assigned to this.

Specified by:
getSubject in interface IWidget
Returns:
the subject

getToolkit

protected org.eclipse.ui.forms.widgets.FormToolkit getToolkit()

setSubject

public void setSubject(com.hp.hpl.jena.rdf.model.Resource subject)
Description copied from interface: IWidget
Notifies this that the subject has changed.

Specified by:
setSubject in interface IWidget
Parameters:
subject - the new subject