Nevron Open Vision Documentation
NDrawingContextMenu Class Members
Fields  Properties  Methods 


The following tables list the members exposed by NDrawingContextMenu.

Public Constructors
 NameDescription
Public ConstructorNDrawingContextMenu ConstructorDefault constructor.  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)NDrawingContextMenuSchemaSchema associated with NDrawingContextMenu.  
Public Fieldstatic (Shared in Visual Basic)ShowGuidelineMenuPropertyReference to the ShowGuidelineMenu property.  
Public Fieldstatic (Shared in Visual Basic)ShowMiniToolBarPropertyReference to the ShowMiniToolBar property.  
Public Fieldstatic (Shared in Visual Basic)ShowPageMenuPropertyReference to the ShowPageMenu property.  
Public Fieldstatic (Shared in Visual Basic)ShowShapeMenuPropertyReference to the ShowShapeMenu property.  
Top
Public Properties
 NameDescription
Public PropertyOwnerDrawingViewGets the drawing view to which this factory belongs.  
Public PropertyShowGets or sets whether context menus should be displayed. (Inherited from Nevron.Nov.UI.NContextMenu)
Public PropertyShowGuidelineMenuGets/Sets whether guideline context menu is displayed.  
Public PropertyShowItemPropertiesGets or sets whether the Properties... command for the items should be displayed (Inherited from Nevron.Nov.Diagram.NDiagramContextMenu)
Public PropertyShowMiniToolBarGets/Sets the value of the ShowMiniToolBar property.  
Public PropertyShowPageMenuGets/Sets whether shape context menu is displayed.  
Public PropertyShowShapeMenuGets/Sets whether shape context menu is displayed.  
Public PropertyShowSurfacePropertiesGets or sets whether the Properties... command for the items should be displayed (Inherited from Nevron.Nov.Diagram.NDiagramContextMenu)
Top
Public Methods
 NameDescription
Public MethodShowContextMenuOverridden. Shows a context menu for the specified element at the specified screen position.  
Top
Protected Methods
 NameDescription
Protected MethodBuildContextMenuBuilds the context menu  
Protected MethodCanShowContextMenuOverridden. Determines whether the context menu can be shown for the specified element  
Protected MethodCreateContextWidgetOverridden. Overriden to create the context widget for the specified element  
Protected MethodCreateCustomCommandsWhen overriden in a derived class, creates custom context menu commands. The default implementation does not create any custom commands.  
Protected MethodCreateEditCommandsCreates the edit commands - Cut/Copy/Paste/Delete.  
Protected MethodCreateElementSpecificCommandsCreates the menu items specific for the given element. The default implementation checks whether the element implements the INAppendContextMenuItems interface and if it does, calls its INAppendContextMenuItems.AppendContextMenuItems method.  
Protected MethodCreateMiniToolBarCreates a mini toolbar for the given element.  
Protected MethodCreateSelectCommandsCreates the Select menu item.  
Protected MethodCreateViewCommandsCreates the View menu item that contains Show, Zoom and Snap commands.  
Protected MethodGetDefaultCommandTargetReturns the default command target associated with any command sources that are attached to elemnets in the context widget hierarchy. This implementattion returns the parent node, since the context menu factory is usually a property of the element that needs context editing. (Inherited from Nevron.Nov.UI.NContextMenu)
Protected MethodOnPopupWindowClosedCalled when the popup window that shows this context menu has closed. (Inherited from Nevron.Nov.UI.NContextMenu)
Top
See Also

Reference

NDrawingContextMenu Class
Nevron.Nov.Diagram Namespace

 

 


©2021. Nevron Software LLC.

Send Feedback