Search in sources :

Example 6 with Transport

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

the class PathwayReader method addObjectTransport.

private Transport addObjectTransport(Element element) {
    Transport transport = new TransportImpl();
    addAttributes(transport, element);
    for (Object child : element.getChildren()) {
        if (child instanceof Element) {
            Element childElement = (Element) child;
            if (!addContentTransport(transport, element, childElement)) {
                showUnexpected(childElement, transport);
            }
        }
    }
    pathwayModel.add(transport);
    return transport;
}
Also used : Element(org.jdom.Element) TransportImpl(org.vcell.pathway.TransportImpl) BioPaxObject(org.vcell.pathway.BioPaxObject) Transport(org.vcell.pathway.Transport)

Aggregations

Transport (org.vcell.pathway.Transport)6 BioPaxObject (org.vcell.pathway.BioPaxObject)4 PhysicalEntity (org.vcell.pathway.PhysicalEntity)4 ConversionTableRow (org.vcell.relationship.ConversionTableRow)3 RelationshipObject (org.vcell.relationship.RelationshipObject)3 ArrayList (java.util.ArrayList)2 Element (org.jdom.Element)2 Conversion (org.vcell.pathway.Conversion)2 Entity (org.vcell.pathway.Entity)2 GroupObject (org.vcell.pathway.GroupObject)2 TransportImpl (org.vcell.pathway.TransportImpl)2 ZoomRangeException (cbit.gui.graph.GraphResizeManager.ZoomRangeException)1 BioModel (cbit.vcell.biomodel.BioModel)1 ActiveView (cbit.vcell.client.desktop.biomodel.SelectionManager.ActiveView)1 Model (cbit.vcell.model.Model)1 StructureTopology (cbit.vcell.model.Model.StructureTopology)1 HashSet (java.util.HashSet)1 DefaultComboBoxModel (javax.swing.DefaultComboBoxModel)1 MolecularType (org.vcell.model.rbm.MolecularType)1 Catalysis (org.vcell.pathway.Catalysis)1