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

Inheritance: IScreenCommands, IEntityCommands, IElementCommands
显示文件 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
AddEntity ( string entityName ) : SaveClasses.EntitySave
AddEntity ( string entityName, bool is2D ) : SaveClasses.EntitySave
AddEntity ( EntitySave entitySave ) : void
AddEntity ( EntitySave entitySave, bool suppressAlreadyExistingFileMessage ) : void
AddReferencedFileToGlobalContent ( string fileToAdd, bool useFullPathAsName ) : ReferencedFileSave
AddScreen ( string screenName ) : SaveClasses.ScreenSave
CreateReferencedFileSaveForExistingFile ( IElement containerForFile, string directoryInsideContainer, string absoluteFileName, PromptHandleEnum unknownTypeHandle, AssetTypeInfo ati, string &creationReport, string &errorMessage ) : ReferencedFileSave
GetFullPathContentDirectory ( IElement element, string directoryRelativeToElement ) : string

Private Methods

Method Description
CheckAndWarnAboutUnknownFileTypes ( PromptHandleEnum unknownTypeHandle, string extension, bool &isValidExtensionOrIsConfirmedByUser, bool &isUnknownType ) : void
GetNameOfFileRelativeToProject ( string absoluteSourceFileName, string directoryThatFileShouldBeRelativeTo, string projectDirectory ) : string

Method Details

AddEntity() public method

public AddEntity ( string entityName ) : SaveClasses.EntitySave
entityName string
return SaveClasses.EntitySave

AddEntity() public method

public AddEntity ( string entityName, bool is2D ) : SaveClasses.EntitySave
entityName string
is2D bool
return SaveClasses.EntitySave

AddEntity() public method

public AddEntity ( EntitySave entitySave ) : void
entitySave FlatRedBall.Glue.SaveClasses.EntitySave
return void

AddEntity() public method

public AddEntity ( EntitySave entitySave, bool suppressAlreadyExistingFileMessage ) : void
entitySave FlatRedBall.Glue.SaveClasses.EntitySave
suppressAlreadyExistingFileMessage bool
return void

AddReferencedFileToGlobalContent() public method

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

AddScreen() public method

public AddScreen ( string screenName ) : SaveClasses.ScreenSave
screenName string
return SaveClasses.ScreenSave

CreateReferencedFileSaveForExistingFile() public method

public CreateReferencedFileSaveForExistingFile ( IElement containerForFile, string directoryInsideContainer, string absoluteFileName, PromptHandleEnum unknownTypeHandle, AssetTypeInfo ati, string &creationReport, string &errorMessage ) : ReferencedFileSave
containerForFile IElement
directoryInsideContainer string
absoluteFileName string
unknownTypeHandle PromptHandleEnum
ati AssetTypeInfo
creationReport string
errorMessage string
return FlatRedBall.Glue.SaveClasses.ReferencedFileSave

GetFullPathContentDirectory() public static method

public static GetFullPathContentDirectory ( IElement element, string directoryRelativeToElement ) : string
element IElement
directoryRelativeToElement string
return string