C# Class FlatRedBall.Glue.Plugins.PluginManager

Inheritance: PluginManagerBase
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Private Properties

Свойство Type Description
AddEventsForObject void
AddNewFileOptions void
AdjustDisplayedCustomVariable void
AdjustDisplayedEntity void
AdjustDisplayedNamedObject void
AdjustDisplayedReferencedFile void
AdjustDisplayedScreen void
CallMethodOnPlugin void
CallMethodOnPluginNotUiThread void
CanFileReferenceContent bool
CopyIntalledPluginsToRunnableLocation void
CreateNewFile string
GetFilesNeededOnDiskBy void
GetFilesReferencedBy void
Initialize void
OpenProject bool
OpenSolution bool
PluginCommand void
PluginCommandNotUiThread void
PluginCommandWithThrow void
PrintError void
PrintOutput void
PrintPreInitializeOutput void
ReactToChangedBuiltFile void
ReactToChangedFile void
ReactToChangedProperty void
ReactToGlueClose void
ReactToGluxClose void
ReactToGluxSave void
ReactToGluxUnload void
ReactToItemSelect void
ReactToLoadedGlux void
ReactToLoadedGluxEarly void
ReactToNamedObjectChangedValue void
ReactToNewFile void
ReactToNewObject void
ReactToNewScreenCreated void
ReactToPropertyGridRightClick void
ReactToStateNameChange void
ReactToStateRemoved void
ReactToSyncedProjectLoad void
ReactToTreeViewRightClick void
ReenablePlugin void
RefreshCurrentElement void
RefreshGlux void
ResumeRelativeDirectory void
SaveRelativeDirectory void
SetTabs void
ShareBottomTabReference void
ShareCenterTabReference void
ShareLeftTabReference void
ShareMenuStripReference void
ShareRightTabReference void
ShareTopTabReference void
ShowMostRecentTabFor void
TryAddContainedObjects bool
TryCopyFile bool
TryHandleException bool
UninstallPlugins void
WasExceptionCausedByPlugin bool

Méthodes publiques

Méthode Description
GetTypeConverter ( IElement container, NamedObjectSave instance, TypedMemberBase typedMember ) : TypeConverter
HitBreakpoint ( ) : void
PluginManager ( bool global ) : System
ReceiveError ( string output ) : void
ReceiveOutput ( string output ) : void

Receives output and passes it to any output plugins. If the PluginManager is not initialized yet then it will store off the output until it is finished with initialization, then it will pass all output to the output plugins.

SelectItemInCurrentFile ( string objectInFile ) : void
WriteInstanceVariableAssignment ( NamedObjectSave namedObject, ICodeBlock codeBlock, InstructionSave instructionSave ) : void

Méthodes protégées

Méthode Description
AddDirectoriesForInstance ( List pluginDirectories ) : void
CompilePluginError ( string problem ) : void
CompilePluginOutput ( string problem ) : void
InstantiateAllListsAsEmpty ( ) : void
StartAllPlugins ( List pluginsToIgnore = null ) : void

Private Methods

Méthode Description
AddEventsForObject ( NamedObjectSave namedObjectSave, List listToFill ) : void
AddNewFileOptions ( NewFileWindow newFileWindow ) : void
AdjustDisplayedCustomVariable ( CustomVariable customVariable, CustomVariablePropertyGridDisplayer displayer ) : void
AdjustDisplayedEntity ( EntitySave entitySave, EntitySavePropertyGridDisplayer entitySaveDisplayer ) : void
AdjustDisplayedNamedObject ( NamedObjectSave namedObject, NamedObjectPropertyGridDisplayer displayer ) : void
AdjustDisplayedReferencedFile ( ReferencedFileSave referencedFileSave, ReferencedFileSavePropertyGridDisplayer displayer ) : void
AdjustDisplayedScreen ( ScreenSave screenSave, ScreenSavePropertyGridDisplayer screenSaveDisplayer ) : void
CallMethodOnPlugin ( Action methodToCall, string methodName ) : void
CallMethodOnPluginNotUiThread ( Action methodToCall, string methodName ) : void
CanFileReferenceContent ( string absoluteName ) : bool
CopyIntalledPluginsToRunnableLocation ( ) : void
CreateNewFile ( AssetTypeInfo assetTypeInfo, object extraData, string directory, string name ) : string
GetFilesNeededOnDiskBy ( string absoluteName, EditorObjects topLevelOrRecursive, List listToFill ) : void
GetFilesReferencedBy ( string absoluteName, EditorObjects topLevelOrRecursive, List listToFill ) : void
Initialize ( bool isStartup, List pluginsToIgnore = null ) : void
OpenProject ( string projectName ) : bool

Raised when the user clicks the menu item to open a project. This allows plugins to handle opening projects in other IDEs (like Eclipse).

OpenSolution ( string solutionName ) : bool
PluginCommand ( System.Action action, PluginContainer container, string message ) : void
PluginCommandNotUiThread ( System.Action action, PluginContainer container, string message ) : void
PluginCommandWithThrow ( System.Action action, PluginContainer container, string message ) : void
PrintError ( string output, PluginManager pluginManager ) : void
PrintOutput ( string output, PluginManager pluginManager ) : void
PrintPreInitializeOutput ( ) : void
ReactToChangedBuiltFile ( string fileName ) : void
ReactToChangedFile ( string fileName ) : void
ReactToChangedProperty ( string changedMember, object oldValue ) : void
ReactToGlueClose ( ) : void
ReactToGluxClose ( ) : void
ReactToGluxSave ( ) : void
ReactToGluxUnload ( bool isExiting ) : void
ReactToItemSelect ( TreeNode selectedTreeNode ) : void
ReactToLoadedGlux ( GlueProjectSave glueProjectSave, string fileName, Action displayCurrentStatusMethod ) : void
ReactToLoadedGluxEarly ( GlueProjectSave glueProjectSave ) : void
ReactToNamedObjectChangedValue ( string changedMember, object oldValue ) : void
ReactToNewFile ( ReferencedFileSave newRfs ) : void

Loops through all contained plugins and raises the appropriate events in response to a new file being created through the new file dialog (although it's possible new files could be created without that dialog in the future).

ReactToNewObject ( NamedObjectSave newObject ) : void
ReactToNewScreenCreated ( ScreenSave screen ) : void
ReactToPropertyGridRightClick ( System.Windows.Forms.PropertyGrid rightClickedPropertyGrid, ContextMenu menuToModify ) : void
ReactToStateNameChange ( IElement element, string oldName, string newName ) : void
ReactToStateRemoved ( IElement element, string stateName ) : void
ReactToSyncedProjectLoad ( ProjectBase projectBase ) : void
ReactToTreeViewRightClick ( TreeNode rightClickedTreeNode, ContextMenuStrip menuToModify ) : void
ReenablePlugin ( IPlugin pluginToReenable ) : void
RefreshCurrentElement ( ) : void
RefreshGlux ( ) : void
ResumeRelativeDirectory ( string function ) : void
SaveRelativeDirectory ( ) : void
SetTabs ( TabControl top, TabControl bottom, TabControl left, TabControl right, TabControl center, ToolbarControl toolbar ) : void
ShareBottomTabReference ( TabControl tabControl, PluginCategories pluginCategories ) : void
ShareCenterTabReference ( TabControl tabControl, PluginCategories pluginCategories ) : void
ShareLeftTabReference ( TabControl tabControl, PluginCategories pluginCategories ) : void
ShareMenuStripReference ( MenuStrip menuStrip, PluginCategories pluginCategories ) : void
ShareRightTabReference ( TabControl tabControl, PluginCategories pluginCategories ) : void
ShareTopTabReference ( TabControl tabControl, PluginCategories pluginCategories ) : void
ShowMostRecentTabFor ( TabControl tabControl ) : void
TryAddContainedObjects ( string sourceFile, List listToAddTo ) : bool
TryCopyFile ( string sourceFile, string targetFile ) : bool
TryHandleException ( Exception exception ) : bool
UninstallPlugins ( ) : void
WasExceptionCausedByPlugin ( Exception exception, PluginContainer plugin ) : bool

Method Details

AddDirectoriesForInstance() protected méthode

protected AddDirectoriesForInstance ( List pluginDirectories ) : void
pluginDirectories List
Résultat void

CompilePluginError() protected méthode

protected CompilePluginError ( string problem ) : void
problem string
Résultat void

CompilePluginOutput() protected méthode

protected CompilePluginOutput ( string problem ) : void
problem string
Résultat void

GetTypeConverter() public static méthode

public static GetTypeConverter ( IElement container, NamedObjectSave instance, TypedMemberBase typedMember ) : TypeConverter
container IElement
instance FlatRedBall.Glue.SaveClasses.NamedObjectSave
typedMember TypedMemberBase
Résultat System.ComponentModel.TypeConverter

HitBreakpoint() public static méthode

public static HitBreakpoint ( ) : void
Résultat void

InstantiateAllListsAsEmpty() protected méthode

protected InstantiateAllListsAsEmpty ( ) : void
Résultat void

PluginManager() public méthode

public PluginManager ( bool global ) : System
global bool
Résultat System

ReceiveError() public static méthode

public static ReceiveError ( string output ) : void
output string
Résultat void

ReceiveOutput() public static méthode

Receives output and passes it to any output plugins. If the PluginManager is not initialized yet then it will store off the output until it is finished with initialization, then it will pass all output to the output plugins.
public static ReceiveOutput ( string output ) : void
output string The output to print.
Résultat void

SelectItemInCurrentFile() public static méthode

public static SelectItemInCurrentFile ( string objectInFile ) : void
objectInFile string
Résultat void

StartAllPlugins() protected méthode

protected StartAllPlugins ( List pluginsToIgnore = null ) : void
pluginsToIgnore List
Résultat void

WriteInstanceVariableAssignment() public static méthode

public static WriteInstanceVariableAssignment ( NamedObjectSave namedObject, ICodeBlock codeBlock, InstructionSave instructionSave ) : void
namedObject FlatRedBall.Glue.SaveClasses.NamedObjectSave
codeBlock ICodeBlock
instructionSave InstructionSave
Résultat void