C# Class Stetic.ProjectBackend

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

Private Properties

Property Type Description
AbsoluteToRelativePath string
CleanUndoData void
CreateGlobalActionGroupDesignerSession ActionGroupEditSession
CreateLocalActionGroupDesignerSession ActionGroupEditSession
CreateWidgetDesignerSession WidgetEditSession
IProject void
IProject void
IProject void
IProject void
IProject void
NotifyChanged void
OnComponentTypesChanged void
OnGroupAdded void
OnGroupRemoved void
OnRegistryChanged void
OnRegistryChanging void
OnSignalAdded void
OnSignalChanged void
OnSignalRemoved void
OnWidgetNameChanged void
Read void
SetFileName void
SetFrontend void
Write System.Xml.XmlDocument

Public Methods

Method Description
AddNewActionGroup ( string name ) : Stetic.Wrapper.ActionGroup
AddNewActionGroupFromTemplate ( string template ) : Stetic.Wrapper.ActionGroup
AddNewWidget ( string type, string name ) : object
AddNewWidgetFromTemplate ( string template ) : object
AddWidget ( Gtk widget ) : void
AddWidgetLibrary ( string lib ) : void
AddWidgetLibrary ( string lib, bool isInternal ) : void
AddWindow ( Gtk window ) : void
AddWindow ( Gtk window, bool select ) : void
AttachActionGroups ( Stetic groups ) : void
Close ( ) : void
CopyWidgetToProject ( string name, ProjectBackend other, string replacedName ) : void
Dispose ( ) : void
EditIcons ( ) : void
ExportGlade ( string fileName ) : void
GetActionGroups ( ) : Stetic.Wrapper.ActionGroup[]
GetComponentTypes ( ) : ArrayList
GetTopLevel ( string name ) : Gtk.Widget
GetTopLevelWrapper ( string name, bool throwIfNotFound ) : Container
GetWidget ( WidgetData data ) : Gtk.Widget
GetWidgetData ( string name ) : WidgetData
GetWidgetTypes ( ) : string[]
ImportFile ( string filePath ) : string
ImportGlade ( string fileName ) : void
InitializeLifetimeService ( ) : object
IsInternalLibrary ( string lib ) : bool
Load ( string fileName ) : void
Load ( string xmlFile, string fileName ) : void
NotifyComponentTypesChanged ( ) : void
PopupContextMenu ( Placeholder ph ) : void
PopupContextMenu ( Stetic wrapper ) : void
ProjectBackend ( ApplicationBackend app ) : System
Reload ( ) : void
RemoveActionGroup ( Stetic group ) : void
RemoveWidget ( string name ) : void
RemoveWidgetLibrary ( string lib ) : void
Save ( string fileName ) : void

Protected Methods

Method Description
OnModifiedChanged ( EventArgs args ) : void
OnSignalAdded ( Stetic.SignalEventArgs args ) : void
OnSignalChanged ( Stetic.SignalChangedEventArgs args ) : void
OnSignalRemoved ( Stetic.SignalEventArgs args ) : void
OnWidgetAdded ( Stetic args ) : void

Private Methods

Method Description
AbsoluteToRelativePath ( string baseDirectoryPath, string absPath ) : string
CleanUndoData ( XmlElement elem ) : void
CreateGlobalActionGroupDesignerSession ( ActionGroupDesignerFrontend frontend, string groupName, bool autoCommitChanges ) : ActionGroupEditSession
CreateLocalActionGroupDesignerSession ( ActionGroupDesignerFrontend frontend, string windowName, bool autoCommitChanges ) : ActionGroupEditSession
CreateWidgetDesignerSession ( WidgetDesignerFrontend frontend, string windowName, Stetic editingBackend, bool autoCommitChanges ) : WidgetEditSession
IProject ( Stetic.ObjectWrapperEventArgs args ) : void
IProject ( Stetic.SignalChangedEventArgs args ) : void
IProject ( Stetic.SignalEventArgs args ) : void
IProject ( Stetic args ) : void
IProject ( Wrapper w ) : void
NotifyChanged ( ) : void
OnComponentTypesChanged ( object s, EventArgs a ) : void
OnGroupAdded ( object s, Stetic args ) : void
OnGroupRemoved ( object s, Stetic args ) : void
OnRegistryChanged ( object o, EventArgs args ) : void
OnRegistryChanging ( object o, EventArgs args ) : void
OnSignalAdded ( object sender, Stetic.SignalEventArgs args ) : void
OnSignalChanged ( object sender, Stetic.SignalChangedEventArgs args ) : void
OnSignalRemoved ( object sender, Stetic.SignalEventArgs args ) : void
OnWidgetNameChanged ( Stetic args, bool isTopLevel ) : void
Read ( XmlDocument doc ) : void
SetFileName ( string fileName ) : void
SetFrontend ( Project project ) : void
Write ( bool includeUndoInfo ) : XmlDocument

Method Details

AddNewActionGroup() public method

public AddNewActionGroup ( string name ) : Stetic.Wrapper.ActionGroup
name string
return Stetic.Wrapper.ActionGroup

AddNewActionGroupFromTemplate() public method

public AddNewActionGroupFromTemplate ( string template ) : Stetic.Wrapper.ActionGroup
template string
return Stetic.Wrapper.ActionGroup

AddNewWidget() public method

public AddNewWidget ( string type, string name ) : object
type string
name string
return object

AddNewWidgetFromTemplate() public method

public AddNewWidgetFromTemplate ( string template ) : object
template string
return object

AddWidget() public method

public AddWidget ( Gtk widget ) : void
widget Gtk
return void

AddWidgetLibrary() public method

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

AddWidgetLibrary() public method

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

AddWindow() public method

public AddWindow ( Gtk window ) : void
window Gtk
return void

AddWindow() public method

public AddWindow ( Gtk window, bool select ) : void
window Gtk
select bool
return void

AttachActionGroups() public method

public AttachActionGroups ( Stetic groups ) : void
groups Stetic
return void

Close() public method

public Close ( ) : void
return void

CopyWidgetToProject() public method

public CopyWidgetToProject ( string name, ProjectBackend other, string replacedName ) : void
name string
other ProjectBackend
replacedName string
return void

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

GetActionGroups() public method

public GetActionGroups ( ) : Stetic.Wrapper.ActionGroup[]
return Stetic.Wrapper.ActionGroup[]

GetComponentTypes() public method

public GetComponentTypes ( ) : ArrayList
return System.Collections.ArrayList

GetTopLevel() public method

public GetTopLevel ( string name ) : Gtk.Widget
name string
return Gtk.Widget

GetTopLevelWrapper() public method

public GetTopLevelWrapper ( string name, bool throwIfNotFound ) : Container
name string
throwIfNotFound bool
return Stetic.Wrapper.Container

GetWidget() public method

public GetWidget ( WidgetData data ) : Gtk.Widget
data WidgetData
return Gtk.Widget

GetWidgetData() public method

public GetWidgetData ( string name ) : WidgetData
name string
return WidgetData

GetWidgetTypes() public method

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

ImportFile() public method

public ImportFile ( string filePath ) : string
filePath string
return string

ImportGlade() public method

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

InitializeLifetimeService() public method

public InitializeLifetimeService ( ) : object
return object

IsInternalLibrary() public method

public IsInternalLibrary ( string lib ) : bool
lib string
return bool

Load() public method

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

Load() public method

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

NotifyComponentTypesChanged() public method

public NotifyComponentTypesChanged ( ) : void
return void

OnModifiedChanged() protected method

protected OnModifiedChanged ( EventArgs args ) : void
args System.EventArgs
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

OnWidgetAdded() protected method

protected OnWidgetAdded ( Stetic args ) : void
args Stetic
return void

PopupContextMenu() public method

public PopupContextMenu ( Placeholder ph ) : void
ph Placeholder
return void

PopupContextMenu() public method

public PopupContextMenu ( Stetic wrapper ) : void
wrapper Stetic
return void

ProjectBackend() public method

public ProjectBackend ( ApplicationBackend app ) : System
app ApplicationBackend
return System

Reload() public method

public Reload ( ) : void
return void

RemoveActionGroup() public method

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

RemoveWidget() public method

public RemoveWidget ( string name ) : void
name string
return void

RemoveWidgetLibrary() public method

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

Save() public method

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