GestureExtensionController Class

Definition

public ref class GestureExtensionController : Microsoft::VisualStudio::Modeling::ExtensionEnablement::ExtensionRegistrar<Microsoft::VisualStudio::Modeling::Diagrams::ExtensionEnablement::IGestureExtension ^, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^>, Microsoft::VisualStudio::Modeling::Diagrams::ExtensionEnablement::IGestureExtensionController
public class GestureExtensionController : Microsoft.VisualStudio.Modeling.ExtensionEnablement.ExtensionRegistrar<Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement.IGestureExtension,System.Collections.Generic.Dictionary<string,object>>, Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement.IGestureExtensionController
type GestureExtensionController = class
    inherit ExtensionRegistrar<IGestureExtension, Dictionary<string, obj>>
    interface IGestureExtensionController
    interface IGestureExtension
Public Class GestureExtensionController
Inherits ExtensionRegistrar(Of IGestureExtension, Dictionary(Of String, Object))
Implements IGestureExtensionController
Inheritance
Implements

Constructors

GestureExtensionController()

Properties

FilteredImports (Inherited from ExtensionRegistrarBase<T,TMetadataView>)
LazyImports

List of lazy imports after filtering was applied.

(Inherited from ExtensionRegistrarBase<T,TMetadataView>)
LinkedUndoContext

Allow access to the system's linked undo context (if any)

Logger
MetadataFilter

String-based Metadata Key that determines if a particular Exported Type can be imported or not. The default CanImport implementation filters imports based on this metadata key. The default value of this property is null indicating that no filter will be applied.

UnfilteredLazyImports

List of MEF-imported T.

(Inherited from ExtensionRegistrar<T,TMetadataView>)

Methods

CanDragDrop(ShapeElement, DiagramDragEventArgs)
CanImport(Lazy<IGestureExtension,Dictionary<String,Object>>)

Allow registrar that have a key in their metadata matching the MetadataFilter string to be imported

CanImport(Lazy<T,TMetadataView>)

Determines if for a particular Lazy Import, the underlying exported object should be imported or not. The default implementation allows all imports.

(Inherited from ExtensionRegistrarBase<T,TMetadataView>)
Compare(Tuple<T,TMetadataView>, Tuple<T,TMetadataView>)

Compares two imported objects of the same type.

(Inherited from ExtensionRegistrarBase<T,TMetadataView>)
OnDoubleClick(ShapeElement, DiagramPointEventArgs)
OnDragDrop(ShapeElement, DiagramDragEventArgs)

Applies to