The data source class has other methods which must be
implemented because they are abstract, but they do nothing. The following
code example shows these methods.
Implementation of unused abstract methods
public void write(IlvDiagrammer diagrammer)
throws IlvDiagrammerException
{
}
protected void serializeImpl(Element element)
throws IlvDiagrammerException
{
}
protected void deserializeImpl(Element element)
throws IlvDiagrammerException
{
}
The write
method is not needed
because the molecule data cannot be written.
The serialize
method is not
needed because there is no need to write any additional information
to define the data source in a project file.
The deserialize
method is
not needed because there is no need to read any additional information
to load the data source from a project file.