From: Miguel <mig...@us...> - 2004-11-18 17:42:26
|
Update of /cvsroot/jmol/Jmol/src/org/jmol/api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26390/src/org/jmol/api Added Files: JmolStatusListener.java Log Message: moved JmolStatusListener into API --- NEW FILE: JmolStatusListener.java --- /* $RCSfile: JmolStatusListener.java,v $ * $Author: migueljmol $ * $Date: 2004/11/18 17:42:16 $ * $Revision: 1.1 $ * * Copyright (C) 2002-2004 The Jmol Development Team * * Contact: jmo...@li... * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA. */ package org.jmol.api; public interface JmolStatusListener { public void notifyFileLoaded(String fullPathName, String fileName, String modelName, Object clientFile); public void notifyFileNotLoaded(String fullPathName, String errorMsg); public void setStatusMessage(String statusMessage); public void scriptEcho(String strEcho); public void scriptStatus(String strStatus); public void notifyScriptTermination(String statusMessage, int msWalltime); public void handlePopupMenu(int x, int y); public void notifyMeasurementsChanged(); public void notifyFrameChanged(int frameNo); public void notifyAtomPicked(int atomIndex, String strInfo); } |