示例#1
0
 /// <summary>
 /// Creates new instance of reference avbutton
 /// </summary>
 /// <param name="entity">Entity to display</param>
 /// <param name="reflectionType">Type of displaying</param>
 public ReferenceSimpleButton(IDisplayingEntity entity, ReflectionTypes reflectionType)
     : this(null, entity, reflectionType)
 {
 }
示例#2
0
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredModificationsView);
 }
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredOutOffPhaseView);
 }
示例#4
0
 ///<summary>
 /// Создается класс - хранилише обектов требующихся для отбражения вкладки
 ///</summary>
 ///<param name="displayingEntity">Содержимое вкладки</param>
 ///<param name="displayingText">Название вкладки</param>
 public DisplayingObject(IDisplayingEntity displayingEntity, string displayingText)
 {
     this.displayingEntity = displayingEntity;
     this.displayingText   = displayingText;
 }
示例#5
0
 public void SetParameters(DisplayerParams parameters)
 {
     _typeOfReflection = parameters.TypeOfReflection;
     _requestedEntity  = parameters.Page;
     _displayerText    = parameters.PageCaption;
 }
 /// <summary>
 /// Creates new instance of reference avbutton
 /// </summary>
 /// <param name="entity">Entity to display</param>
 /// <param name="reflectionType">Type of displaying</param>
 public ReferenceAvalonButtonM(IDisplayingEntity entity, ReflectionTypes reflectionType)
     : this(null, entity, reflectionType)
 {
 }
 /// <summary>
 /// Creates new instance of reference avbutton
 /// </summary>
 /// <param name="displayer">Displayer in which entity should be displayed</param>
 /// <param name="entity">Entity to display</param>
 /// <param name="reflectionType">Type of displaying</param>
 public ReferenceAvalonButtonM(IDisplayer displayer, IDisplayingEntity entity, ReflectionTypes reflectionType)
     : this(displayer, entity, reflectionType, "")
 {
 }
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredDeferredItemsView);
 }
示例#9
0
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredTemplateEngeneeringOrdersDirectiveListScreen);
 }
示例#10
0
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredTemplateAgingProgramDirectiveListScreen);
 }
示例#11
0
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredEngeneeringOrdersView);
 }
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredTemplateModificationDirectiveListScreen);
 }
示例#13
0
 public bool ContainedDataEquals(IDisplayingEntity obj)
 {
     return(obj is DispatchereDirectiveScreen);
 }
示例#14
0
 /// <summary>
 /// —оздает новый объект аргумента
 /// </summary>
 /// <param name="entity">—одержимое, в котором произошло событие</param>>
 public EntityCancelEventArgs(IDisplayingEntity entity)
 {
     _entity = entity;
 }
示例#15
0
 /// <summary>
 /// Creates new instance of reference avbutton
 /// </summary>
 /// <param name="displayer">Displayer in which entity should be displayed</param>
 /// <param name="entity">Entity to display</param>
 /// <param name="reflectionType">Type of displaying</param>
 public ReferenceSimpleButton(IDisplayer displayer, IDisplayingEntity entity, ReflectionTypes reflectionType)
     : this(displayer, entity, reflectionType, "")
 {
 }
示例#16
0
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredAgingProgramView);
 }
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredCPCPDirectiveListScreen);
 }
示例#18
0
 public bool ContainedDataEquals(IDisplayingEntity obj)
 {
     return(Collection.Equals(obj.ContainedData));
 }
示例#19
0
 /// <summary>
 /// Creates new instance of reference avbutton
 /// </summary>
 /// <param name="entity">Entity to display</param>
 /// <param name="reflectionType">Type of displaying</param>
 /// <param name="displayerText">Text to display</param>
 public ReferenceAvalonButtonM(IDisplayingEntity entity, ReflectionTypes reflectionType, string displayerText)
     : this(null, entity, reflectionType, displayerText)
 {
 }
示例#20
0
 /// <summary>
 /// Creates new instance of reference avbutton
 /// </summary>
 /// <param name="entity">Entity to display</param>
 /// <param name="reflectionType">Type of displaying</param>
 public ReferenceStatusImageLinkLabel(IDisplayingEntity entity, ReflectionTypes reflectionType)
     : this(null, entity, reflectionType)
 {
 }
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredBaseDetailDirectivesView);
 }
示例#22
0
 /// <summary>
 /// Creates new instance of reference avbutton
 /// </summary>
 /// <param name="entity">Entity to display</param>
 /// <param name="reflectionType">Type of displaying</param>
 /// <param name="displayerText">Text to display</param>
 public ReferenceStatusImageLinkLabel(IDisplayingEntity entity, ReflectionTypes reflectionType, string displayerText)
     : this(null, entity, reflectionType, displayerText)
 {
 }
示例#23
0
        /// <summary>
        /// Creates new instance of ReferenceEventArgs
        /// </summary>
        /// <param name="requestedEntity">Entity to display</param>
        /// <param name="typeOfReflection">Displaying parameters</param>
        /// <param name="displayerText">Text of displayer's header</param>

        public ReferenceEventArgs(IDisplayingEntity requestedEntity, ReflectionTypes typeOfReflection, string displayerText)
            : this(requestedEntity, typeOfReflection, null, displayerText)
        {
        }
示例#24
0
 /// <summary>
 /// Creates new instance of reference avbutton
 /// </summary>
 /// <param name="displayer">Displayer in which entity should be displayed</param>
 /// <param name="entity">Entity to display</param>
 /// <param name="reflectionType">Type of displaying</param>
 public ReferenceStatusImageLinkLabel(IDisplayer displayer, IDisplayingEntity entity, ReflectionTypes reflectionType)
     : this(displayer, entity, reflectionType, "")
 {
 }
示例#25
0
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected override bool IsSameType(IDisplayingEntity obj)
 {
     return(obj is DispatcheredADStatusView);
 }
 /// <summary>
 /// Тот же тип у объекта что у данного класса или нет
 /// </summary>
 /// <param name="obj">Проверяемый объект</param>
 /// <returns></returns>
 protected abstract bool IsSameType(IDisplayingEntity obj);