java.lang.Object
java.util.EventObject
org.bdgp.apps.dagedit.gui.event.TextEditorUpdateEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class TextEditorUpdateEvent
- extends java.util.EventObject
An update to the text editor. This kind of event is intended for use
with plugins that fetch some additional information about a term and
give the option to fill in the text editor with that info (the change
is not committed until the commit button is clicked).
This event will eventually allow every aspect of a the text editor to
be updated. For now, only the definition can be updated. This class
has been constructed in such a way that older code will not be broken
as this class grows.
Fields that are set to null are ignored, NOT reset. To reset a value,
set it to an empty value, such as "" or an empty vector.
newDefinition
protected java.lang.String newDefinition
dbxrefChanges
protected java.util.Vector dbxrefChanges
TextEditorUpdateEvent
public TextEditorUpdateEvent(java.lang.Object source)
setDbxrefUpdates
public void setDbxrefUpdates(java.util.Vector in)
getDbxrefUpdates
public java.util.Vector getDbxrefUpdates()
setNewDefinition
public void setNewDefinition(java.lang.String newDefinition)
getNewDefinition
public java.lang.String getNewDefinition()