protected override void Initialize() { base.Initialize(); this.EditorTitle = "VSPluginDSL"; // diagram surface vm this.DiagramSurfaceModel = new VSPluginDSLDesignerDiagramSurfaceViewModel(ViewModelStore as VSPluginDSLViewModelStore, this.ModelContext); AddAdditionalViewModel(DiagramSurfaceModel); VSPluginDSLSpecificElementsDiagramTemplateSurfaceViewModel diagramSpecificElementsDiagramTemplate = new VSPluginDSLSpecificElementsDiagramTemplateSurfaceViewModel(ViewModelStore as VSPluginDSLViewModelStore, this.ModelContext); AddAdditionalViewModel(diagramSpecificElementsDiagramTemplate); }
protected override void Initialize() { base.Initialize(); this.EditorTitle = "VSPluginDSL"; // diagram surface vm this.DiagramSurfaceModel = new VSPluginDSLDesignerDiagramSurfaceViewModel(ViewModelStore as VSPluginDSLViewModelStore, this.ModelContext); AddAdditionalViewModel(DiagramSurfaceModel); VSPluginDSLSpecificElementsDiagramTemplateSurfaceViewModel diagramSpecificElementsDiagramTemplate = new VSPluginDSLSpecificElementsDiagramTemplateSurfaceViewModel(ViewModelStore as VSPluginDSLViewModelStore, this.ModelContext); AddAdditionalViewModel(diagramSpecificElementsDiagramTemplate); }