Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1447 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
23 changed files with 231 additions and 279 deletions
@ -1,20 +0,0 @@ |
|||||||
/* |
|
||||||
* Created by SharpDevelop. |
|
||||||
* User: Forstmeier Helmut |
|
||||||
* Date: 10.08.2005 |
|
||||||
* Time: 22:14 |
|
||||||
* |
|
||||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
|
||||||
*/ |
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Each DesignControl Visitor has to implement this Interface
|
|
||||||
/// </summary>
|
|
||||||
using System; |
|
||||||
|
|
||||||
namespace SharpReport.Designer{ |
|
||||||
public interface IDesignerVisitor { |
|
||||||
void Visit (SharpReport.Designer.BaseDesignerControl designer); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
@ -1,21 +0,0 @@ |
|||||||
/* |
|
||||||
* Created by SharpDevelop. |
|
||||||
* User: Forstmeier Peter |
|
||||||
* Date: 10.08.2005 |
|
||||||
* Time: 13:38 |
|
||||||
* |
|
||||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
|
||||||
*/ |
|
||||||
|
|
||||||
using System; |
|
||||||
using SharpReport.Designer; |
|
||||||
|
|
||||||
namespace SharpReport.Designer{ |
|
||||||
/// <summary>
|
|
||||||
/// Implemented in SharpReportDesigner
|
|
||||||
/// </summary>
|
|
||||||
|
|
||||||
public interface IVisitor{ |
|
||||||
void Accept(IDesignerVisitor visitor); |
|
||||||
} |
|
||||||
} |
|
||||||
@ -1,77 +0,0 @@ |
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <autogenerated>
|
|
||||||
// This code was generated by a tool.
|
|
||||||
// Runtime Version: 1.1.4322.2032
|
|
||||||
//
|
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
// the code is regenerated.
|
|
||||||
// </autogenerated>
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
using System; |
|
||||||
using System.Xml; |
|
||||||
|
|
||||||
using SharpReport.Designer; |
|
||||||
|
|
||||||
using SharpReportCore; |
|
||||||
namespace SharpReport.Visitors |
|
||||||
{ |
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Abstract Class for Designer Visitor
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// created by - Forstmeier Peter
|
|
||||||
/// created on - 02.12.2004 16:53:00
|
|
||||||
/// </remarks>
|
|
||||||
public class AbstractVisitor : object, SharpReport.Designer.IDesignerVisitor { |
|
||||||
private readonly string nodesQuery = "controls/control"; |
|
||||||
private string fileName; |
|
||||||
private XmlFormReader xmlFormReader; |
|
||||||
|
|
||||||
public AbstractVisitor() { |
|
||||||
} |
|
||||||
|
|
||||||
public AbstractVisitor(string fileName){ |
|
||||||
this.fileName = fileName; |
|
||||||
xmlFormReader = new XmlFormReader() ; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// All classes how use this baseclass have to override this method
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// Interface method from IDesignerVisitor
|
|
||||||
///
|
|
||||||
/// </remarks>
|
|
||||||
public virtual void Visit(SharpReport.Designer.BaseDesignerControl designer) { |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#region Properties
|
|
||||||
protected string FileName { |
|
||||||
get { |
|
||||||
return fileName; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
protected XmlFormReader XmlFormReader { |
|
||||||
get { |
|
||||||
return xmlFormReader; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
protected string NodesQuery { |
|
||||||
get { |
|
||||||
return nodesQuery; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
} |
|
||||||
} |
|
||||||
Loading…
Reference in new issue