From: <eg...@us...> - 2008-12-03 16:51:27
|
Revision: 13446 http://cdk.svn.sourceforge.net/cdk/?rev=13446&view=rev Author: egonw Date: 2008-12-03 16:51:24 +0000 (Wed, 03 Dec 2008) Log Message: ----------- Made getChemMOdel() symmetric Modified Paths: -------------- cdk/branches/jchempaint-primary/src/main/org/openscience/cdk/controller/ControllerHub.java cdk/branches/jchempaint-primary/src/main/org/openscience/cdk/controller/IChemModelRelay.java Modified: cdk/branches/jchempaint-primary/src/main/org/openscience/cdk/controller/ControllerHub.java =================================================================== --- cdk/branches/jchempaint-primary/src/main/org/openscience/cdk/controller/ControllerHub.java 2008-12-03 16:37:03 UTC (rev 13445) +++ cdk/branches/jchempaint-primary/src/main/org/openscience/cdk/controller/ControllerHub.java 2008-12-03 16:51:24 UTC (rev 13446) @@ -110,7 +110,10 @@ return chemModel; } - + public void setChemModel(IChemModel model) { + this.chemModel = model; + } + /** * Unregister all general IController2DModules. */ Modified: cdk/branches/jchempaint-primary/src/main/org/openscience/cdk/controller/IChemModelRelay.java =================================================================== --- cdk/branches/jchempaint-primary/src/main/org/openscience/cdk/controller/IChemModelRelay.java 2008-12-03 16:37:03 UTC (rev 13445) +++ cdk/branches/jchempaint-primary/src/main/org/openscience/cdk/controller/IChemModelRelay.java 2008-12-03 16:51:24 UTC (rev 13446) @@ -41,6 +41,7 @@ public abstract IControllerModel getController2DModel(); public abstract IJava2DRenderer getIJava2DRenderer(); public abstract IChemModel getIChemModel(); + public void setChemModel(IChemModel model); public abstract IAtom getClosestAtom(Point2d worldCoord); public abstract IBond getClosestBond(Point2d worldCoord); public abstract void updateView(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |