/*
 *  Copyright (C) 2004  The Concord Consortium, Inc.,
 *  10 Concord Crossing, Concord, MA 01742
 *
 *  Web Site: http://www.concord.org
 *  Email: info@concord.org
 *
 *  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
 *
 * END LICENSE */

/*
 * Last modification information:
 * $Revision: 1.4 $
 * $Date: 2007-07-13 16:00:34 $
 * $Author: sfentress $
 *
 * Licence Information
 * Copyright 2004 The Concord Consortium 
*/
package org.concord.framework.otrunk.view;

import org.concord.framework.otrunk.OTObject;


/**
 * OTFrameManager
 * Class name and description
 *
 * Date created: Jan 21, 2005
 *
 * @author scott<p>
 *
 */
public interface OTFrameManager
{
	/**
	 * This will use the viewFactory to find the default view for
	 * the otObject.
	 *  
	 * @param otObject
	 * @param otFrame
	 */
	public void putObjectInFrame(OTObject otObject, OTFrame otFrame);
	
	/**
	 * This will use the viewEntry passed in to get the 
	 * view for the otObject.
	 *  
	 * @param otObject
	 * @param viewEntry
	 * @param otFrame
	 */
	public void putObjectInFrame(OTObject otObject, 
			OTViewEntry viewEntry, OTFrame otFrame);

	/**
	 * This will use the viewEntry passed in to get the 
	 * view for the otObject.
	 *  
	 * @param otObject
	 * @param viewEntry
	 * @param otFrame
	 * @param viewMode
	 */
	public void putObjectInFrame(OTObject otObject, 
			OTViewEntry viewEntry, OTFrame otFrame, String viewMode);
	
	/**
	 * This will use the viewEntry passed in to get the 
	 * view for the otObject.
	 *  
	 * @param otObject
	 * @param viewEntry
	 * @param otFrame
	 * @param viewMode
	 * @param positionX frame's top-left corner x
	 * @param positionY frame's top-left corner y
	 */
	public void putObjectInFrame(OTObject otObject, OTViewEntry viewEntry, OTFrame otFrame, String viewMode, 
			int positionX, int positionY);
	
	public void distroyFrame();
}

@@ -986,17 +986,17 @@
 sion: 1.
-4
+5
  $%0A * $D
@@ -1012,19 +1012,19 @@
 -07-
-13 16:00:34
+31 14:58:26
  $%0A 
@@ -1560,32 +1560,361 @@
 tFrame);%0A%09%0A%09/**%0A
+%09 * This will use the viewFactory to find the default view for%0A%09 * the otObject.%0A%09 *  %0A%09 * @param otObject%0A%09 * @param otFrame%0A%09 * @param positionX frame's top-left corner x%0A%09 * @param positionY frame's top-left corner y%0A%09 */%0A%09public void putObjectInFrame(OTObject otObject, OTFrame otFrame, int positionX, int positionY);%0A%09%0A%09/**%0A
 %09 * This will us

Add another option for putting object in frame