C# 클래스 SilverlightMappingToolBasic.UI.SuperGraph.View.SuperGraphControl

상속: System.Windows.Controls.UserControl, ISidebarOperationHandler, IBreadcrumbOperationHandler, IRealignControl, ISelectorControl, IArrowContainerControl, IRelatedContentOperationsHandler, IContextMenuParent
파일 보기 프로젝트 열기: chris-tomich/Glyma 1 사용 예제들

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Add() 공개 메소드

public Add ( ArrowControl arrowControl ) : void
arrowControl SilverlightMappingToolBasic.UI.SuperGraph.View.Arrow.ArrowControl
리턴 void

AuthorMode() 공개 메소드

public AuthorMode ( ) : void
리턴 void

AutoRealign() 공개 메소드

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. ///
리턴 void

ClearMapObjects() 공개 메소드

public ClearMapObjects ( bool isSaveStates = true ) : void
isSaveStates bool
리턴 void

DefaultZoom() 공개 메소드

public DefaultZoom ( ) : void
리턴 void

DragRelease() 공개 메소드

public DragRelease ( ) : void
리턴 void

DragStart() 공개 메소드

public DragStart ( MouseManagerEventArgs e ) : void
e SilverlightMappingToolBasic.UI.SuperGraph.View.Mouse.MouseManagerEventArgs
리턴 void

Explorer_OnLeftButtonDragMove() 공개 메소드

public Explorer_OnLeftButtonDragMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
리턴 void

Explorer_OnLeftButtonDragReleased() 공개 메소드

public Explorer_OnLeftButtonDragReleased ( object sender, MouseManagerEventArgs e ) : void
sender object
e SilverlightMappingToolBasic.UI.SuperGraph.View.Mouse.MouseManagerEventArgs
리턴 void

Explorer_OnLeftButtonDragStart() 공개 메소드

public Explorer_OnLeftButtonDragStart ( object sender, MouseManagerEventArgs e ) : void
sender object
e SilverlightMappingToolBasic.UI.SuperGraph.View.Mouse.MouseManagerEventArgs
리턴 void

GetArrowControls() 공개 메소드

public GetArrowControls ( ) : IEnumerable
리턴 IEnumerable

GetMapBounds() 공개 메소드

public GetMapBounds ( double &left, double &right, double &top, double &bottom ) : void
left double
right double
top double
bottom double
리턴 void

GetNodeControls() 공개 메소드

public GetNodeControls ( ) : IEnumerable
리턴 IEnumerable

GetRelationships() 공개 메소드

public GetRelationships ( ) : IEnumerable
리턴 IEnumerable

GetVisibleNodeControls() 공개 메소드

public GetVisibleNodeControls ( ) : IEnumerable
리턴 IEnumerable

HasVisibleNodes() 공개 메소드

public HasVisibleNodes ( ) : bool
리턴 bool

HorizontalRealign() 공개 메소드

public HorizontalRealign ( bool isPartialRealign = false ) : void
isPartialRealign bool
리턴 void

IsArrowExist() 공개 메소드

public IsArrowExist ( NodeControl from, NodeControl to ) : bool
from SilverlightMappingToolBasic.UI.SuperGraph.View.NodeControlSupportClasses.NodeControl
to SilverlightMappingToolBasic.UI.SuperGraph.View.NodeControlSupportClasses.NodeControl
리턴 bool

LoadCookie() 공개 메소드

public LoadCookie ( ) : void
리턴 void

ModelChanged() 공개 메소드

public ModelChanged ( object sender, Relationship>.ModelChangedEventArgs e ) : void
sender object
e Relationship>.ModelChangedEventArgs
리턴 void

MoveMap() 공개 메소드

public MoveMap ( double x, double y ) : void
x double
y double
리턴 void

ReScanForCollapseStates() 공개 메소드

public ReScanForCollapseStates ( ) : void
리턴 void

ReaderMode() 공개 메소드

public ReaderMode ( ) : void
리턴 void

RecheckIncorrectVisibility() 공개 메소드

public RecheckIncorrectVisibility ( ) : void
리턴 void

RecheckLocations() 공개 메소드

public RecheckLocations ( ) : void
리턴 void

Remove() 공개 메소드

public Remove ( ArrowControl arrowControl ) : void
arrowControl SilverlightMappingToolBasic.UI.SuperGraph.View.Arrow.ArrowControl
리턴 void

ResetViewport() 공개 메소드

public ResetViewport ( ) : void
리턴 void

SearchNodeControlsByName() 공개 메소드

public SearchNodeControlsByName ( string searchTerm ) : List
searchTerm string
리턴 List

SetMouse() 공개 메소드

public SetMouse ( ) : void
리턴 void

ShowDescription() 공개 메소드

public ShowDescription ( Node node ) : void
node SilverlightMappingToolBasic.UI.SuperGraph.ViewModel.Node
리턴 void

ShowRelatedMaps() 공개 메소드

public ShowRelatedMaps ( Node node ) : void
node SilverlightMappingToolBasic.UI.SuperGraph.ViewModel.Node
리턴 void

ShowVideoControl() 공개 메소드

public ShowVideoControl ( Node node ) : void
node SilverlightMappingToolBasic.UI.SuperGraph.ViewModel.Node
리턴 void

SuperGraphControl() 공개 메소드

public SuperGraphControl ( ) : System
리턴 System

VerticalRealign() 공개 메소드

public VerticalRealign ( bool isPartialRealign = false ) : void
isPartialRealign bool
리턴 void

ZoomIn() 공개 메소드

public ZoomIn ( ) : void
리턴 void

ZoomOut() 공개 메소드

public ZoomOut ( ) : void
리턴 void