/// <summary>
		///	<see cref="ExpressionItemWidget"/>'s constructor.
		/// </summary>
		/// <param name="container">
		/// The item widget container.
		/// </param>
		public ExpressionItemWidget(IExpressionItemContainer container) 
			: base(0.5f, 0.5f, 1,1)
		{
			this.container = container;
			
			options = new ExpressionItemOptions();
		}
		/// <summary>
		/// Shows the options dialog.
		/// </summary>
		protected void ShowOptions()
		{
			ExpressionItemOptionsDialog dialog = 
				new ExpressionItemOptionsDialog(this.container.Window , 
				                                this.GetType());
			
			dialog.Options = this.options;
			ResponseType res = dialog.Show();
			if(res == ResponseType.Ok)
			{
				this.options = dialog.Options;
				
			}
			dialog.Destroy();
		}