Changeset 3038 for trunk/sources
- Timestamp:
- 03/15/10 14:53:49 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Analysis/ITree.cs
r2768 r3038 17 17 /// <c>true</c> if this instance is directed; otherwise, <c>false</c>. 18 18 /// </value> 19 bool IsDirected { get; set;}19 new bool IsDirected { get; set;} 20 20 /// <summary> 21 21 /// Gets or sets the root of the tree -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Scene graph/Model.cs
r2868 r3038 218 218 /// the shapes of the diagram 219 219 /// </summary> 220 [NonSerialized]221 private CollectionBase<IShape> mShapes;220 //[NonSerialized] 221 //private CollectionBase<IShape> mShapes; 222 222 /// <summary> 223 223 /// the bounding rectangle -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Scene graph/Page.cs
r2782 r3038 34 34 /// Occurs before an entity is transformed 35 35 /// </summary> 36 public event EventHandler<CancelableEntityEventArgs> OnBeforeResize;36 //public event EventHandler<CancelableEntityEventArgs> OnBeforeResize; 37 37 #endregion 38 38 -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Connections/Connection.cs
r2768 r3038 17 17 /// </summary> 18 18 // ------------------------------------------------------------------ 19 pr otectedconst double connectionVersion = 1.0;19 private const double connectionVersion = 1.0; 20 20 21 21 #region Hack for the caps -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Group/CollapsibleGroupShape.cs
r2768 r3038 33 33 // ------------------------------------------------------------------ 34 34 private CollectionBase<IDiagramEntity> mEntities; 35 36 // ------------------------------------------------------------------37 /// <summary>38 /// the bounding rectangle39 /// </summary>40 // ------------------------------------------------------------------41 private Rectangle mRectangle;42 35 43 36 // ------------------------------------------------------------------ -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Materials/ClickableIconLabelMaterial.cs
r2768 r3038 56 56 /// </summary> 57 57 // ------------------------------------------------------------------ 58 public virtualdouble Version58 public override double Version 59 59 { 60 60 get -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Materials/ClickableIconMaterial.cs
r2768 r3038 32 32 /// </summary> 33 33 // ------------------------------------------------------------------ 34 public virtualdouble Version34 public override double Version 35 35 { 36 36 get -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Materials/ClickableLabelMaterial.cs
r2768 r3038 50 50 /// </summary> 51 51 // ------------------------------------------------------------------ 52 public virtualdouble Version52 public override double Version 53 53 { 54 54 get -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Materials/FolderMaterial.cs
r2768 r3038 104 104 /// </summary> 105 105 // ------------------------------------------------------------------ 106 public virtualdouble Version106 public override double Version 107 107 { 108 108 get -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Materials/IconLabelMaterial.cs
r2768 r3038 56 56 /// </summary> 57 57 // ------------------------------------------------------------------ 58 public virtualdouble Version58 public override double Version 59 59 { 60 60 get -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Materials/IconMaterial.cs
r2768 r3038 40 40 /// </summary> 41 41 // ------------------------------------------------------------------ 42 public virtualdouble Version42 public override double Version 43 43 { 44 44 get -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Materials/LabelMaterial.cs
r2768 r3038 35 35 /// </summary> 36 36 // ------------------------------------------------------------------ 37 public virtualdouble Version37 public override double Version 38 38 { 39 39 get -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Materials/SwitchIconMaterial.cs
r2768 r3038 78 78 /// </summary> 79 79 // ------------------------------------------------------------------ 80 public virtualdouble Version80 public override double Version 81 81 { 82 82 get -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Shapes/ClassShape.cs
r2768 r3038 86 86 /// the list of items when set to list-type 87 87 /// </summary> 88 private C lassShapeItemCollection mList = new ClassShapeItemCollection();88 private CollectionBase<ClassShapeItem> mList = new CollectionBase<ClassShapeItem>(); 89 89 /// <summary> 90 90 /// the <see cref="LabelMaterial"/> to display the free text … … 226 226 /// Gets the list of items displayed in the body 227 227 /// </summary> 228 public C lassShapeItemCollectionList228 public CollectionBase<ClassShapeItem> List 229 229 { 230 230 get -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Shapes/FileShape.cs
r2768 r3038 281 281 public IntPtr hIcon; 282 282 public IntPtr iIcon; 283 public uint dwAttributes;283 public int dwAttributes; 284 284 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] 285 285 public string szDisplayName; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Shapes/ShapeFactory.cs
r2768 r3038 57 57 return null; 58 58 } 59 60 return null;61 59 } 62 60 -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Shapes/SimpleEllipse.cs
r2768 r3038 23 23 /// the connectors 24 24 /// </summary> 25 25 //Connector cBottom, cLeft, cRight, cTop; 26 26 #endregion 27 27 -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Diagram elements/Shapes/SimpleRectangle.cs
r2768 r3038 31 31 /// </summary> 32 32 // ------------------------------------------------------------------ 33 Connector cBottom;33 //Connector cBottom; 34 34 35 35 // ------------------------------------------------------------------ … … 38 38 /// </summary> 39 39 // ------------------------------------------------------------------ 40 Connector cLeft;40 //Connector cLeft; 41 41 42 42 // ------------------------------------------------------------------ … … 45 45 /// </summary> 46 46 // ------------------------------------------------------------------ 47 Connector cRight;47 //Connector cRight; 48 48 49 49 // ------------------------------------------------------------------ … … 52 52 /// </summary> 53 53 // ------------------------------------------------------------------ 54 Connector cTop;54 //Connector cTop; 55 55 56 56 #endregion -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/IO/Binary/BinarySerializer.cs
r2768 r3038 27 27 FileStream fs = new FileStream(fileName, FileMode.Create); 28 28 29 GenericFormatter<BinaryFormatter> f = new GenericFormatter<BinaryFormatter>(); 30 31 try 32 { 33 Document document = control.Document; 34 29 GenericFormatter<BinaryFormatter> f = new GenericFormatter<BinaryFormatter>(); 35 30 36 //Warning!: cleaning up, you need to unhook all events since 37 // unserializable classes hooked to events will give problems. 38 f.Serialize<Document>(fs, document ); 39 return true; 40 } 41 catch(Exception exc) 42 { 43 //site.OutputInfo("The graph was not saved, because some graph events were attached to non-serializable classes.\r\n This is a known issue and will be resolved in a later stadium.",OutputInfoLevels.Exception); 44 Trace.WriteLine(exc.Message, "BinarySerializer.SaveAs"); 45 46 //DumpInfo(); 47 } 48 catch 49 { 50 Trace.WriteLine("Non-CLS exception caught.","BinarySerializer.SaveAs"); 51 } 31 try { 32 Document document = control.Document; 33 34 35 //Warning!: cleaning up, you need to unhook all events since 36 // unserializable classes hooked to events will give problems. 37 f.Serialize<Document>(fs, document); 38 return true; 39 } 40 catch (Exception exc) { 41 //site.OutputInfo("The graph was not saved, because some graph events were attached to non-serializable classes.\r\n This is a known issue and will be resolved in a later stadium.",OutputInfoLevels.Exception); 42 Trace.WriteLine(exc.Message, "BinarySerializer.SaveAs"); 43 44 //DumpInfo(); 45 } 52 46 finally 53 47 { … … 117 111 MessageBox.Show(exc.Message, "BinarySerializer.Open"); 118 112 } 119 catch120 {121 MessageBox.Show("Non-CLS exception caught.", "BinarySerializer.Open");122 123 }124 113 finally 125 114 { -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Layout/BalloonTreeLayout.cs
r2861 r3038 230 230 public int d; 231 231 public int r; 232 public double rx;233 public double ry;232 //public double rx; 233 //public double ry; 234 234 public double a; 235 235 public double c; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446.csproj
r2803 r3038 85 85 <BaseAddress>285212672</BaseAddress> 86 86 <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> 87 <DocumentationFile>bin\Debug\Netron Documentation.xml</DocumentationFile> 87 <DocumentationFile> 88 </DocumentationFile> 88 89 <FileAlignment>4096</FileAlignment> 89 90 <DebugType>full</DebugType> -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Printing/DiagramPrinter.cs
r2768 r3038 19 19 PrintDocument myDocument; 20 20 IDiagramControl myDiagram; 21 PrinterSettings mySettings;21 //PrinterSettings mySettings; 22 22 PageSettings myPageSettings; 23 23 int currentPageIndex = 0; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Serialization/Connection.Serialization.cs
r2768 r3038 22 22 /// <param name="info">The info.</param> 23 23 /// <param name="context">The context.</param> 24 pr otectedConnection(SerializationInfo info, StreamingContext context) : base(info, context)24 private Connection(SerializationInfo info, StreamingContext context) : base(info, context) 25 25 { 26 26 if(Tracing.BinaryDeserializationSwitch.Enabled) -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Tools/HotKeys.cs
r2768 r3038 33 33 public void KeyUp(System.Windows.Forms.KeyEventArgs e) 34 34 { 35 ICommand cmd = null;36 35 switch (e.KeyCode) 37 36 {
Note: See TracChangeset
for help on using the changeset viewer.