C# Class BlueSky.SyntaxEditorWindow

SyntaxEditorWindow
Inheritance: System.Windows.Window, System.Windows.Markup.IComponentConnector
Show file Open project: BlueSkyStatistics/BlueSkyRepository Class Usage Examples

Public Methods

Method Description
AddToSession ( CommandOutput co ) : void
DisplayAllSessionOutput ( string sessionheader = "", OutputWindow selectedOW = null ) : void
PasteSyntax ( string command ) : void
RefreshBothgrids ( ) : void
RefreshDatagrids ( ) : void
RefreshImgSizeForGraphicDevice ( ) : void
RunCommands ( string commands, BSkyDialogProperties dlgprop = null ) : void
ShowWindowLoadFile ( ) : void
SyntaxEditorWindow ( ) : System

Private Methods

Method Description
AreBracketsBalanced ( string commands, string &msg ) : bool
BSkyFormatDFMtxArr ( CommandOutput lst, string objectname, string headername, OutputWindow ow ) : void
BlockCodeParser ( string seltext, int start, int &end ) : string
CloseGraphicsDevice ( ) : void
CloseSinkFile ( ) : void
CreateAllGraphicOutput ( OutputWindow ow ) : void
CreateDynamicClassFlexGrid ( string header, string colheaders, string rowheaders, string data, CommandOutput lst ) : void
CreateOuput ( OutputWindow ow ) : void
CurlyBracketParser ( string comm, int start, int &end ) : string
DeleteFileIfPossible ( string fulpathfilename ) : void

Deletes any file. But its used for deleting temporaray image files left after any graphics command is executed. And this delte operation runs just before opening PNG graphics device.

DeleteOldGraphicFiles ( ) : void
DisposeRDotNet ( ) : void
ExecuteBSkyCommand ( string stmt ) : void
ExecuteBSkyFormatCommand ( string stmt, int &bskyfrmtobjcount, OutputWindow ow ) : void
ExecuteBSkyLoadRefreshDataframe ( string stmt ) : bool
ExecuteBSkyRemoveRefreshDataframe ( string stmt ) : void
ExecuteCommandsAndCreateSinkFile ( OutputWindow ow, CommandOutput lst, string seltext ) : void
ExecuteOtherCommand ( OutputWindow ow, string stmt ) : void
ExecuteSinkBSkyFormatCommand ( string stmt, int &bskyfrmtobjcount, CommandOutput lst ) : void
ExecuteSplit ( string stmt ) : void
ExecuteXMLTemplateDefinedCommands ( string stmt ) : void
ExtractCommandName ( string stmt ) : string
FillColHeaders ( string colHeaders, AUGrid c1fgrid ) : void
FillRowHeaders ( string rowHeaders, AUGrid c1fgrid ) : void
FormatBSkyList2 ( CommandOutput lst, string objectname, string headername, OutputWindow ow ) : void
GetGraphicSize ( ) : long
GetLeftHandVar ( string stmt, string &lhvar ) : void
GetRCommandType ( string _command ) : RCommandType
HideMouseBusy ( ) : void
InitializeComponent ( ) : void
InitializeRDotNet ( ) : void
IsAnalyticsCommand ( string command ) : bool
IsMethodName ( string stmt ) : bool
IsValidFullPathFilename ( string path, bool filemustexist ) : bool
JoinCommaSeparatedStatment ( string comm ) : string
KillTempBSkyFormatObj ( string varname ) : void
LoadRegisteredGraphicsCommands ( string grpListPath ) : void
MenuItemOpen_Click ( object sender, RoutedEventArgs e ) : void
MenuItemSaveAs_Click ( object sender, RoutedEventArgs e ) : void
MenuItem_Click ( object sender, RoutedEventArgs e ) : void
OpenGraphicsDevice ( int imagewidth, int imageheight ) : void
OpenSinkFile ( string fullpathfilename, string mode ) : void
RDotNetExecute ( OutputWindow ow ) : void
RDotNetOpenDataset ( ) : void
RefreshOutputORDataset ( string objectname, CommandRequest cmd, string originalCommand, OutputWindow ow ) : void
Refresh_Click ( object sender, RoutedEventArgs e ) : void
RemoveComments ( string text ) : string
RemoveCommentsFromCommands ( string alltext ) : string
RemoveComments_others ( string str ) : string
RemoveExtraSpacesBeforeOpeningBracket ( string stmt ) : string
ResetSink ( ) : void
RoundBracketParser ( string comm, int start, int &end ) : string
SendCommandToOutput ( string command, string NameOfAnalysis ) : void
SendErrorToOutput ( string ewmessage, OutputWindow ow ) : void
SendToOutput ( string auparas, CommandOutput &lst, OutputWindow ow, bool isBlockCommand = false ) : void
SetSink ( ) : void
ShowMouseBusy ( ) : void
SplitBSkyFormat ( string command, string &sub, string &varname, string &BSkyLeftVar ) : void
SplitBSkyFormatParams ( string command, string &first, string &rest, string &usertitle ) : void
SyntaxEditorOpen ( ) : void
SyntaxEditorSaveAs ( ) : void
System ( int connectionId, object target ) : void
Window_Closing ( object sender, System e ) : void
browse_Click ( object sender, RoutedEventArgs e ) : void
createAUPara ( string auparas, CommandOutput lst ) : void
createBSkyGraphic ( Image img, CommandOutput lst ) : void
createDiskFileFromImageSource ( BSkyGraphicControl bsgc ) : void
createFlexGrid ( XmlDocument xd, CommandOutput lst, string header ) : void
createFlexGridXmlDoc ( string colheaders, string rowheaders, string data ) : XmlDocument
findHeaderName ( string bskyformatcmd ) : string
getActiveDatasetNames ( ) : string
inputTextbox_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
isConditionalOrLoopingCommand ( string extractedCommand ) : bool
isGraphicCommand ( string extractedCommand ) : bool
isVariable ( string &stmt ) : void
isXMLDefined ( ) : bool
runButton_Click ( object sender, RoutedEventArgs e ) : void
save_Click ( object sender, RoutedEventArgs e ) : void

Method Details

AddToSession() public method

public AddToSession ( CommandOutput co ) : void
co CommandOutput
return void

DisplayAllSessionOutput() public method

public DisplayAllSessionOutput ( string sessionheader = "", OutputWindow selectedOW = null ) : void
sessionheader string
selectedOW OutputWindow
return void

PasteSyntax() public method

public PasteSyntax ( string command ) : void
command string
return void

RefreshBothgrids() public method

public RefreshBothgrids ( ) : void
return void

RefreshDatagrids() public method

public RefreshDatagrids ( ) : void
return void

RefreshImgSizeForGraphicDevice() public method

public RefreshImgSizeForGraphicDevice ( ) : void
return void

RunCommands() public method

public RunCommands ( string commands, BSkyDialogProperties dlgprop = null ) : void
commands string
dlgprop BSkyDialogProperties
return void

ShowWindowLoadFile() public method

public ShowWindowLoadFile ( ) : void
return void

SyntaxEditorWindow() public method

public SyntaxEditorWindow ( ) : System
return System