C# Class SilverlightMappingToolBasic.UI.SuperGraph.View.SuperGraphControl

Inheritance: System.Windows.Controls.UserControl, ISidebarOperationHandler, IBreadcrumbOperationHandler, IRealignControl, ISelectorControl, IArrowContainerControl, IRelatedContentOperationsHandler, IContextMenuParent
Afficher le fichier Open project: chris-tomich/Glyma Class Usage Examples

Private Properties

Свойство Type Description
CentraliseNode void
CentraliseNodeVertically void
ContextMenuContainerOnCreateNewNodeClicked void
ContextMenuContainerOnExportClicked void
ContextMenuContainerOnImportClicked void
ContextMenuOnCommitCollapseStatesClicked void
Explorer_OnLeftButtonSingleClick void
ExportJobCreated void
GetVisibleNodeLocations Point>.Dictionary
IBreadcrumbOperationHandler void
IOperationHandler void
ISelectorControl void
ISelectorControl void
OnChangeNodeTypeClicked void
OnCloneClicked void
OnCopyClicked void
OnCutClicked void
OnFileDragAndDrop void
OnKeyDown void
OnKeyUp void
OnNodeClicked void
OnNodeSelected void
Pointer_MouseMove void
Pointer_OnLeftButtonDragMove void
Pointer_OnLeftButtonDragReleased void
Pointer_OnLeftButtonDragStart void
Pointer_OnLeftButtonSingleClick void
Pointer_OnRightButtonDragMove void
Pointer_OnRightButtonDragReleased void
Pointer_OnRightButtonDragStart void
Pointer_RightButtonDragReleased void
Pointer_RightButtonSingleClick void
SerializeToJsonDictionary string
SuperGraphControl_Loaded void
SuperGraphControl_OnSizeChanged void
TransclusionsLoadCompleted void
UserControl_MouseLeave void
UserControl_MouseWheel void

Méthodes publiques

Méthode Description
Add ( ArrowControl arrowControl ) : void
AuthorMode ( ) : void
AutoRealign ( NodeControl focusedControl = null ) : void

This method is for automatical realignment, it will realigns the map (horizontally or vertically) based on last realign operation. If there is no realign action occurred, it will realign the map horizontally.

ClearMapObjects ( bool isSaveStates = true ) : void
DefaultZoom ( ) : void
DragRelease ( ) : void
DragStart ( MouseManagerEventArgs e ) : void
Explorer_OnLeftButtonDragMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Explorer_OnLeftButtonDragReleased ( object sender, MouseManagerEventArgs e ) : void
Explorer_OnLeftButtonDragStart ( object sender, MouseManagerEventArgs e ) : void
GetArrowControls ( ) : IEnumerable
GetMapBounds ( double &left, double &right, double &top, double &bottom ) : void
GetNodeControls ( ) : IEnumerable
GetRelationships ( ) : IEnumerable
GetVisibleNodeControls ( ) : IEnumerable
HasVisibleNodes ( ) : bool
HorizontalRealign ( bool isPartialRealign = false ) : void
IsArrowExist ( NodeControl from, NodeControl to ) : bool
LoadCookie ( ) : void
ModelChanged ( object sender, Relationship>.ModelChangedEventArgs e ) : void
MoveMap ( double x, double y ) : void
ReScanForCollapseStates ( ) : void
ReaderMode ( ) : void
RecheckIncorrectVisibility ( ) : void
RecheckLocations ( ) : void
Remove ( ArrowControl arrowControl ) : void
ResetViewport ( ) : void
SearchNodeControlsByName ( string searchTerm ) : List
SetMouse ( ) : void
ShowDescription ( Node node ) : void
ShowRelatedMaps ( Node node ) : void
ShowVideoControl ( Node node ) : void
SuperGraphControl ( ) : System
VerticalRealign ( bool isPartialRealign = false ) : void
ZoomIn ( ) : void
ZoomOut ( ) : void

Private Methods

Méthode Description
CentraliseNode ( NodeControl nodeControl ) : void
CentraliseNodeVertically ( NodeControl nodeControl ) : void
ContextMenuContainerOnCreateNewNodeClicked ( object sender, CreateNewNodeClickedEventArgs e ) : void
ContextMenuContainerOnExportClicked ( object sender, ExportClickedEventArgs e ) : void
ContextMenuContainerOnImportClicked ( object sender, EventArgs eventArgs ) : void
ContextMenuOnCommitCollapseStatesClicked ( object sender, CommitCollapseStatesEventArgs e ) : void
Explorer_OnLeftButtonSingleClick ( object sender, MouseManagerEventArgs mouseManagerEventArgs ) : void
ExportJobCreated ( object sender, ResultEventArgs e ) : void
GetVisibleNodeLocations ( ) : Point>.Dictionary
IBreadcrumbOperationHandler ( ) : void
IOperationHandler ( ) : void
ISelectorControl ( ) : void
ISelectorControl ( System.Guid id ) : void
OnChangeNodeTypeClicked ( object sender, ChangeNodeTypeEventArgs e ) : void
OnCloneClicked ( object sender, EventArgs e ) : void
OnCopyClicked ( object sender, EventArgs e ) : void
OnCutClicked ( object sender, EventArgs e ) : void
OnFileDragAndDrop ( object sender, System.Windows.DragEventArgs e ) : void
OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnNodeClicked ( object sender, NodeClickedEventArgs e ) : void
OnNodeSelected ( object sender, NodeSelectedEventArgs e ) : void
Pointer_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Pointer_OnLeftButtonDragMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Pointer_OnLeftButtonDragReleased ( object sender, MouseManagerEventArgs e ) : void
Pointer_OnLeftButtonDragStart ( object sender, MouseManagerEventArgs e ) : void
Pointer_OnLeftButtonSingleClick ( object sender, MouseManagerEventArgs mouseManagerEventArgs ) : void
Pointer_OnRightButtonDragMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Pointer_OnRightButtonDragReleased ( object sender, MouseManagerEventArgs e ) : void
Pointer_OnRightButtonDragStart ( object sender, MouseManagerEventArgs e ) : void
Pointer_RightButtonDragReleased ( object sender, MouseManagerEventArgs e ) : void
Pointer_RightButtonSingleClick ( object sender, MouseManagerEventArgs e ) : void
SerializeToJsonDictionary ( string>.IEnumerable dictionary, System.Guid domainId, System.Guid selectedNodeId ) : string

Lightweight helper method to serialise a Dictionary into a JSON object to pass to a JavaScript function

SuperGraphControl_Loaded ( object sender, RoutedEventArgs e ) : void
SuperGraphControl_OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
TransclusionsLoadCompleted ( object sender, TransclusionLoadEventArgs eventArgs ) : void
UserControl_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
UserControl_MouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void

Method Details

Add() public méthode

public Add ( ArrowControl arrowControl ) : void
arrowControl SilverlightMappingToolBasic.UI.SuperGraph.View.Arrow.ArrowControl
Résultat void

AuthorMode() public méthode

public AuthorMode ( ) : void
Résultat void

AutoRealign() public méthode

This method is for automatical realignment, it will realigns the map (horizontally or vertically) based on last realign operation. If there is no realign action occurred, it will realign the map horizontally.
public AutoRealign ( NodeControl focusedControl = null ) : void
focusedControl SilverlightMappingToolBasic.UI.SuperGraph.View.NodeControlSupportClasses.NodeControl /// If focusedControl has been set, it will automatically moves the map to make sure the focused control not being /// moved. ///
Résultat void

ClearMapObjects() public méthode

public ClearMapObjects ( bool isSaveStates = true ) : void
isSaveStates bool
Résultat void

DefaultZoom() public méthode

public DefaultZoom ( ) : void
Résultat void

DragRelease() public méthode

public DragRelease ( ) : void
Résultat void

DragStart() public méthode

public DragStart ( MouseManagerEventArgs e ) : void
e SilverlightMappingToolBasic.UI.SuperGraph.View.Mouse.MouseManagerEventArgs
Résultat void

Explorer_OnLeftButtonDragMove() public méthode

public Explorer_OnLeftButtonDragMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
Résultat void

Explorer_OnLeftButtonDragReleased() public méthode

public Explorer_OnLeftButtonDragReleased ( object sender, MouseManagerEventArgs e ) : void
sender object
e SilverlightMappingToolBasic.UI.SuperGraph.View.Mouse.MouseManagerEventArgs
Résultat void

Explorer_OnLeftButtonDragStart() public méthode

public Explorer_OnLeftButtonDragStart ( object sender, MouseManagerEventArgs e ) : void
sender object
e SilverlightMappingToolBasic.UI.SuperGraph.View.Mouse.MouseManagerEventArgs
Résultat void

GetArrowControls() public méthode

public GetArrowControls ( ) : IEnumerable
Résultat IEnumerable

GetMapBounds() public méthode

public GetMapBounds ( double &left, double &right, double &top, double &bottom ) : void
left double
right double
top double
bottom double
Résultat void

GetNodeControls() public méthode

public GetNodeControls ( ) : IEnumerable
Résultat IEnumerable

GetRelationships() public méthode

public GetRelationships ( ) : IEnumerable
Résultat IEnumerable

GetVisibleNodeControls() public méthode

public GetVisibleNodeControls ( ) : IEnumerable
Résultat IEnumerable

HasVisibleNodes() public méthode

public HasVisibleNodes ( ) : bool
Résultat bool

HorizontalRealign() public méthode

public HorizontalRealign ( bool isPartialRealign = false ) : void
isPartialRealign bool
Résultat void

IsArrowExist() public méthode

public IsArrowExist ( NodeControl from, NodeControl to ) : bool
from SilverlightMappingToolBasic.UI.SuperGraph.View.NodeControlSupportClasses.NodeControl
to SilverlightMappingToolBasic.UI.SuperGraph.View.NodeControlSupportClasses.NodeControl
Résultat bool

LoadCookie() public méthode

public LoadCookie ( ) : void
Résultat void

ModelChanged() public méthode

public ModelChanged ( object sender, Relationship>.ModelChangedEventArgs e ) : void
sender object
e Relationship>.ModelChangedEventArgs
Résultat void

MoveMap() public méthode

public MoveMap ( double x, double y ) : void
x double
y double
Résultat void

ReScanForCollapseStates() public méthode

public ReScanForCollapseStates ( ) : void
Résultat void

ReaderMode() public méthode

public ReaderMode ( ) : void
Résultat void

RecheckIncorrectVisibility() public méthode

public RecheckIncorrectVisibility ( ) : void
Résultat void

RecheckLocations() public méthode

public RecheckLocations ( ) : void
Résultat void

Remove() public méthode

public Remove ( ArrowControl arrowControl ) : void
arrowControl SilverlightMappingToolBasic.UI.SuperGraph.View.Arrow.ArrowControl
Résultat void

ResetViewport() public méthode

public ResetViewport ( ) : void
Résultat void

SearchNodeControlsByName() public méthode

public SearchNodeControlsByName ( string searchTerm ) : List
searchTerm string
Résultat List

SetMouse() public méthode

public SetMouse ( ) : void
Résultat void

ShowDescription() public méthode

public ShowDescription ( Node node ) : void
node SilverlightMappingToolBasic.UI.SuperGraph.ViewModel.Node
Résultat void

ShowRelatedMaps() public méthode

public ShowRelatedMaps ( Node node ) : void
node SilverlightMappingToolBasic.UI.SuperGraph.ViewModel.Node
Résultat void

ShowVideoControl() public méthode

public ShowVideoControl ( Node node ) : void
node SilverlightMappingToolBasic.UI.SuperGraph.ViewModel.Node
Résultat void

SuperGraphControl() public méthode

public SuperGraphControl ( ) : System
Résultat System

VerticalRealign() public méthode

public VerticalRealign ( bool isPartialRealign = false ) : void
isPartialRealign bool
Résultat void

ZoomIn() public méthode

public ZoomIn ( ) : void
Résultat void

ZoomOut() public méthode

public ZoomOut ( ) : void
Résultat void