C# 클래스 SIL.FieldWorks.XWorks.LinkListener

상속: IxCoreColleague, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks

보호된 프로퍼티들

프로퍼티 타입 설명
m_backStack LinkedList
m_currentContext FwLinkArgs
m_forwardStack LinkedList
m_mediator XCore.Mediator

공개 메소드들

메소드 설명
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

Dispose ( ) : void

Must not be virtual.

GetMessageTargets ( ) : IxCoreColleague[]

return an array of all of the objects which should 1) be queried when looking for someone to deliver a message to 2) be potential recipients of a broadcast

Init ( XCore.Mediator mediator, XmlNode configurationParameters ) : void
LinkListener ( ) : System

Initializes a new instance of the LinkListener class.

OnAddContextToHistory ( object _link ) : bool

OnCopyLocationAsHyperlink ( object unused ) : bool

OnDisplayHistoryBack ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool

OnDisplayHistoryForward ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool

OnFollowLink ( object lnk ) : bool

NOTE: This will not handle link requests for other databases/applications. To handle other databases or applications, pass a FwAppArgs to the IFieldWorksManager.HandleLinkRequest method.

OnHandleLocalHotlink ( object source ) : bool

Handle the specified link if it is local.

OnHistoryBack ( object unused ) : bool

OnHistoryForward ( object unused ) : bool

OnTestFollowLink ( object unused ) : bool

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.

If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.

비공개 메소드들

메소드 설명
ActiveFlexWindow ( ) : Form
FollowActiveLink ( ) : bool
GetObjectToShowInTool ( ICmObject start ) : ICmObject

Get the object we want to point our tool at. This is typically the one that is one level down from a CmMajorObject.

Pop ( LinkedList stack ) : FwLinkArgs
Push ( LinkedList stack, FwLinkArgs context ) : void
SameDatabase ( FwAppArgs fwargs, SIL.FieldWorks.FDO.FdoCache cache ) : bool
SameServer ( FwAppArgs fwargs, SIL.FieldWorks.FDO.FdoCache cache ) : bool
ShowCantJumpMessage ( string msg ) : void

메소드 상세

CheckDisposed() 공개 메소드

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
리턴 void

Dispose() 공개 메소드

Must not be virtual.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.
If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetMessageTargets() 공개 메소드

return an array of all of the objects which should 1) be queried when looking for someone to deliver a message to 2) be potential recipients of a broadcast
public GetMessageTargets ( ) : IxCoreColleague[]
리턴 IxCoreColleague[]

Init() 공개 메소드

public Init ( XCore.Mediator mediator, XmlNode configurationParameters ) : void
mediator XCore.Mediator
configurationParameters System.Xml.XmlNode
리턴 void

LinkListener() 공개 메소드

Initializes a new instance of the LinkListener class.
public LinkListener ( ) : System
리턴 System

OnAddContextToHistory() 공개 메소드

public OnAddContextToHistory ( object _link ) : bool
_link object
리턴 bool

OnCopyLocationAsHyperlink() 공개 메소드

public OnCopyLocationAsHyperlink ( object unused ) : bool
unused object
리턴 bool

OnDisplayHistoryBack() 공개 메소드

public OnDisplayHistoryBack ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
리턴 bool

OnDisplayHistoryForward() 공개 메소드

public OnDisplayHistoryForward ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
리턴 bool

OnFollowLink() 공개 메소드

NOTE: This will not handle link requests for other databases/applications. To handle other databases or applications, pass a FwAppArgs to the IFieldWorksManager.HandleLinkRequest method.
public OnFollowLink ( object lnk ) : bool
lnk object
리턴 bool

OnHandleLocalHotlink() 공개 메소드

Handle the specified link if it is local.
public OnHandleLocalHotlink ( object source ) : bool
source object
리턴 bool

OnHistoryBack() 공개 메소드

public OnHistoryBack ( object unused ) : bool
unused object
리턴 bool

OnHistoryForward() 공개 메소드

public OnHistoryForward ( object unused ) : bool
unused object
리턴 bool

OnTestFollowLink() 공개 메소드

public OnTestFollowLink ( object unused ) : bool
unused object
리턴 bool

프로퍼티 상세

m_backStack 보호되어 있는 프로퍼티

protected LinkedList m_backStack
리턴 LinkedList

m_currentContext 보호되어 있는 프로퍼티

protected FwLinkArgs m_currentContext
리턴 FwLinkArgs

m_forwardStack 보호되어 있는 프로퍼티

protected LinkedList m_forwardStack
리턴 LinkedList

m_mediator 보호되어 있는 프로퍼티

protected Mediator,XCore m_mediator
리턴 XCore.Mediator