/// <summary>
        ///
        /// </summary>
        public static void Init()
        {
            if (Initialized)
            {
                return;
            }

            typeToEditor = new Dictionary <Type, Type>();
            InitEditors();

            typeToContextMenu = new Dictionary <Type, ContextMenu>();
            InitContextMenus();
            commonContextMenu = new CommonContextMenu();

            Initialized = true;
        }
Example #2
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MenuControl));
     this.popupMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.toolStripIdShow = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripOneWayArrow = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripAnotherArrow = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripBidirArrow = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripConstant = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripDeleteArrow = new System.Windows.Forms.ToolStripMenuItem();
     this.commonMenu = new Ecell.IDE.CommonContextMenu();
     this.toolStripCut = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripCopy = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripPaste = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripDelete = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripAlias = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripShowEdge = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripDeleteAlias = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripChangeLayer = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripTextAlign = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripAlignLeft = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripAlignCenter = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripAlignRight = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSetZOrder = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMoveFront = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMoveForward = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMoveBackward = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMoveBack = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripFigureSetting = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripShowID = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSetHandIcon = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripAnimationSetting = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripProperty = new System.Windows.Forms.ToolStripMenuItem();
     this.toolButton = new System.Windows.Forms.ToolStrip();
     this.toolButtonHand = new Ecell.IDE.Plugins.PathwayWindow.UIComponent.PathwayToolStripButton();
     this.toolButtonSelect = new Ecell.IDE.Plugins.PathwayWindow.UIComponent.PathwayToolStripButton();
     this.toolButtonSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.toolButtonOverview = new System.Windows.Forms.ToolStripButton();
     this.toolButtonAnimation = new System.Windows.Forms.ToolStripButton();
     this.toolButtonZoomin = new System.Windows.Forms.ToolStripButton();
     this.toolButtonZoomout = new System.Windows.Forms.ToolStripButton();
     this.toolButtonZoomRate = new System.Windows.Forms.ToolStripComboBox();
     this.toolButtonSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.toolButtonArrow = new Ecell.IDE.Plugins.PathwayWindow.UIComponent.PathwayToolStripButton();
     this.toolButtonBidirArrow = new Ecell.IDE.Plugins.PathwayWindow.UIComponent.PathwayToolStripButton();
     this.toolButtonConst = new Ecell.IDE.Plugins.PathwayWindow.UIComponent.PathwayToolStripButton();
     this.toolMenu = new System.Windows.Forms.ToolStrip();
     this.MenuItemFile = new System.Windows.Forms.ToolStripMenuItem();
     this.toolMenuExport = new System.Windows.Forms.ToolStripMenuItem();
     this.MenuItemView = new System.Windows.Forms.ToolStripMenuItem();
     this.toolMenuFocusMode = new System.Windows.Forms.ToolStripMenuItem();
     this.toolMenuShowID = new System.Windows.Forms.ToolStripMenuItem();
     this.toolMenuAnimation = new System.Windows.Forms.ToolStripMenuItem();
     this.MenuItemEdit = new System.Windows.Forms.ToolStripMenuItem();
     this.toolMenuCut = new System.Windows.Forms.ToolStripMenuItem();
     this.toolMenuCopy = new System.Windows.Forms.ToolStripMenuItem();
     this.toolMenuPaste = new System.Windows.Forms.ToolStripMenuItem();
     this.toolMenuDelete = new System.Windows.Forms.ToolStripMenuItem();
     this.popupMenu.SuspendLayout();
     this.toolButton.SuspendLayout();
     this.toolMenu.SuspendLayout();
     //
     // popupMenu
     //
     this.popupMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripIdShow,
     this.toolStripSeparator1,
     this.toolStripOneWayArrow,
     this.toolStripAnotherArrow,
     this.toolStripBidirArrow,
     this.toolStripConstant,
     this.toolStripDeleteArrow,
     this.commonMenu.addToolStripMenuItem,
     this.toolStripCut,
     this.toolStripCopy,
     this.toolStripPaste,
     this.toolStripDelete,
     this.commonMenu.mergeSystemToolStripMenuItem,
     this.toolStripAlias,
     this.toolStripShowEdge,
     this.toolStripDeleteAlias,
     this.toolStripSeparator2,
     this.toolStripTextAlign,
     this.toolStripChangeLayer,
     this.toolStripSetZOrder,
     this.toolStripFigureSetting,
     this.toolStripShowID,
     this.toolStripSetHandIcon,
     this.toolStripAnimationSetting,
     this.toolStripSeparator3,
     this.commonMenu.loggingToolStripMenuItem,
     this.commonMenu.observedToolStripMenuItem,
     this.commonMenu.parameterToolStripMenuItem,
     this.commonMenu.propertyToolStripMenuItem});
     this.popupMenu.Name = "popupMenu";
     this.popupMenu.Opening += new CancelEventHandler(popupMenu_Opening);
     this.popupMenu.Size = new System.Drawing.Size(272, 462);
     //
     // toolStripIdShow
     //
     this.toolStripIdShow.Name = "toolStripIdShow";
     this.toolStripIdShow.Size = new System.Drawing.Size(271, 22);
     this.toolStripIdShow.Visible = false;
     this.toolStripIdShow.Enabled = false;
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(268, 6);
     this.toolStripSeparator1.Visible = false;
     //
     // toolStripOneWayArrow
     //
     this.toolStripOneWayArrow.Name = "toolStripOneWayArrow";
     this.toolStripOneWayArrow.Size = new System.Drawing.Size(271, 22);
     this.toolStripOneWayArrow.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuOnewayArrow;
     this.toolStripOneWayArrow.Visible = false;
     this.toolStripOneWayArrow.Click += new System.EventHandler(this.ChangeLineClick);
     //
     // toolStripAnotherArrow
     //
     this.toolStripAnotherArrow.Name = "toolStripAnotherArrow";
     this.toolStripAnotherArrow.Size = new System.Drawing.Size(271, 22);
     this.toolStripAnotherArrow.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuAnotherArrow;
     this.toolStripAnotherArrow.Visible = false;
     this.toolStripAnotherArrow.Click += new System.EventHandler(this.ChangeLineClick);
     //
     // toolStripBidirArrow
     //
     this.toolStripBidirArrow.Name = "toolStripBidirArrow";
     this.toolStripBidirArrow.Size = new System.Drawing.Size(271, 22);
     this.toolStripBidirArrow.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuBidirArrow;
     this.toolStripBidirArrow.Visible = false;
     this.toolStripBidirArrow.Click += new System.EventHandler(this.ChangeLineClick);
     //
     // toolStripConstant
     //
     this.toolStripConstant.Name = "toolStripConstant";
     this.toolStripConstant.Size = new System.Drawing.Size(271, 22);
     this.toolStripConstant.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuConstantLine;
     this.toolStripConstant.Visible = false;
     this.toolStripConstant.Click += new System.EventHandler(this.ChangeLineClick);
     //
     // toolStripDeleteArrow
     //
     this.toolStripDeleteArrow.Name = "toolStripDeleteArrow";
     this.toolStripDeleteArrow.Size = new System.Drawing.Size(271, 22);
     this.toolStripDeleteArrow.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuDelete;
     this.toolStripDeleteArrow.Visible = false;
     this.toolStripDeleteArrow.Click += new System.EventHandler(this.ChangeLineClick);
     //
     // commonMenu
     //
     this.commonMenu.Environment = null;
     //
     // toolStripCut
     //
     this.toolStripCut.Name = "toolStripCut";
     this.toolStripCut.Size = new System.Drawing.Size(271, 22);
     this.toolStripCut.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuCut;
     this.toolStripCut.Visible = false;
     this.toolStripCut.Click += new System.EventHandler(this.CutClick);
     //
     // toolStripCopy
     //
     this.toolStripCopy.Name = "toolStripCopy";
     this.toolStripCopy.Size = new System.Drawing.Size(271, 22);
     this.toolStripCopy.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuCopy;
     this.toolStripCopy.Visible = false;
     this.toolStripCopy.Click += new System.EventHandler(this.CopyClick);
     //
     // toolStripPaste
     //
     this.toolStripPaste.Name = "toolStripPaste";
     this.toolStripPaste.Size = new System.Drawing.Size(271, 22);
     this.toolStripPaste.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuPaste;
     this.toolStripPaste.Visible = false;
     this.toolStripPaste.Click += new System.EventHandler(this.PasteClick);
     //
     // toolStripDelete
     //
     this.toolStripDelete.Name = "toolStripDelete";
     this.toolStripDelete.Size = new System.Drawing.Size(271, 22);
     this.toolStripDelete.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuDelete;
     this.toolStripDelete.Visible = false;
     this.toolStripDelete.Click += new System.EventHandler(this.DeleteClick);
     //
     // toolStripAlias
     //
     this.toolStripAlias.Name = "toolStripAlias";
     this.toolStripAlias.Size = new System.Drawing.Size(271, 22);
     this.toolStripAlias.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuAlias;
     this.toolStripAlias.Visible = false;
     this.toolStripAlias.Click += new System.EventHandler(this.CreateAliasClick);
     //
     // toolStripDeleteAlias
     //
     this.toolStripDeleteAlias.Name = "toolStripDeleteAlias";
     this.toolStripDeleteAlias.Size = new System.Drawing.Size(271, 22);
     this.toolStripDeleteAlias.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuDeleteAlias;
     this.toolStripDeleteAlias.Visible = false;
     this.toolStripDeleteAlias.Click += new System.EventHandler(this.DeleteAliasClick);
     //
     // toolStripShowEdge
     //
     this.toolStripShowEdge.Name = "toolStripShowEdge";
     this.toolStripShowEdge.Size = new System.Drawing.Size(271, 22);
     this.toolStripShowEdge.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuShowEdge;
     this.toolStripShowEdge.Visible = false;
     this.toolStripShowEdge.CheckOnClick = true;
     this.toolStripShowEdge.Click += new System.EventHandler(this.ShowEdgeClick);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(268, 6);
     this.toolStripSeparator2.Visible = false;
     //
     // toolStripChangeLayer
     //
     this.toolStripChangeLayer.Name = "toolStripChangeLayer";
     this.toolStripChangeLayer.Size = new System.Drawing.Size(271, 22);
     this.toolStripChangeLayer.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuChangeLayer;
     this.toolStripChangeLayer.Visible = false;
     //
     // toolStripTextAlign
     //
     this.toolStripTextAlign.Name = "toolStripTextAlign";
     this.toolStripTextAlign.Size = new System.Drawing.Size(271, 22);
     this.toolStripTextAlign.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuTextAlign;
     this.toolStripTextAlign.Visible = false;
     this.toolStripTextAlign.DropDown.Items.AddRange(new ToolStripItem[] {
         this.toolStripAlignLeft,
         this.toolStripAlignCenter,
         this.toolStripAlignRight});
     //
     // toolStripAlignLeft
     //
     this.toolStripAlignLeft.Name = "toolStripAlignLeft";
     this.toolStripAlignLeft.Size = new System.Drawing.Size(271, 22);
     this.toolStripAlignLeft.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuAlignLeft;
     this.toolStripAlignLeft.Tag = StringAlignment.Near;
     this.toolStripAlignLeft.Click += new EventHandler(TextAlign_Click);
     //
     // toolStripAlignCenter
     //
     this.toolStripAlignCenter.Name = "toolStripAlignCenter";
     this.toolStripAlignCenter.Size = new System.Drawing.Size(271, 22);
     this.toolStripAlignCenter.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuAlignCenter;
     this.toolStripAlignCenter.Tag = StringAlignment.Center;
     this.toolStripAlignCenter.Click += new EventHandler(TextAlign_Click);
     //
     // toolStripAlignRight
     //
     this.toolStripAlignRight.Name = "toolStripAlignRight";
     this.toolStripAlignRight.Size = new System.Drawing.Size(271, 22);
     this.toolStripAlignRight.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuAlignRight;
     this.toolStripAlignRight.Tag = StringAlignment.Far;
     this.toolStripAlignRight.Click += new EventHandler(TextAlign_Click);
     //
     // toolStripMoveFront
     //
     this.toolStripSetZOrder.Name = "toolStripSetZOrder";
     this.toolStripSetZOrder.Size = new System.Drawing.Size(271, 22);
     this.toolStripSetZOrder.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuZOrder;
     this.toolStripSetZOrder.Visible = false;
     this.toolStripSetZOrder.DropDown.Items.AddRange(new ToolStripItem[] {
         this.toolStripMoveFront,
         this.toolStripMoveForward,
         this.toolStripMoveBackward,
         this.toolStripMoveBack});
     //
     // toolStripMoveFront
     //
     this.toolStripMoveFront.Name = "toolStripMoveFront";
     this.toolStripMoveFront.Size = new System.Drawing.Size(271, 22);
     this.toolStripMoveFront.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuBringFront;
     this.toolStripMoveFront.Click += new System.EventHandler(this.MoveToFrontClick);
     //
     // toolStripMoveFront
     //
     this.toolStripMoveForward.Name = "toolStripMoveForward";
     this.toolStripMoveForward.Size = new System.Drawing.Size(271, 22);
     this.toolStripMoveForward.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuBringForward;
     this.toolStripMoveForward.Click += new System.EventHandler(this.MoveToForwardClick);
     //
     // toolStripMoveBack
     //
     this.toolStripMoveBackward.Name = "toolStripMoveBackward";
     this.toolStripMoveBackward.Size = new System.Drawing.Size(271, 22);
     this.toolStripMoveBackward.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuSendBackward;
     this.toolStripMoveBackward.Click += new System.EventHandler(this.MoveToBackwardClick);
     //
     // toolStripMoveBack
     //
     this.toolStripMoveBack.Name = "toolStripMoveBack";
     this.toolStripMoveBack.Size = new System.Drawing.Size(271, 22);
     this.toolStripMoveBack.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuSendBack;
     this.toolStripMoveBack.Click += new System.EventHandler(this.MoveToBackClick);
     //
     // toolStripFigureSetting
     //
     this.toolStripFigureSetting.Name = "toolStripFigureSetting";
     this.toolStripFigureSetting.Size = new System.Drawing.Size(271, 22);
     this.toolStripFigureSetting.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuFigureSetting;
     this.toolStripFigureSetting.Visible = false;
     this.toolStripFigureSetting.Click += new System.EventHandler(this.FigureSettingClick);
     //
     // toolStripShowID
     //
     this.toolStripShowID.Name = "toolStripShowID";
     this.toolStripShowID.CheckOnClick = true;
     this.toolStripShowID.Size = new System.Drawing.Size(271, 22);
     this.toolStripShowID.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuItemShowID;
     this.toolStripShowID.Visible = false;
     this.toolStripShowID.Click += new System.EventHandler(this.ShowIdClick);
     //
     // toolStripSetHandIcon
     //
     this.toolStripSetHandIcon.Name = "toolStripSetHandIcon";
     this.toolStripSetHandIcon.Size = new System.Drawing.Size(271, 22);
     this.toolStripSetHandIcon.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.ButtonToolTipMoveCanvas;
     this.toolStripSetHandIcon.Visible = false;
     this.toolStripSetHandIcon.Click += new EventHandler(toolStripSetHandIcon_Click);
     //
     // toolStripAnimationSetting
     //
     this.toolStripAnimationSetting.Name = "toolStripAnimationSetting";
     this.toolStripAnimationSetting.Size = new System.Drawing.Size(271, 22);
     this.toolStripAnimationSetting.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuAnimationSetting;
     this.toolStripAnimationSetting.Visible = false;
     this.toolStripAnimationSetting.Click += new System.EventHandler(this.AnimationSettingClick);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(268, 6);
     this.toolStripSeparator3.Visible = false;
     //
     // toolStripProperty
     //
     this.toolStripProperty.Name = "toolStripProperty";
     this.toolStripProperty.Size = new System.Drawing.Size(182, 22);
     this.toolStripProperty.Text = "toolStripMenuItem1";
     this.toolStripProperty.Visible = false;
     //
     // toolButton
     //
     this.toolButton.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolButtonHand,
     this.toolButtonSelect,
     this.toolButtonSeparator1,
     this.toolButtonOverview,
     this.toolButtonAnimation,
     this.toolButtonZoomin,
     this.toolButtonZoomout,
     this.toolButtonZoomRate,
     this.toolButtonSeparator2,
     this.toolButtonArrow,
     this.toolButtonBidirArrow,
     this.toolButtonConst});
     this.toolButton.Location = new System.Drawing.Point(0, 0);
     this.toolButton.Name = "toolButton";
     this.toolButton.Size = new System.Drawing.Size(100, 25);
     this.toolButton.TabIndex = 0;
     this.toolButton.Text = "toolStrip1";
     //
     // toolButtonHand
     //
     this.toolButtonHand.CheckOnClick = true;
     this.toolButtonHand.ComponentSetting = null;
     this.toolButtonHand.Handle = null;
     this.toolButtonHand.Image = global::Ecell.IDE.Plugins.PathwayWindow.PathwayResource.move1;
     this.toolButtonHand.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolButtonHand.Name = "toolButtonHand";
     this.toolButtonHand.Size = new System.Drawing.Size(23, 22);
     this.toolButtonHand.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.ButtonToolTipMoveCanvas;
     this.toolButtonHand.Click += new System.EventHandler(this.ButtonStateChanged);
     //
     // toolButtonSelect
     //
     this.toolButtonSelect.CheckOnClick = true;
     this.toolButtonSelect.ComponentSetting = null;
     this.toolButtonSelect.Handle = null;
     this.toolButtonSelect.Image = global::Ecell.IDE.Plugins.PathwayWindow.PathwayResource.arrow;
     this.toolButtonSelect.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolButtonSelect.Name = "toolButtonSelect";
     this.toolButtonSelect.Size = new System.Drawing.Size(23, 22);
     this.toolButtonSelect.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.ButtonToolTipSelectMode;
     this.toolButtonSelect.Click += new System.EventHandler(this.ButtonStateChanged);
     //
     // toolButtonSeparator1
     //
     this.toolButtonSeparator1.Name = "toolButtonSeparator1";
     this.toolButtonSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // toolButtonOverview
     //
     this.toolButtonOverview.Checked = true;
     this.toolButtonOverview.CheckOnClick = true;
     this.toolButtonOverview.CheckState = System.Windows.Forms.CheckState.Checked;
     this.toolButtonOverview.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonOverview.Image")));
     this.toolButtonOverview.Name = "toolButtonOverview";
     this.toolButtonOverview.Size = new System.Drawing.Size(23, 22);
     this.toolButtonOverview.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.ButtonToolTipOverview;
     this.toolButtonOverview.Click += new System.EventHandler(this.overviewButton_CheckedChanged);
     //
     // toolButtonViewMode
     //
     this.toolButtonAnimation.Checked = false;
     this.toolButtonAnimation.CheckOnClick = true;
     this.toolButtonAnimation.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonViewMode.Image")));
     this.toolButtonAnimation.Name = "toolButtonViewMode";
     this.toolButtonAnimation.Size = new System.Drawing.Size(23, 20);
     this.toolButtonAnimation.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuToolTipAnimation;
     this.toolButtonAnimation.Click += new System.EventHandler(this.ViewModeButtonClick);
     //
     // toolButtonZoomin
     //
     this.toolButtonZoomin.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonZoomin.Image")));
     this.toolButtonZoomin.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolButtonZoomin.Name = "toolButtonZoomin";
     this.toolButtonZoomin.Size = new System.Drawing.Size(23, 20);
     this.toolButtonZoomin.Tag = true;
     this.toolButtonZoomin.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.ButtonToolTipZoomIn;
     this.toolButtonZoomin.Click += new System.EventHandler(this.ZoomButton_Click);
     //
     // toolButtonZoomout
     //
     this.toolButtonZoomout.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonZoomout.Image")));
     this.toolButtonZoomout.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolButtonZoomout.Name = "toolButtonZoomout";
     this.toolButtonZoomout.Size = new System.Drawing.Size(23, 20);
     this.toolButtonZoomout.Tag = false;
     this.toolButtonZoomout.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.ButtonToolTipZoomOut;
     this.toolButtonZoomout.Click += new System.EventHandler(this.ZoomButton_Click);
     //
     // toolButtonZoomRate
     //
     this.toolButtonZoomRate.Items.AddRange(new object[] {
     "400%",
     "300%",
     "200%",
     "150%",
     "125%",
     "100%",
     "80%",
     "60%",
     "40%",
     "30%",
     "20%"});
     this.toolButtonZoomRate.MaxLength = 5;
     this.toolButtonZoomRate.Name = "toolButtonZoomRate";
     this.toolButtonZoomRate.Size = new System.Drawing.Size(75, 20);
     this.toolButtonZoomRate.Text = "100%";
     this.toolButtonZoomRate.SelectedIndexChanged += new System.EventHandler(this.ZoomRate_SelectedIndexChanged);
     this.toolButtonZoomRate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ZoomRate_KeyDown);
     //
     // toolButtonSeparator2
     //
     this.toolButtonSeparator2.Name = "toolButtonSeparator2";
     this.toolButtonSeparator2.Size = new System.Drawing.Size(6, 6);
     //
     // toolButtonArrow
     //
     this.toolButtonArrow.CheckOnClick = true;
     this.toolButtonArrow.ComponentSetting = null;
     this.toolButtonArrow.Handle = null;
     this.toolButtonArrow.Image = global::Ecell.IDE.Plugins.PathwayWindow.PathwayResource.arrow_long_right_w;
     this.toolButtonArrow.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolButtonArrow.Name = "toolButtonArrow";
     this.toolButtonArrow.Size = new System.Drawing.Size(23, 20);
     this.toolButtonArrow.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.ButtonToolTipAddOnewayReaction;
     this.toolButtonArrow.Click += new System.EventHandler(this.ButtonStateChanged);
     //
     // toolButtonBidirArrow
     //
     this.toolButtonBidirArrow.CheckOnClick = true;
     this.toolButtonBidirArrow.ComponentSetting = null;
     this.toolButtonBidirArrow.Handle = null;
     this.toolButtonBidirArrow.Image = global::Ecell.IDE.Plugins.PathwayWindow.PathwayResource.arrow_long_bidir_w;
     this.toolButtonBidirArrow.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolButtonBidirArrow.Name = "toolButtonBidirArrow";
     this.toolButtonBidirArrow.Size = new System.Drawing.Size(23, 20);
     this.toolButtonBidirArrow.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.ButtonToolTipAddMutualReaction;
     this.toolButtonBidirArrow.Click += new System.EventHandler(this.ButtonStateChanged);
     //
     // toolButtonConst
     //
     this.toolButtonConst.CheckOnClick = true;
     this.toolButtonConst.ComponentSetting = null;
     this.toolButtonConst.Handle = null;
     this.toolButtonConst.Image = global::Ecell.IDE.Plugins.PathwayWindow.PathwayResource.ten;
     this.toolButtonConst.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolButtonConst.Name = "toolButtonConst";
     this.toolButtonConst.Size = new System.Drawing.Size(23, 20);
     this.toolButtonConst.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.ButtonToolTipAddConstant;
     this.toolButtonConst.Click += new System.EventHandler(this.ButtonStateChanged);
     //
     // toolMenu
     //
     this.toolMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.MenuItemFile,
     this.MenuItemView,
     this.MenuItemEdit});
     this.toolMenu.Location = new System.Drawing.Point(0, 0);
     this.toolMenu.Name = "toolMenu";
     this.toolMenu.Size = new System.Drawing.Size(100, 25);
     this.toolMenu.TabIndex = 0;
     //
     // MenuItemFile
     //
     this.MenuItemFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolMenuExport});
     this.MenuItemFile.Name = "MenuItemFile";
     this.MenuItemFile.Size = new System.Drawing.Size(36, 25);
     this.MenuItemFile.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuItemFile;
     //
     // toolMenuExport
     //
     this.toolMenuExport.Name = "toolMenuExport";
     this.toolMenuExport.Size = new System.Drawing.Size(187, 22);
     this.toolMenuExport.Tag = 17;
     this.toolMenuExport.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuItemExport;
     this.toolMenuExport.Click += new System.EventHandler(this.ExportImage);
     //
     // MenuItemView
     //
     this.MenuItemView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolMenuFocusMode,
     this.toolMenuShowID,
     this.toolMenuAnimation});
     this.MenuItemView.Name = "MenuItemView";
     this.MenuItemView.Size = new System.Drawing.Size(42, 25);
     this.MenuItemView.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuItemView;
     //
     // toolMenuFocusMode
     //
     this.toolMenuFocusMode.Checked = true;
     this.toolMenuFocusMode.CheckOnClick = true;
     this.toolMenuFocusMode.CheckState = System.Windows.Forms.CheckState.Checked;
     this.toolMenuFocusMode.Name = "toolMenuFocusMode";
     this.toolMenuFocusMode.Size = new System.Drawing.Size(169, 22);
     this.toolMenuFocusMode.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuItemFocus;
     this.toolMenuFocusMode.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuToolTipFocus;
     this.toolMenuFocusMode.Click += new System.EventHandler(this.ChangeFocusMode);
     //
     // toolMenuShowID
     //
     this.toolMenuShowID.Checked = true;
     this.toolMenuShowID.CheckOnClick = true;
     this.toolMenuShowID.CheckState = System.Windows.Forms.CheckState.Checked;
     this.toolMenuShowID.Name = "toolMenuShowID";
     this.toolMenuShowID.Size = new System.Drawing.Size(169, 22);
     this.toolMenuShowID.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuItemShowID;
     this.toolMenuShowID.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuToolTipShowID;
     this.toolMenuShowID.Click += new System.EventHandler(this.ShowIdClick);
     //
     // toolMenuAnimation
     //
     this.toolMenuAnimation.Checked = false;
     this.toolMenuAnimation.CheckOnClick = true;
     this.toolMenuAnimation.Name = "toolMenuAnimation";
     this.toolMenuAnimation.Size = new System.Drawing.Size(169, 22);
     this.toolMenuAnimation.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuItemAnimation;
     this.toolMenuAnimation.ToolTipText = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuToolTipAnimation;
     this.toolMenuAnimation.Click += new System.EventHandler(this.ViewModeItemClick);
     //
     // MenuItemEdit
     //
     this.MenuItemEdit.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolMenuCut,
     this.toolMenuCopy,
     this.toolMenuPaste,
     this.toolMenuDelete});
     this.MenuItemEdit.Name = "MenuItemEdit";
     this.MenuItemEdit.Size = new System.Drawing.Size(37, 25);
     this.MenuItemEdit.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.MenuItemEdit;
     //
     // toolMenuCut
     //
     this.toolMenuCut.Name = "toolMenuCut";
     this.toolMenuCut.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
     this.toolMenuCut.Size = new System.Drawing.Size(137, 22);
     this.toolMenuCut.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuCut;
     this.toolMenuCut.Click += new System.EventHandler(this.CutClick);
     //
     // toolMenuCopy
     //
     this.toolMenuCopy.Name = "toolMenuCopy";
     this.toolMenuCopy.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
     this.toolMenuCopy.Size = new System.Drawing.Size(137, 22);
     this.toolMenuCopy.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuCopy;
     this.toolMenuCopy.Click += new System.EventHandler(this.CopyClick);
     //
     // toolMenuPaste
     //
     this.toolMenuPaste.Name = "toolMenuPaste";
     this.toolMenuPaste.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
     this.toolMenuPaste.Size = new System.Drawing.Size(137, 22);
     this.toolMenuPaste.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuPaste;
     this.toolMenuPaste.Click += new System.EventHandler(this.PasteClick);
     //
     // toolMenuDelete
     //
     this.toolMenuDelete.Name = "toolMenuDelete";
     this.toolMenuDelete.ShortcutKeys = System.Windows.Forms.Keys.Delete;
     //            this.toolMenuDelete.ShortcutKeys = (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V));
     this.toolMenuDelete.Size = new System.Drawing.Size(137, 22);
     this.toolMenuDelete.Text = global::Ecell.IDE.Plugins.PathwayWindow.MessageResources.CanvasMenuDelete;
     this.toolMenuDelete.Click += new System.EventHandler(this.DeleteClick);
     this.popupMenu.ResumeLayout(false);
     this.toolButton.ResumeLayout(false);
     this.toolButton.PerformLayout();
     this.toolMenu.ResumeLayout(false);
     this.toolMenu.PerformLayout();
 }