C# Class Spinach.ProgWin

ProgWin
Inheritance: System.Windows.Window, System.Windows.Markup.IComponentConnector
Afficher le fichier Open project: shranjan/pinac Class Usage Examples

Méthodes publiques

Свойство Type Description
et editorType

Méthodes publiques

Méthode Description
ProgWin ( editorType e, SwarmConnection sconn, string ip, string port, string pid, string uname ) : System

ProgWin Constructor

SMObj ( ) : SwarmMemory

Returns the swarm memory object for the calling object

loadProgram ( string text ) : void

Loads the program text into the editor.

send_close_msg ( ) : void
setOwner ( string uname ) : void

Sets the owner of program, also updates the local variable 'owner'.

setPermissions ( string perm ) : void

Sets the permissions for the user for this particular program

setProgUserList ( List list ) : void

Sets the Program Collaborators user list

setUserList ( List list ) : void

Sets the swarm user list

Private Methods

Méthode Description
CollabEditing ( string SourceChanged ) : void
Display ( string res ) : void
EnablePlot ( System.Windows.Media.Imaging.PngBitmapEncoder encoder ) : void
InitializeComponent ( ) : void
LineNumbers ( ) : void
RunClicked ( bool Clicked ) : void
SM_CloseP ( bool CloseProg ) : void
SM_RerunP ( bool Rerun ) : void
ShowError ( string Msg ) : void
System ( int connectionId, object target ) : void
Window_Closed ( object sender, EventArgs e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void
Window_Unloaded ( object sender, RoutedEventArgs e ) : void
btnCompute_Click ( object sender, RoutedEventArgs e ) : void
compare ( tags t1, tags t2 ) : int
format ( ) : void
highlight ( ) : void
markLinepositions ( ) : void
mnuAccess_Click ( object sender, RoutedEventArgs e ) : void
mnuAdd_Click ( object sender, RoutedEventArgs e ) : void
mnuDelete_Click ( object sender, RoutedEventArgs e ) : void
mnuEdit_Click ( object sender, RoutedEventArgs e ) : void
mnuExit_Click ( object sender, RoutedEventArgs e ) : void
mnuFile_Click ( object sender, RoutedEventArgs e ) : void
mnuLine_Click ( object sender, RoutedEventArgs e ) : void
mnuOption_Click ( object sender, RoutedEventArgs e ) : void
mnuSavePlot_Click ( object sender, RoutedEventArgs e ) : void
mnuSave_Click ( object sender, RoutedEventArgs e ) : void
mnuShowPlot_Click ( object sender, RoutedEventArgs e ) : void
mnuWrap_Click ( object sender, RoutedEventArgs e ) : void
progUserListChange ( List PerListChanged ) : void
rtbInput_KeyUp ( object sender, System e ) : void
syntax ( ) : void
update ( string lno1, string s, string mod1, string uname ) : void
userformat ( ) : void
worker_DoWork ( object sender, DoWorkEventArgs e ) : void
worker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

ProgWin() public méthode

ProgWin Constructor
public ProgWin ( editorType e, SwarmConnection sconn, string ip, string port, string pid, string uname ) : System
e editorType editor type
sconn SwarmConnection Swarm Connection Object
ip string Self IP
port string Self Port
pid string PID of the program
uname string Self USername
Résultat System

SMObj() public méthode

Returns the swarm memory object for the calling object
public SMObj ( ) : SwarmMemory
Résultat SwarmMemory

loadProgram() public méthode

Loads the program text into the editor.
public loadProgram ( string text ) : void
text string Program Text
Résultat void

send_close_msg() public méthode

public send_close_msg ( ) : void
Résultat void

setOwner() public méthode

Sets the owner of program, also updates the local variable 'owner'.
public setOwner ( string uname ) : void
uname string
Résultat void

setPermissions() public méthode

Sets the permissions for the user for this particular program
public setPermissions ( string perm ) : void
perm string Permission String
Résultat void

setProgUserList() public méthode

Sets the Program Collaborators user list
public setProgUserList ( List list ) : void
list List Program Collaboratos User List
Résultat void

setUserList() public méthode

Sets the swarm user list
public setUserList ( List list ) : void
list List Swarm User List
Résultat void

Property Details

et public_oe property

public editorType et
Résultat editorType