示例#1
0
        public void UpdateEntryList(LevelEditor editor)
        {
            if (mEntryListToolWindowInfo == null)
            {
                return;
            }

            if (mEntryListToolWindowInfo.IsDisposed)
            {
                return;
            }

            EntryListToolWindow form = mEntryListToolWindowInfo.DockableForm as EntryListToolWindow;

            form.UpdateView(editor);
        }
示例#2
0
        public void ShowEntryListWindow()
        {
            if (mEntryListToolWindowInfo != null)
            {
                if (!mEntryListToolWindowInfo.IsDisposed)
                {
                    return;
                }
            }

            EntryListToolWindow window = new EntryListToolWindow(this);

            mEntryListToolWindowInfo = AddToolWindow(window);
            mEntryListToolWindowInfo.ShowContextMenuButton = false;

            //if (mEntryListToolWindowInfo != null) {
            //    if (!mEntryListToolWindowInfo.IsDisposed) {
            //        mDockContainer.DockForm(mEntryListToolWindowInfo, DockStyle.Left, zDockMode.Outer);
            //    }
            //}

            mDockContainer.DockForm(mEntryListToolWindowInfo, DockStyle.Left, zDockMode.Inner);
        }
示例#3
0
		public void ShowEntryListWindow()
		{
			if (mEntryListToolWindowInfo != null) {
				if (!mEntryListToolWindowInfo.IsDisposed)
					return;
			}

			EntryListToolWindow window = new EntryListToolWindow(this);
			mEntryListToolWindowInfo = AddToolWindow(window);
			mEntryListToolWindowInfo.ShowContextMenuButton = false;

			//if (mEntryListToolWindowInfo != null) {
			//    if (!mEntryListToolWindowInfo.IsDisposed) {
			//        mDockContainer.DockForm(mEntryListToolWindowInfo, DockStyle.Left, zDockMode.Outer);
			//    }
			//}

			mDockContainer.DockForm(mEntryListToolWindowInfo, DockStyle.Left, zDockMode.Inner);
		}