C# Class Stetic.Project

Inheritance: System.MarshalByRefObject
Exibir arquivo Open project: mono/stetic Class Usage Examples

Private Properties

Property Type Description
GetActionGroups Stetic.ActionGroupComponent[]
ImportFile string
NotifyActionGroupAdded void
NotifyActionGroupRemoved void
NotifyChanged void
NotifyComponentTypesChanged void
NotifyModifiedChanged void
NotifyProjectReloaded void
NotifyProjectReloading void
NotifySignalAdded void
NotifySignalChanged void
NotifySignalRemoved void
NotifyUpdateLibraries void
NotifyWidgetAdded void
NotifyWidgetNameChanged void
NotifyWidgetRemoved void
OnBackendChanged void
OnBackendChanging void
Project System
Project System
ReadActionGroup void
ReadWidget void

Public Methods

Method Description
AddNewActionGroup ( XmlElement template ) : Stetic.ActionGroupComponent
AddNewActionGroup ( string id ) : Stetic.ActionGroupComponent
AddNewComponent ( Stetic.ComponentType type, string name ) : WidgetInfo
AddNewComponent ( XmlElement template ) : WidgetInfo
AddWidgetLibrary ( string assemblyPath ) : void
AddWidgetLibrary ( string assemblyPath, bool isInternal ) : void
Close ( ) : void
CreateActionGroupDesigner ( ActionGroupInfo actionGroup, bool autoCommitChanges ) : ActionGroupDesigner
CreateWidgetDesigner ( WidgetInfo widgetInfo, bool autoCommitChanges ) : WidgetDesigner
Dispose ( ) : void
EditIcons ( ) : void
ExportGlade ( string fileName ) : void
GetActionGroup ( string name ) : ActionGroupInfo
GetComponent ( string name ) : Stetic.WidgetComponent
GetComponentTypes ( ) : Stetic.ComponentType[]
GetWidget ( string name ) : WidgetInfo
GetWidgetTypes ( ) : string[]
ImportGlade ( string fileName ) : void
InitializeLifetimeService ( ) : object
Load ( string fileName ) : void
RemoveActionGroup ( ActionGroupInfo group ) : void
RemoveComponent ( WidgetInfo component ) : void
RemoveWidgetLibrary ( string assemblyPath ) : void
Save ( string fileName ) : void
SetWidgetLibraries ( string libraries, string internalLibraries ) : void

Private Methods

Method Description
GetActionGroups ( ) : Stetic.ActionGroupComponent[]
ImportFile ( string filePath ) : string
NotifyActionGroupAdded ( string group ) : void
NotifyActionGroupRemoved ( string group ) : void
NotifyChanged ( ) : void
NotifyComponentTypesChanged ( ) : void
NotifyModifiedChanged ( ) : void
NotifyProjectReloaded ( ) : void
NotifyProjectReloading ( ) : void
NotifySignalAdded ( object obj, string name, Stetic.Signal signal ) : void
NotifySignalChanged ( object obj, string name, Stetic.Signal oldSignal, Stetic.Signal signal ) : void
NotifySignalRemoved ( object obj, string name, Stetic.Signal signal ) : void
NotifyUpdateLibraries ( ) : void
NotifyWidgetAdded ( object obj, string name, string typeName ) : void
NotifyWidgetNameChanged ( object obj, string oldName, string newName, bool isRoot ) : void
NotifyWidgetRemoved ( string name ) : void
OnBackendChanged ( ApplicationBackend oldBackend ) : void
OnBackendChanging ( ) : void
Project ( Application app ) : System
Project ( Application app, ProjectBackend backend ) : System
ReadActionGroup ( XmlTextReader reader ) : void
ReadWidget ( XmlTextReader reader ) : void

Method Details

AddNewActionGroup() public method

public AddNewActionGroup ( XmlElement template ) : Stetic.ActionGroupComponent
template System.Xml.XmlElement
return Stetic.ActionGroupComponent

AddNewActionGroup() public method

public AddNewActionGroup ( string id ) : Stetic.ActionGroupComponent
id string
return Stetic.ActionGroupComponent

AddNewComponent() public method

public AddNewComponent ( Stetic.ComponentType type, string name ) : WidgetInfo
type Stetic.ComponentType
name string
return WidgetInfo

AddNewComponent() public method

public AddNewComponent ( XmlElement template ) : WidgetInfo
template System.Xml.XmlElement
return WidgetInfo

AddWidgetLibrary() public method

public AddWidgetLibrary ( string assemblyPath ) : void
assemblyPath string
return void

AddWidgetLibrary() public method

public AddWidgetLibrary ( string assemblyPath, bool isInternal ) : void
assemblyPath string
isInternal bool
return void

Close() public method

public Close ( ) : void
return void

CreateActionGroupDesigner() public method

public CreateActionGroupDesigner ( ActionGroupInfo actionGroup, bool autoCommitChanges ) : ActionGroupDesigner
actionGroup ActionGroupInfo
autoCommitChanges bool
return ActionGroupDesigner

CreateWidgetDesigner() public method

public CreateWidgetDesigner ( WidgetInfo widgetInfo, bool autoCommitChanges ) : WidgetDesigner
widgetInfo WidgetInfo
autoCommitChanges bool
return WidgetDesigner

Dispose() public method

public Dispose ( ) : void
return void

EditIcons() public method

public EditIcons ( ) : void
return void

ExportGlade() public method

public ExportGlade ( string fileName ) : void
fileName string
return void

GetActionGroup() public method

public GetActionGroup ( string name ) : ActionGroupInfo
name string
return ActionGroupInfo

GetComponent() public method

public GetComponent ( string name ) : Stetic.WidgetComponent
name string
return Stetic.WidgetComponent

GetComponentTypes() public method

public GetComponentTypes ( ) : Stetic.ComponentType[]
return Stetic.ComponentType[]

GetWidget() public method

public GetWidget ( string name ) : WidgetInfo
name string
return WidgetInfo

GetWidgetTypes() public method

public GetWidgetTypes ( ) : string[]
return string[]

ImportGlade() public method

public ImportGlade ( string fileName ) : void
fileName string
return void

InitializeLifetimeService() public method

public InitializeLifetimeService ( ) : object
return object

Load() public method

public Load ( string fileName ) : void
fileName string
return void

RemoveActionGroup() public method

public RemoveActionGroup ( ActionGroupInfo group ) : void
group ActionGroupInfo
return void

RemoveComponent() public method

public RemoveComponent ( WidgetInfo component ) : void
component WidgetInfo
return void

RemoveWidgetLibrary() public method

public RemoveWidgetLibrary ( string assemblyPath ) : void
assemblyPath string
return void

Save() public method

public Save ( string fileName ) : void
fileName string
return void

SetWidgetLibraries() public method

public SetWidgetLibraries ( string libraries, string internalLibraries ) : void
libraries string
internalLibraries string
return void