package CH.ifa.draw.standard;

import java.io.DataInputStream;
import java.io.DataOutputStream;

import bibliothek.gui.dock.common.MultipleCDockableLayout;
import bibliothek.util.xml.XElement;

import de.renew.draw.storables.ontology.Drawing;


/**
 * A simple wrapper used to separate the concept of {@link MultipleCDockableLayout} from the docking-frames framework from the rest of the application.
 * This way plugins using {@link Drawing} don't need to import an external framework.
 * 
 * @author 4wincier
 *
 */
public class DrawingLayoutWrapper implements MultipleCDockableLayout {

    final Drawing _drawing;

    public DrawingLayoutWrapper(Drawing drawing) {
        _drawing = drawing;
    }

    public Drawing drawing() {
        return _drawing;
    }

    @Override
    public void readStream(DataInputStream arg0) {
        // TODO Auto-generated method stub

    }

    @Override
    public void readXML(XElement arg0) {
        // TODO Auto-generated method stub

    }

    @Override
    public void writeStream(DataOutputStream arg0) {
        // TODO Auto-generated method stub

    }

    @Override
    public void writeXML(XElement arg0) {
        // TODO Auto-generated method stub

    }

}
