public ValueOriginBinder(IValueOriginPresenter valueOriginPresenter, IImageListRetriever imageListRetriever, IToolTipCreator toolTipCreator)
 {
     _valueOriginPresenter = valueOriginPresenter;
     _imageListRetriever   = imageListRetriever;
     _toolTipCreator       = toolTipCreator;
     _popupControl.FillWith(_valueOriginPresenter.BaseView);
     _repositoryItemPopupContainerEdit.Buttons[0].Kind        = ButtonPredefines.Combo;
     _repositoryItemPopupContainerEdit.PopupControl           = _popupControl;
     _repositoryItemPopupContainerEdit.CloseOnOuterMouseClick = false;
     _repositoryItemPopupContainerEdit.QueryDisplayText      += (o, e) => queryDisplayText(e);
     _repositoryItemPopupContainerEdit.CloseUp   += (o, e) => closeUp(e);
     _repositoryItemPopupContainerEdit.CloseUpKey = new KeyShortcut(Keys.Enter);
     _repositoryItemPopupContainerEdit.AllowDropDownWhenReadOnly = DefaultBoolean.True;
 }
示例#2
0
 public void SetHalogensView(IView view)
 {
     _popupControl.FillWith(view);
 }
示例#3
0
 public void SetChartView(IView view)
 {
     _popupControl.FillWith(view);
 }
示例#4
0
 public static void FillWith(this PopupContainerControl popupController, IView viewToAdd)
 {
     popupController.FillWith(viewToAdd as Control);
 }
 public void SetDynamicParameterView(IView view)
 {
     _popupControl.FillWith(view);
 }
示例#6
0
 public void AddComparableView(IView view)
 {
     _popupControl.FillWith(view);
 }
示例#7
0
 public void FillMetaDataView(IView view)
 {
     _metaDataPopupControl.FillWith(view);
 }
示例#8
0
 public void FillMappingView(IView view)
 {
     _mappingPopupControl.FillWith(view);
 }