public AppDomainViewContent(AppDomainBasedProtobuildEditorHost editor, AppDomainOpenedFile openFile)
		{
		    this.editor = editor;
			this.openFile = openFile;
         
            this.graphicsProxy = new ProxiedGraphicsContext (null);
            this.windowProxy = new ProxiedWindowInfo (null);

            GLib.Timeout.Add(16, this.OpenWhenStabilized);

            area = new DrawingArea();
	        area.ExposeEvent += (o, args) => {
                if (!canInit)
                {
	                canInit = true;
	            }
	        };
            area.ConfigureEvent += (o, args) =>
            {
                if (!IsSuspended)
                {
                    try
                    {
                        openFile.Behaviour.Resize(
                            area.Allocation.Width,
                            area.Allocation.Height);
                    }
                    catch
                    {
                    }
                }
	        };
            area.ShowAll ();

			this.IsDirty = true;
		}
        public AppDomainDisplayBinding(AppDomainBasedProtobuildEditorHost editor, AppDomainOpenedFileList openFileList, string fileExtension)
		{
			this.editor = editor;
			openedFileList = openFileList;
			extension = fileExtension;
		}