- Timestamp:
- 11/18/15 16:33:27 (8 years ago)
- Location:
- stable/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/OperatorGraphView.Designer.cs
r12009 r13258 61 61 this.selectButton = new System.Windows.Forms.Button(); 62 62 this.detailsGroupBox = new System.Windows.Forms.GroupBox(); 63 this.detailsViewHost = new HeuristicLab. MainForm.WindowsForms.ViewHost();63 this.detailsViewHost = new HeuristicLab.Core.Views.BreadcrumbViewHost(); 64 64 this.buttonToolTip = new System.Windows.Forms.ToolTip(this.components); 65 65 this.shapeContextMenu.SuspendLayout(); … … 235 235 | System.Windows.Forms.AnchorStyles.Right))); 236 236 this.detailsViewHost.Content = null; 237 this.detailsViewHost.EnableBreadcrumbs = true; 237 238 this.detailsViewHost.Location = new System.Drawing.Point(3, 16); 238 239 this.detailsViewHost.Name = "detailsViewHost"; … … 270 271 private System.Windows.Forms.SplitContainer splitContainer; 271 272 private System.Windows.Forms.GroupBox detailsGroupBox; 272 private HeuristicLab. MainForm.WindowsForms.ViewHost detailsViewHost;273 private HeuristicLab.Core.Views.BreadcrumbViewHost detailsViewHost; 273 274 private System.Windows.Forms.Button selectButton; 274 275 private System.Windows.Forms.Button zoomOutButton; -
stable/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/OperatorGraphView.cs
r12009 r13258 25 25 using System.Windows.Forms; 26 26 using HeuristicLab.Core; 27 using HeuristicLab.Core.Views; 27 28 using HeuristicLab.MainForm; 28 29 using HeuristicLab.MainForm.WindowsForms; … … 140 141 if (shapeInfo != null) { 141 142 IOperator op = this.VisualizationInfo.GetOperatorForShapeInfo(shapeInfo); 142 IContentView view = MainFormManager.MainForm.ShowContent(op); 143 if (view != null) { 144 view.ReadOnly = this.ReadOnly; 145 view.Locked = this.Locked; 143 IOperatorGraphOperator graphOp = op as IOperatorGraphOperator; 144 145 Control c = this; 146 BreadcrumbViewHost vh; 147 148 do { 149 c = c.Parent; 150 vh = c as BreadcrumbViewHost; 151 } while ((vh == null || !vh.EnableBreadcrumbs) && c != null); 152 153 if (graphOp != null && vh != null) { 154 vh.AddBreadcrumbs(vh.Content); 155 vh.AddBreadcrumb(graphOp.Name, graphOp.OperatorGraph); 156 vh.Content = graphOp.OperatorGraph; 157 vh.ReadOnly = ReadOnly; 158 vh.Locked = Locked; 159 } else { 160 IContentView view = MainFormManager.MainForm.ShowContent(op); 161 if (view != null) { 162 view.ReadOnly = ReadOnly; 163 view.Locked = Locked; 164 } 146 165 } 166 147 167 HandledMouseEventArgs eventArgs = e as HandledMouseEventArgs; 148 168 if (eventArgs != null) -
stable/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/Plugin.cs.frame
r12751 r13258 29 29 [PluginDependency("HeuristicLab.Common.Resources", "3.3")] 30 30 [PluginDependency("HeuristicLab.Core", "3.3")] 31 [PluginDependency("HeuristicLab.Core.Views", "3.3")] 31 32 [PluginDependency("HeuristicLab.MainForm", "3.3")] 32 33 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")]
Note: See TracChangeset
for help on using the changeset viewer.