com.altair.hwm.toolkit.page
Class HWMTclExporter

java.lang.Object
  extended by com.altair.hwm.toolkit.page.HWMTclExporter

public class HWMTclExporter
extends java.lang.Object

Title: HWMDsgnPage

Description: This is the designer page

Company: Altair Engineering, Inc.


Field Summary
static HWMTclExporter m_TCLExporter
          The member variable for the singleton class instance
static java.lang.String TCL_ADDITIONAL_PROCS_COMMENT
           
static java.lang.String TCL_DISPLAYWND_PROC_COMMENT
           
static java.lang.String TCL_DISPLAYWND_PROC_NAME
           
static java.lang.String TCL_EXEC_PROC_COMMENT
           
static java.lang.String TCL_EXEC_PROC_NAME
           
static java.lang.String TCL_GETDATA_PROC_COMMENT
           
static java.lang.String TCL_GETDATA_PROC_NAME
           
static java.lang.String TCL_MEMVARS_PROC_COMMENT
           
static java.lang.String TCL_ONDMCHANGED_PROC_COMMENT
           
static java.lang.String TCL_ONDMCHANGED_PROC_NAME
           
static java.lang.String TCL_PAGE_HEADER
          Define all the statics for the TCl procedures
static java.lang.String TCL_SETDATA_PROC_COMMENT
           
static java.lang.String TCL_SETDATA_PROC_NAME
           
 
Method Summary
 void ExportTCLPage(java.io.BufferedWriter fwriter, HWMPage hwmPage)
          Exports the current page.
static HWMTclExporter GetTclExporter()
          Get the one and only instance of the HWMPageExportTCL class
 void TCLCreateAdditionalProcs(java.io.BufferedWriter fwriter, java.lang.String strMemeberVars, java.lang.String strTCLCode)
          This procedure writes out the TCL code for the GetDataFromDataModel procedure for the page.
 void TCLCreateDisplayWndProc(java.io.BufferedWriter fwriter, java.lang.String strMemeberVars, java.lang.String strTCLCode, HWMPage hwmPage)
          This procedure writes out the TCL code for the DisplayWnd procedure for the page.
 void TCLCreateExecProc(java.io.BufferedWriter fwriter, java.lang.String strMemeberVars, java.lang.String strTCLCode)
          This procedure writes out the TCL code for the Exec procedure for the page.
 void TCLCreateGetDataFromDataModelProc(java.io.BufferedWriter fwriter, java.lang.String strMemeberVars, java.lang.String strTCLCode)
          This procedure writes out the TCL code for the GetDataFromDataModel procedure for the page.
 void TCLCreateOnDataModelChangedProc(java.io.BufferedWriter fwriter, java.lang.String strMemeberVars, java.lang.String strTCLCode)
          This procedure writes out the TCL code for the GetDataFromDataModel procedure for the page.
 void TCLCreateSetDataInDataModelProc(java.io.BufferedWriter fwriter, java.lang.String strMemeberVars, java.lang.String strTCLCode)
          This procedure writes out the TCL code for the SetDataInDataModel procedure for the page.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_TCLExporter

public static HWMTclExporter m_TCLExporter
The member variable for the singleton class instance


TCL_PAGE_HEADER

public static final java.lang.String TCL_PAGE_HEADER
Define all the statics for the TCl procedures

See Also:
Constant Field Values

TCL_MEMVARS_PROC_COMMENT

public static final java.lang.String TCL_MEMVARS_PROC_COMMENT
See Also:
Constant Field Values

TCL_DISPLAYWND_PROC_COMMENT

public static final java.lang.String TCL_DISPLAYWND_PROC_COMMENT
See Also:
Constant Field Values

TCL_DISPLAYWND_PROC_NAME

public static final java.lang.String TCL_DISPLAYWND_PROC_NAME
See Also:
Constant Field Values

TCL_EXEC_PROC_COMMENT

public static final java.lang.String TCL_EXEC_PROC_COMMENT
See Also:
Constant Field Values

TCL_EXEC_PROC_NAME

public static final java.lang.String TCL_EXEC_PROC_NAME
See Also:
Constant Field Values

TCL_SETDATA_PROC_COMMENT

public static final java.lang.String TCL_SETDATA_PROC_COMMENT
See Also:
Constant Field Values

TCL_SETDATA_PROC_NAME

public static final java.lang.String TCL_SETDATA_PROC_NAME
See Also:
Constant Field Values

TCL_GETDATA_PROC_COMMENT

public static final java.lang.String TCL_GETDATA_PROC_COMMENT
See Also:
Constant Field Values

TCL_GETDATA_PROC_NAME

public static final java.lang.String TCL_GETDATA_PROC_NAME
See Also:
Constant Field Values

TCL_ONDMCHANGED_PROC_COMMENT

public static final java.lang.String TCL_ONDMCHANGED_PROC_COMMENT
See Also:
Constant Field Values

TCL_ONDMCHANGED_PROC_NAME

public static final java.lang.String TCL_ONDMCHANGED_PROC_NAME
See Also:
Constant Field Values

TCL_ADDITIONAL_PROCS_COMMENT

public static final java.lang.String TCL_ADDITIONAL_PROCS_COMMENT
See Also:
Constant Field Values
Method Detail

GetTclExporter

public static HWMTclExporter GetTclExporter()
Get the one and only instance of the HWMPageExportTCL class


ExportTCLPage

public void ExportTCLPage(java.io.BufferedWriter fwriter,
                          HWMPage hwmPage)
                   throws java.lang.Exception
Exports the current page. The exported file save the page and also gives each bean in that page a shot at saving whatever it needs

Parameters:
outStream - -- The stream to "export" to
Throws:
java.lang.Exception

TCLCreateDisplayWndProc

public void TCLCreateDisplayWndProc(java.io.BufferedWriter fwriter,
                                    java.lang.String strMemeberVars,
                                    java.lang.String strTCLCode,
                                    HWMPage hwmPage)
This procedure writes out the TCL code for the DisplayWnd procedure for the page.


TCLCreateExecProc

public void TCLCreateExecProc(java.io.BufferedWriter fwriter,
                              java.lang.String strMemeberVars,
                              java.lang.String strTCLCode)
This procedure writes out the TCL code for the Exec procedure for the page.


TCLCreateSetDataInDataModelProc

public void TCLCreateSetDataInDataModelProc(java.io.BufferedWriter fwriter,
                                            java.lang.String strMemeberVars,
                                            java.lang.String strTCLCode)
This procedure writes out the TCL code for the SetDataInDataModel procedure for the page.


TCLCreateGetDataFromDataModelProc

public void TCLCreateGetDataFromDataModelProc(java.io.BufferedWriter fwriter,
                                              java.lang.String strMemeberVars,
                                              java.lang.String strTCLCode)
This procedure writes out the TCL code for the GetDataFromDataModel procedure for the page.


TCLCreateOnDataModelChangedProc

public void TCLCreateOnDataModelChangedProc(java.io.BufferedWriter fwriter,
                                            java.lang.String strMemeberVars,
                                            java.lang.String strTCLCode)
This procedure writes out the TCL code for the GetDataFromDataModel procedure for the page.


TCLCreateAdditionalProcs

public void TCLCreateAdditionalProcs(java.io.BufferedWriter fwriter,
                                     java.lang.String strMemeberVars,
                                     java.lang.String strTCLCode)
This procedure writes out the TCL code for the GetDataFromDataModel procedure for the page.