C# 클래스 Dynamo.Controls.DynamoView

Interaction logic for DynamoForm.xaml
상속: System.Windows.Window, IDisposable
파일 보기 프로젝트 열기: DynamoDS/Dynamo 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ApplyNodeViewCustomization void
Button_MouseEnter void
Button_MouseLeave void
CheckVirtualScreenSize bool
ClipBoard_CollectionChanged void
Controller_RequestTaskDialog void
Controller_RequestsCrashPrompt void
DeleteState_Click void
DisplayTermsOfUseForAcceptance bool
DynamoViewModelRequestAboutWindow void
DynamoViewModelRequestClose void
DynamoViewModelRequestPackagePaths void
DynamoViewModelRequestPresetNamePrompt void
DynamoViewModelRequestPresetWarningPrompt void
DynamoViewModelRequestRequestPackageManagerPublish void
DynamoViewModelRequestSave3DImage void
DynamoViewModelRequestSaveImage void
DynamoViewModelRequestShowHideGallery void
DynamoViewModelRequestShowInstalledPackages void
DynamoViewModelRequestShowPackageManagerSearch void
DynamoViewModelRequestUserSaveWorkflow void
DynamoViewModelRequestViewOperation void
DynamoViewModelRequestsFunctionNamePrompt void
DynamoViewModelSidebarClosed void
DynamoView_KeyDown void
DynamoView_KeyUp void
DynamoView_Loaded void
DynamoView_LocationChanged void
DynamoView_OnDrop void
DynamoView_SizeChanged void
DynamoView_Unloaded void
GetSlidingWindowSize int
HidePopupWhenWindowDeactivated void
InitializeLogin void
InitializeShortcutBar void
InitializeStartPage void
LibraryClicked void
LoadNodeViewCustomizations void
LoadPresetsMenus void
LoadSamplesMenu void
LoaderOnAssemblyLoaded void
Log void
Log void
OnCollapsedSidebarClick void
OnGalleryBackgroundMouseClick void
OnRequestPaste void
OnRequestReturnFocusToView void
OnShowInFolder void
OpenSample_Click void
PasteNodeAtTheCenter void
PerformShutdownSequenceOnViewModel bool
RestoreState_Click void
Selection_CollectionChanged void
ShowNewFunctionDialog void
ShowNewPresetDialog void
ShowPresetWarning void
SlideWindowToIncludeTab void
SubscribeNodeViewCustomizationEvents void
TabControlMenuItem_Click void
TextBoxBase_OnTextChanged void
ToggleWorkspaceTabVisibility void
TrackStartupAnalytics void
UnsubscribeNodeViewCustomizationEvents void
WindowClosed void
WindowClosing void
Window_PreviewMouseDown void
Window_PreviewMouseLeftButtonUp void
Window_PreviewMouseUp void
WorkspaceTabs_SelectionChanged void
WorkspaceTabs_SizeChanged void
WorkspaceTabs_TargetUpdated void
Workspace_SizeChanged void
_resizeTimer_Tick void
vm_RequestLayoutUpdate void

공개 메소드들

메소드 설명
Dispose ( ) : void
DynamoView ( DynamoViewModel dynamoViewModel ) : Dynamo.Configuration
PlacePopup ( Size popupSize, Size targetSize, Point offset ) : System.Windows.Controls.Primitives.CustomPopupPlacement[]

비공개 메소드들

메소드 설명
ApplyNodeViewCustomization ( object nodeView, EventArgs args ) : void
Button_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Button_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
CheckVirtualScreenSize ( ) : bool
ClipBoard_CollectionChanged ( object sender, System e ) : void
Controller_RequestTaskDialog ( object sender, Dynamo.Models.TaskDialogEventArgs e ) : void
Controller_RequestsCrashPrompt ( object sender, Dynamo.Core.CrashPromptArgs args ) : void
DeleteState_Click ( object sender, RoutedEventArgs e ) : void
DisplayTermsOfUseForAcceptance ( ) : bool

Call this method to optionally bring up terms of use dialog. User needs to accept terms of use before any packages can be downloaded from package manager.

DynamoViewModelRequestAboutWindow ( DynamoViewModel model ) : void
DynamoViewModelRequestClose ( object sender, EventArgs e ) : void
DynamoViewModelRequestPackagePaths ( object sender, EventArgs e ) : void
DynamoViewModelRequestPresetNamePrompt ( Dynamo.Models.PresetsNamePromptEventArgs e ) : void

Handles the request for the presentation of the preset name prompt

DynamoViewModelRequestPresetWarningPrompt ( ) : void
DynamoViewModelRequestRequestPackageManagerPublish ( Dynamo.PackageManager.PublishPackageViewModel model ) : void
DynamoViewModelRequestSave3DImage ( object sender, Dynamo.ViewModels.ImageSaveEventArgs e ) : void
DynamoViewModelRequestSaveImage ( object sender, Dynamo.ViewModels.ImageSaveEventArgs e ) : void
DynamoViewModelRequestShowHideGallery ( bool showGallery ) : void
DynamoViewModelRequestShowInstalledPackages ( object s, EventArgs e ) : void
DynamoViewModelRequestShowPackageManagerSearch ( object s, EventArgs e ) : void
DynamoViewModelRequestUserSaveWorkflow ( object sender, Dynamo.ViewModels.WorkspaceSaveEventArgs e ) : void
DynamoViewModelRequestViewOperation ( Dynamo.Models.ViewOperationEventArgs e ) : void
DynamoViewModelRequestsFunctionNamePrompt ( object sender, Dynamo.Models.FunctionNamePromptEventArgs e ) : void

Handles the request for the presentation of the function name prompt

DynamoViewModelSidebarClosed ( object sender, EventArgs e ) : void
DynamoView_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
DynamoView_KeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
DynamoView_Loaded ( object sender, EventArgs e ) : void
DynamoView_LocationChanged ( object sender, EventArgs e ) : void
DynamoView_OnDrop ( object sender, System.Windows.DragEventArgs e ) : void
DynamoView_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
DynamoView_Unloaded ( object sender, RoutedEventArgs e ) : void
GetSlidingWindowSize ( ) : int
HidePopupWhenWindowDeactivated ( ) : void

Close Popup when the Dynamo window is not in the foreground.

InitializeLogin ( ) : void
InitializeShortcutBar ( ) : void
InitializeStartPage ( bool isFirstRun ) : void

This method inserts an instance of "StartPageViewModel" into the "startPageItemsControl", results of which displays the Start Page on "DynamoView" through the list item's data template. This method also ensures that there is at most one item in the "startPageItemsControl". Only when this method is invoked the cost of initializing the start page is incurred, when user opts to not display start page at start up, then this method will not be called (therefore incurring no cost).

LibraryClicked ( object sender, EventArgs e ) : void
LoadNodeViewCustomizations ( ) : void
LoadPresetsMenus ( object sender, RoutedEventArgs e ) : void
LoadSamplesMenu ( ) : void

Setup the "Samples" sub-menu with contents of samples directory.

LoaderOnAssemblyLoaded ( NodeModelAssemblyLoader args ) : void
Log ( ILogMessage obj ) : void
Log ( string message ) : void
OnCollapsedSidebarClick ( object sender, EventArgs e ) : void
OnGalleryBackgroundMouseClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnRequestPaste ( ) : void
OnRequestReturnFocusToView ( ) : void
OnShowInFolder ( object sender, RoutedEventArgs e ) : void
OpenSample_Click ( object sender, RoutedEventArgs e ) : void

Setup the "Samples" sub-menu with contents of samples directory.

PasteNodeAtTheCenter ( Dynamo.Views.WorkspaceView workspace ) : void

Paste nodes at the center of workspace view.

PerformShutdownSequenceOnViewModel ( ) : bool
RestoreState_Click ( object sender, RoutedEventArgs e ) : void
Selection_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
ShowNewFunctionDialog ( Dynamo.Models.FunctionNamePromptEventArgs e ) : void

Presents the function name dialogue. Returns true if the user enters a function name and category.

ShowNewPresetDialog ( Dynamo.Models.PresetsNamePromptEventArgs e ) : void

Presents the preset name dialogue. sets eventargs.Success to true if the user enters a preset name/timestamp and description.

ShowPresetWarning ( ) : void
SlideWindowToIncludeTab ( int tabSelected ) : void
SubscribeNodeViewCustomizationEvents ( ) : void
TabControlMenuItem_Click ( object sender, RoutedEventArgs e ) : void
TextBoxBase_OnTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
ToggleWorkspaceTabVisibility ( int tabSelected ) : void
TrackStartupAnalytics ( ) : void
UnsubscribeNodeViewCustomizationEvents ( ) : void
WindowClosed ( object sender, EventArgs e ) : void
WindowClosing ( object sender, CancelEventArgs e ) : void
Window_PreviewMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Window_PreviewMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Window_PreviewMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
WorkspaceTabs_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
WorkspaceTabs_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
WorkspaceTabs_TargetUpdated ( object sender, System.Windows.Data.DataTransferEventArgs e ) : void
Workspace_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
_resizeTimer_Tick ( object sender, EventArgs e ) : void
vm_RequestLayoutUpdate ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DynamoView() 공개 메소드

public DynamoView ( DynamoViewModel dynamoViewModel ) : Dynamo.Configuration
dynamoViewModel DynamoViewModel
리턴 Dynamo.Configuration

PlacePopup() 공개 메소드

public PlacePopup ( Size popupSize, Size targetSize, Point offset ) : System.Windows.Controls.Primitives.CustomPopupPlacement[]
popupSize System.Windows.Size
targetSize System.Windows.Size
offset Point
리턴 System.Windows.Controls.Primitives.CustomPopupPlacement[]