package org.concord.framework.otrunk.view;

import java.util.Vector;

import org.concord.framework.otrunk.OTChangeListener;
import org.concord.framework.otrunk.OTObject;
import org.concord.framework.otrunk.OTObjectService;

public interface OTLabbookManager
{
	public void add(OTObject otObject);
	
	public void add(OTObject otObject, OTObject container);
	
	public void addSnapshot(OTObject snapshot);
	
	public void addDataCollector(OTObject dataCollector);
	
	public void addDrawingTool(OTObject drawingTool);
	
	public void addText(OTObject text);
	
	public void remove(OTObject labbookEntry);
	
	public Vector getSnapshots();
	
	public Vector getGraphs();
	
	public Vector getDrawings();
	
	public Vector getText();

	public Vector getAllEntries();
	
	public boolean isEmpty();
	
	public void addLabbookListener(OTChangeListener listener);
	
	public void removeLabbookListener(OTChangeListener listener);

//	public void setOTObjectService(OTObjectService objectService);
	
}

@@ -258,74 +258,599 @@
 %0A%7B%0A%09
-public void add(OTObject otObject);%0A%09%0A%09public void add(OTObject ot
+/*%0A%09 * This object will be added directly to an entry, so the original should be cloned, preferably%0A%09 * using the copy method in the OTLabbookViewProvider for the object%0A%09 */ %0A%09public void add(OTObject otObject);%0A%09%0A%09/*%0A%09 * If a refence to the original object is included, it will be easier to tie the entry back%0A%09 * to its origins.%0A%09 */%0A%09public void add(OTObject otObject, OTObject originalObject);%0A%09%0A%09/*%0A%09 * A container, such as the section the object was in, should be included to allow the lab%0A%09 * book to sort based on contaner.%0A%09 */%0A%09public void add(OTObject otObject, OTObject original
 Obje
@@ -1431,75 +1431,8 @@
 er);
-%0A%0A//%09public void setOTObjectService(OTObjectService objectService);
 %0A%09%0A%7D

Update methods on interface to allow adding reference objects