Sha256: 72b81257f33ab30d33948aa33fce4efff97c5aa4754e0d1217f69bb9493a0b26
Contents?: true
Size: 1.99 KB
Versions: 1
Compression:
Stored size: 1.99 KB
Contents
/* Copyright Ideaconsult Ltd. (C) 2005-2007 Contact: nina@acad.bg This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. All we ask is that proper credit is given for our work, which includes - but is not limited to - adding the above copyright notice to the beginning of your source code files, and to any copyright notice that you may distribute with programs based on this work. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ package toxtree.ui.molecule; import javax.swing.AbstractAction; import javax.swing.Icon; import org.openscience.cdk.interfaces.IMolecule; /** * An abstract action to perform smth on a molecule * * @author Nina Jeliazkova * */ public abstract class AbstractMoleculeAction extends AbstractAction { /** * */ private static final long serialVersionUID = -5270491315560823241L; protected IMolecule molecule; public AbstractMoleculeAction(IMolecule molecule) { super("Edit molecule"); this.molecule = molecule; } public AbstractMoleculeAction(IMolecule molecule, String arg0) { super(arg0); this.molecule = molecule; } public AbstractMoleculeAction(IMolecule molecule, String arg0, Icon arg1) { super(arg0, arg1); this.molecule = molecule; } public IMolecule getMolecule() { return molecule; } public void setMolecule(IMolecule molecule) { this.molecule = molecule; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
toxtree-0.0.1 | Toxtree-v2.6.13/src/toxtree/ui/molecule/AbstractMoleculeAction.java |