C# Class Stetic.ObjectWrapper

Inheritance: System.MarshalByRefObject, IDisposable
Mostra file Open project: mono/stetic Class Usage Examples

Protected Properties

Property Type Description
classDescriptor ClassDescriptor
proj IProject
wrapped object

Public Methods

Method Description
ApplyUndoRedoDiff ( object diff ) : object
AttachDesigner ( IDesignArea designer ) : void
Create ( IProject proj, object wrapped ) : ObjectWrapper
DetachDesigner ( IDesignArea designer ) : void
Dispose ( ) : void
FindObjectByUndoId ( string id ) : ObjectWrapper
GetUndoDiff ( ) : object
InitializeLifetimeService ( ) : object
Lookup ( object obj ) : ObjectWrapper
NotifyChanged ( ) : void
ObjectWrapper ( ) : System
Read ( ObjectReader reader, XmlElement element ) : void
ReadObject ( ObjectReader reader, XmlElement elem ) : ObjectWrapper
Wrap ( object obj, bool initialized ) : void
Write ( Stetic.ObjectWriter writer ) : XmlElement

Protected Methods

Method Description
DropObject ( string data, Gtk obj ) : void
EmitNotify ( string propertyName ) : void
GenerateBuildCode ( GeneratorContext ctx, System.CodeDom.CodeExpression var ) : void
GenerateObjectCreation ( GeneratorContext ctx ) : System.CodeDom.CodeExpression
GeneratePostBuildCode ( GeneratorContext ctx, System.CodeDom.CodeExpression var ) : void
GeneratePropertySet ( GeneratorContext ctx, System.CodeDom.CodeExpression var, PropertyDescriptor prop ) : void
OnBeginRead ( FileFormat format ) : void
OnDesignerAttach ( IDesignArea designer ) : void
OnDesignerDetach ( IDesignArea designer ) : void
OnEndRead ( FileFormat format ) : void
OnObjectChanged ( Stetic.ObjectWrapperEventArgs args ) : void
OnSignalAdded ( Stetic.SignalEventArgs args ) : void
OnSignalChanged ( Stetic.SignalChangedEventArgs args ) : void
OnSignalRemoved ( Stetic.SignalEventArgs args ) : void
OnWrapped ( ) : void

Private Methods

Method Description
Bind ( IProject proj, ClassDescriptor klass, ObjectWrapper wrapper, object wrapped, bool initialized ) : void
FireObjectChangedEvent ( ) : void
GenerateInitCode ( GeneratorContext ctx, System.CodeDom.CodeExpression var ) : void
GetIndentityObject ( object ob ) : object
GetUndoManagerInternal ( ) : Stetic.UndoManager

Method Details

ApplyUndoRedoDiff() public method

public ApplyUndoRedoDiff ( object diff ) : object
diff object
return object

AttachDesigner() public method

public AttachDesigner ( IDesignArea designer ) : void
designer IDesignArea
return void

Create() public static method

public static Create ( IProject proj, object wrapped ) : ObjectWrapper
proj IProject
wrapped object
return ObjectWrapper

DetachDesigner() public method

public DetachDesigner ( IDesignArea designer ) : void
designer IDesignArea
return void

Dispose() public method

public Dispose ( ) : void
return void

DropObject() protected method

protected DropObject ( string data, Gtk obj ) : void
data string
obj Gtk
return void

EmitNotify() protected method

protected EmitNotify ( string propertyName ) : void
propertyName string
return void

FindObjectByUndoId() public method

public FindObjectByUndoId ( string id ) : ObjectWrapper
id string
return ObjectWrapper

GenerateBuildCode() protected method

protected GenerateBuildCode ( GeneratorContext ctx, System.CodeDom.CodeExpression var ) : void
ctx GeneratorContext
var System.CodeDom.CodeExpression
return void

GenerateObjectCreation() protected method

protected GenerateObjectCreation ( GeneratorContext ctx ) : System.CodeDom.CodeExpression
ctx GeneratorContext
return System.CodeDom.CodeExpression

GeneratePostBuildCode() protected method

protected GeneratePostBuildCode ( GeneratorContext ctx, System.CodeDom.CodeExpression var ) : void
ctx GeneratorContext
var System.CodeDom.CodeExpression
return void

GeneratePropertySet() protected method

protected GeneratePropertySet ( GeneratorContext ctx, System.CodeDom.CodeExpression var, PropertyDescriptor prop ) : void
ctx GeneratorContext
var System.CodeDom.CodeExpression
prop PropertyDescriptor
return void

GetUndoDiff() public method

public GetUndoDiff ( ) : object
return object

InitializeLifetimeService() public method

public InitializeLifetimeService ( ) : object
return object

Lookup() public static method

public static Lookup ( object obj ) : ObjectWrapper
obj object
return ObjectWrapper

NotifyChanged() public method

public NotifyChanged ( ) : void
return void

ObjectWrapper() public method

public ObjectWrapper ( ) : System
return System

OnBeginRead() protected method

protected OnBeginRead ( FileFormat format ) : void
format FileFormat
return void

OnDesignerAttach() protected method

protected OnDesignerAttach ( IDesignArea designer ) : void
designer IDesignArea
return void

OnDesignerDetach() protected method

protected OnDesignerDetach ( IDesignArea designer ) : void
designer IDesignArea
return void

OnEndRead() protected method

protected OnEndRead ( FileFormat format ) : void
format FileFormat
return void

OnObjectChanged() protected method

protected OnObjectChanged ( Stetic.ObjectWrapperEventArgs args ) : void
args Stetic.ObjectWrapperEventArgs
return void

OnSignalAdded() protected method

protected OnSignalAdded ( Stetic.SignalEventArgs args ) : void
args Stetic.SignalEventArgs
return void

OnSignalChanged() protected method

protected OnSignalChanged ( Stetic.SignalChangedEventArgs args ) : void
args Stetic.SignalChangedEventArgs
return void

OnSignalRemoved() protected method

protected OnSignalRemoved ( Stetic.SignalEventArgs args ) : void
args Stetic.SignalEventArgs
return void

OnWrapped() protected method

protected OnWrapped ( ) : void
return void

Read() public method

public Read ( ObjectReader reader, XmlElement element ) : void
reader ObjectReader
element System.Xml.XmlElement
return void

ReadObject() public static method

public static ReadObject ( ObjectReader reader, XmlElement elem ) : ObjectWrapper
reader ObjectReader
elem System.Xml.XmlElement
return ObjectWrapper

Wrap() public method

public Wrap ( object obj, bool initialized ) : void
obj object
initialized bool
return void

Write() public method

public Write ( Stetic.ObjectWriter writer ) : XmlElement
writer Stetic.ObjectWriter
return System.Xml.XmlElement

Property Details

classDescriptor protected_oe property

protected ClassDescriptor,Stetic classDescriptor
return ClassDescriptor

proj protected_oe property

protected IProject proj
return IProject

wrapped protected_oe property

protected object wrapped
return object