C# Class FlatRedBall.Glue.Plugins.ExportedImplementations.CommandInterfaces.GluxCommands

Inheritance: IGluxCommands
显示文件 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
AddNewCustomClass ( string className, CustomClassSave &customClassSave ) : ValidationResponse
AddNewNamedObjectToSelectedElement ( AddObjectViewModel addObjectViewModel ) : NamedObjectSave
AddReferencedFileToGlobalContent ( string fileToAdd, bool useFullPathAsName ) : ReferencedFileSave
AddSingleFileTo ( string fileName, string rfsName, string extraCommandLineArguments, BuildToolAssociation buildToolAssociation, bool isBuiltFile, string options, IElement sourceElement, string directoryOfTreeNode ) : ReferencedFileSave
MoveEntityToDirectory ( EntitySave entitySave, string newRelativeDirectory ) : bool
RemoveReferencedFile ( ReferencedFileSave referencedFileToRemove, List additionalFilesToRemove ) : void
RemoveReferencedFile ( ReferencedFileSave referencedFileToRemove, List additionalFilesToRemove, bool regenerateCode ) : void
SaveGlux ( bool sendPluginRefreshCommand = true ) : void
SaveSettings ( ) : void
SetVariableOn ( NamedObjectSave nos, string memberName, Type memberType, object value ) : void

Private Methods

Method Description
ApplyOptions ( ReferencedFileSave toReturn, string options ) : void
GetIfFileIsFactory ( EntitySave entitySave, string file ) : bool
MoveEntityCodeFilesToDirectory ( EntitySave entitySave, string targetDirectory ) : bool
MoveSingleCodeFileToDirectory ( string relativeCodeFile, string directory ) : bool
ReactToRemovalIfCsv ( ReferencedFileSave referencedFileToRemove, List additionalFilesToRemove ) : void
SaveGluxSync ( bool sendMessageToRefresh ) : void
UpdateNamespaceOnCodeFiles ( EntitySave entitySave ) : bool

Method Details

AddNewCustomClass() public method

public AddNewCustomClass ( string className, CustomClassSave &customClassSave ) : ValidationResponse
className string
customClassSave FlatRedBall.Glue.SaveClasses.CustomClassSave
return FlatRedBall.Glue.Plugins.ExportedInterfaces.CommandInterfaces.ValidationResponse

AddNewNamedObjectToSelectedElement() public method

public AddNewNamedObjectToSelectedElement ( AddObjectViewModel addObjectViewModel ) : NamedObjectSave
addObjectViewModel FlatRedBall.Glue.ViewModels.AddObjectViewModel
return FlatRedBall.Glue.SaveClasses.NamedObjectSave

AddReferencedFileToGlobalContent() public method

public AddReferencedFileToGlobalContent ( string fileToAdd, bool useFullPathAsName ) : ReferencedFileSave
fileToAdd string
useFullPathAsName bool
return FlatRedBall.Glue.SaveClasses.ReferencedFileSave

AddSingleFileTo() public method

public AddSingleFileTo ( string fileName, string rfsName, string extraCommandLineArguments, BuildToolAssociation buildToolAssociation, bool isBuiltFile, string options, IElement sourceElement, string directoryOfTreeNode ) : ReferencedFileSave
fileName string
rfsName string
extraCommandLineArguments string
buildToolAssociation EditorObjects.SaveClasses.BuildToolAssociation
isBuiltFile bool
options string
sourceElement IElement
directoryOfTreeNode string
return FlatRedBall.Glue.SaveClasses.ReferencedFileSave

MoveEntityToDirectory() public method

public MoveEntityToDirectory ( EntitySave entitySave, string newRelativeDirectory ) : bool
entitySave FlatRedBall.Glue.SaveClasses.EntitySave
newRelativeDirectory string
return bool

RemoveReferencedFile() public method

public RemoveReferencedFile ( ReferencedFileSave referencedFileToRemove, List additionalFilesToRemove ) : void
referencedFileToRemove FlatRedBall.Glue.SaveClasses.ReferencedFileSave
additionalFilesToRemove List
return void

RemoveReferencedFile() public method

public RemoveReferencedFile ( ReferencedFileSave referencedFileToRemove, List additionalFilesToRemove, bool regenerateCode ) : void
referencedFileToRemove FlatRedBall.Glue.SaveClasses.ReferencedFileSave
additionalFilesToRemove List
regenerateCode bool
return void

SaveGlux() public method

public SaveGlux ( bool sendPluginRefreshCommand = true ) : void
sendPluginRefreshCommand bool
return void

SaveSettings() public method

public SaveSettings ( ) : void
return void

SetVariableOn() public method

public SetVariableOn ( NamedObjectSave nos, string memberName, Type memberType, object value ) : void
nos FlatRedBall.Glue.SaveClasses.NamedObjectSave
memberName string
memberType System.Type
value object
return void