프로퍼티 | 타입 | 설명 | |
---|---|---|---|
diagramDocumentLockHolder | DslShell::SubordinateDocumentLockHolder | ||
diagramPartitionId | global::System.Guid |
메소드 | 설명 | |
---|---|---|
Initialize ( global::Microsoft.VisualStudio.Modeling sharedStore ) : void |
Initialize the doc data
|
|
MarkDocumentChangedForBackup ( ) : void |
Mark that the document has changed and thus a new backup should be created Call this method when you change the document's content |
메소드 | 설명 | |
---|---|---|
CreateExtensionLocator ( ) : DslModeling::IExtensionLocator |
Factory method to create an ExtensionLocator.
|
|
CreateSerializerLocator ( ) : DslModeling::ISerializerLocator |
Factory method to create a SerializerLocator.
|
|
CreateStore ( ) : DslModeling::Store |
Create and return a new store Override the default behaviour to put the doc data's composition container into the store's property bag. By default, the runtime will add the CompositionService from the DslShell ModelingCompositionContainer if the property has not already been set. |
|
CreateValidationController ( ) : DslShell::VsValidationController |
Factory method to create a VSValidationController.
|
|
Dispose ( bool disposing ) : void |
When the doc data is closed, make sure we reset the valiation messages (if there's any) from the ErrorList window.
|
|
GetDiagramPartition ( ) : DslModeling::Partition |
Get the Partition where diagram data will be loaded into. Base implementation returns the default partition of the store.
|
|
GetDomainModels ( ) : global::System.Collections.Generic.IList |
Returns a collection of domain models to load into the store. The default implementation includes any extension domain models returned by the call to GetExtensionDomainModels(). |
|
GetExtensionDomainModels ( ) : global::System.Collections.Generic.IEnumerable |
Returns the list of extension domain models to be loaded This method is called by "GetDomainModels", which aggregates the returned lists. |
|
GetModelPartition ( ) : DslModeling::Partition |
Get the Partition where model data will be loaded into. Base implementation returns the default partition of the store.
|
|
HandleBindingFailure ( global exception ) : bool |
Handles exceptions that occurred during binding. If the exception is not handled (i.e. the method returns false), it will be re-thrown by the calling method. This method will be called for all types of exception. |
|
InitializeComposition ( ) : void |
Satisfy Imports in DocData object
|
|
Load ( string fileName, bool isReload ) : void |
Loads the given file.
|
|
NotifySubordinateDocumentSaved ( string oldFileName, string newFileName ) : void |
Notify the RDT that the sub-ordinate document has been saved, assuming saved to the same file as registered in the RDT
|
|
OnDocumentLoaded ( ) : void |
Called on both document load and reload.
|
|
OnDocumentLoaded ( global e ) : void |
Called after the document is opened.
|
|
OnDocumentReloaded ( global e ) : void |
Called after the document is reloaded.
|
|
OnDocumentSaved ( global e ) : void |
Handle when document has been saved
|
|
Save ( string fileName ) : void |
Saves the given file.
|
|
SaveSubordinateFile ( global::Microsoft.VisualStudio.Modeling.Shell subordinateDocument, string fileName ) : void |
Save the given document that is subordinate to this document.
|
|
nHydrateDocDataBase ( global serviceProvider, global editorFactoryId ) : global::System.Linq |
Constructs a new nHydrateDocDataBase.
|
메소드 | 설명 | |
---|---|---|
SetValidationExtensionRegistrar ( global::Microsoft.VisualStudio.Modeling.Validation validationController ) : void |
Add ValidationExtensionRegistrar to the ValidationController and handle related MEF Initialization operations
|
protected CreateExtensionLocator ( ) : DslModeling::IExtensionLocator | ||
리턴 | DslModeling::IExtensionLocator |
protected CreateSerializerLocator ( ) : DslModeling::ISerializerLocator | ||
리턴 | DslModeling::ISerializerLocator |
protected CreateValidationController ( ) : DslShell::VsValidationController | ||
리턴 | DslShell::VsValidationController |
protected GetDiagramPartition ( ) : DslModeling::Partition | ||
리턴 | DslModeling::Partition |
protected GetDomainModels ( ) : global::System.Collections.Generic.IList |
||
리턴 | global::System.Collections.Generic.IList |
protected GetExtensionDomainModels ( ) : global::System.Collections.Generic.IEnumerable |
||
리턴 | global::System.Collections.Generic.IEnumerable |
protected GetModelPartition ( ) : DslModeling::Partition | ||
리턴 | DslModeling::Partition |
protected HandleBindingFailure ( global exception ) : bool | ||
exception | global | The exception that occured |
리턴 | bool |
public Initialize ( global::Microsoft.VisualStudio.Modeling sharedStore ) : void | ||
sharedStore | global::Microsoft.VisualStudio.Modeling | |
리턴 | void |
protected Load ( string fileName, bool isReload ) : void | ||
fileName | string | |
isReload | bool | |
리턴 | void |
protected NotifySubordinateDocumentSaved ( string oldFileName, string newFileName ) : void | ||
oldFileName | string | |
newFileName | string | |
리턴 | void |
protected OnDocumentLoaded ( global e ) : void | ||
e | global | Event Args. |
리턴 | void |
protected SaveSubordinateFile ( global::Microsoft.VisualStudio.Modeling.Shell subordinateDocument, string fileName ) : void | ||
subordinateDocument | global::Microsoft.VisualStudio.Modeling.Shell | |
fileName | string | |
리턴 | void |
protected nHydrateDocDataBase ( global serviceProvider, global editorFactoryId ) : global::System.Linq | ||
serviceProvider | global | |
editorFactoryId | global | |
리턴 | global::System.Linq |
protected DslShell::SubordinateDocumentLockHolder diagramDocumentLockHolder | ||
리턴 | DslShell::SubordinateDocumentLockHolder |