Logo Search packages:      
Sourcecode: cdk version File versions  Download package

org.openscience.cdk.interfaces.IReaction org::openscience::cdk::applications::jchempaint::action::CreateReactionAction::getReaction ( org.openscience.cdk.interfaces.IReactionSet  reactionSet,
String  id 
) [inline, private]

Gets the reaction attribute of the CreateReactionAction object

reactionSet Description of the Parameter
id Description of the Parameter
The reaction value

Definition at line 234 of file CreateReactionAction.java.

References org::openscience::cdk::interfaces::IChemObject::getID().

Referenced by actionPerformed().

            java.util.Iterator reactionIter = reactionSet.reactions();
            while (reactionIter.hasNext())
                  IReaction reaction = (IReaction)reactionIter.next();
                  if (reaction.getID().equals(id))
                        return reaction;
            return null;

Generated by  Doxygen 1.6.0   Back to index