Search in sources :

Example 6 with MolecularInteraction

use of org.vcell.pathway.MolecularInteraction in project vcell by virtualcell.

the class PathwayReaderBiopax3 method addObjectMolecularInteraction.

private MolecularInteraction addObjectMolecularInteraction(Element element) {
    MolecularInteraction molecularInteraction = new MolecularInteraction();
    addAttributes(molecularInteraction, element);
    for (Object child : element.getChildren()) {
        if (!addContentMolecularInteraction(molecularInteraction, element, (Element) child)) {
            showUnexpected((Element) child);
        }
    }
    pathwayModel.add(molecularInteraction);
    return molecularInteraction;
}
Also used : MolecularInteraction(org.vcell.pathway.MolecularInteraction) Element(org.jdom.Element) GroupObject(org.vcell.pathway.GroupObject) BioPaxObject(org.vcell.pathway.BioPaxObject)

Aggregations

MolecularInteraction (org.vcell.pathway.MolecularInteraction)6 BioPaxObject (org.vcell.pathway.BioPaxObject)5 Element (org.jdom.Element)4 GroupObject (org.vcell.pathway.GroupObject)4 Complex (org.vcell.pathway.Complex)2 Conversion (org.vcell.pathway.Conversion)2 Dna (org.vcell.pathway.Dna)2 Protein (org.vcell.pathway.Protein)2 Rna (org.vcell.pathway.Rna)2 SmallMolecule (org.vcell.pathway.SmallMolecule)2 EdgeShape (cbit.gui.graph.EdgeShape)1 Shape (cbit.gui.graph.Shape)1 Dimension (java.awt.Dimension)1 Rectangle (java.awt.Rectangle)1 HashSet (java.util.HashSet)1 Control (org.vcell.pathway.Control)1 DnaRegion (org.vcell.pathway.DnaRegion)1 GeneticInteraction (org.vcell.pathway.GeneticInteraction)1 Interaction (org.vcell.pathway.Interaction)1 Pathway (org.vcell.pathway.Pathway)1