A composite IInputMode implementation that additionally
can deal with IConcurrentInputMode instances .
Namespace: yWorks.Canvas.InputAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public class MultiplexingInputMode : AbstractConcurrentInputMode |
| Visual Basic |
|---|
Public Class MultiplexingInputMode _ Inherits AbstractConcurrentInputMode |
Remarks
Instances of this class can Install(IInputModeContext) and Uninstall(IInputModeContext)
multiple IInputModes.
Modes added using the Add(IInputMode) methods will be active at all
times while IConcurrentInputModes
added using the AddConcurrent(IConcurrentInputMode)
methods will only be active as long as not one of them owns the InputMutex.
By providing priorities to the different modes, the order of their installation
can be influenced.
This class itself implements the IConcurrentInputMode interface so that hierarchies of instances of this class can easily be built. This class will request the input mutex if one of its child modes requests the mutex. Also if the instance itself gets disabled, it will stop or cancel the current owner of the mutex.
This class itself implements the IConcurrentInputMode interface so that hierarchies of instances of this class can easily be built. This class will request the input mutex if one of its child modes requests the mutex. Also if the instance itself gets disabled, it will stop or cancel the current owner of the mutex.
Inheritance Hierarchy
System..::..Object
yWorks.Canvas.Input..::..AbstractInputMode
yWorks.Canvas.Input..::..AbstractConcurrentInputMode
yWorks.Canvas.Input..::..MultiplexingInputMode
yWorks.Canvas.Input..::..MainInputMode
yWorks.yFiles.UI.Input..::..GraphViewerInputMode
yWorks.yFiles.UI.Input..::..TableEditorInputMode
yWorks.Canvas.Input..::..AbstractInputMode
yWorks.Canvas.Input..::..AbstractConcurrentInputMode
yWorks.Canvas.Input..::..MultiplexingInputMode
yWorks.Canvas.Input..::..MainInputMode
yWorks.yFiles.UI.Input..::..GraphViewerInputMode
yWorks.yFiles.UI.Input..::..TableEditorInputMode