|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHWMFrameWork
Title: IHWMFrameWork
Description: This interface will be implemented by the HWM application. This along with the IHWMControl interface (which will be implemented by beans) will facilitate the communication between beans and the container(HWM application).
Company: Altair Engineering, Inc.
Method Summary | |
---|---|
void |
AddHWMEventListener(HWMEventListener hwmEventListener)
Add a bean as an HWMEventListener |
void |
AppendToTitle(java.lang.String strTitleSuffix)
Append to the title of the application. |
void |
BringToFront()
This gets the application's view to the front |
void |
CloseInstance()
Close this instance |
java.lang.Object |
ExecuteJavaScript(java.lang.Object objScope,
java.lang.String strScript)
Execute a JavaScript ("this" modelinstance will be the scope) and return the result |
void |
Exit()
This is invoked by a bean when the application should exit. |
HWMCommMgr |
GetCommMgr()
This gets the comm mgr class |
IHWMDataModel |
GetDataModel()
This gets the data model for this framework. |
java.awt.Component |
GetEPICFrame()
Returns the parent component. |
IHWMFrame |
GetFrame()
Returns the IHWMFrame interface. |
IHWInteraction |
GetHWPMInteraction()
This returns the HWPMInteraction for this framework. |
IMenuToolBarCustomizer |
GetMenuToolBarCustomizer()
Returns the menu/toolbar customizer |
java.lang.String |
GetProjectDir()
Gets the project directory name |
java.lang.String |
GetProjectFileName()
Gets the project file name |
java.lang.String |
GetTemplateDir()
Gets the template directory name |
java.lang.String |
GetTemplateFileName()
Gets the template file name |
java.lang.Object |
GetTemplatePreferenceValue(java.lang.String strTemplatePrefKey)
This method returns the template preference value associated with the template preference key specified. |
IHWMWorkflow |
GetWorkflow()
Gets the workflow interface |
void |
HandleSessionMessages(HWMClientComm hwmSession,
boolean bStart)
Request the framework to handle/stop handling the HWPM script messages received by the comm session. |
void |
HideView()
This hides the application's view |
boolean |
IsDesignMode()
This is invoked by a bean when it needs to know if its being used in design mode or app mode |
void |
LogStatus(java.lang.String strMsg)
This displays the given message in the status bar for the application |
void |
RemoveHWMEventListener(HWMEventListener hwmEventListener)
Remove a bean as an HWMEventListener |
void |
SaveAndCloseInstance(boolean bAskUser)
Save and close this instance |
void |
SaveAndExit(boolean bAskUser)
This is invoked by a bean when the application should exit. |
void |
SendToBack()
This sets the application's view to the back |
void |
ShowView()
This shows the application's view |
Method Detail |
---|
void LogStatus(java.lang.String strMsg)
strMsg
- The message to showboolean IsDesignMode()
void HideView()
void ShowView()
void BringToFront()
void SendToBack()
HWMCommMgr GetCommMgr()
IHWMDataModel GetDataModel()
IHWInteraction GetHWPMInteraction()
void AppendToTitle(java.lang.String strTitleSuffix)
strTitleSuffix
- The suffix to append to the titlevoid CloseInstance()
void SaveAndCloseInstance(boolean bAskUser)
bAskUser:
- If bAskUser is true, then the user is asked if he/she wants to save the
pmt/prj file.
If bAskUser is false, then the template/prj is saved without prompting
the uservoid Exit()
void SaveAndExit(boolean bAskUser)
bAskUser:
- If bAskUser is true, then the user is asked if he/she wants to save the
pmt/prj file.
If bAskUser is false, then the template/prj is saved without prompting
the userIMenuToolBarCustomizer GetMenuToolBarCustomizer()
java.lang.String GetTemplateFileName()
java.lang.String GetProjectFileName()
java.lang.String GetTemplateDir()
java.lang.String GetProjectDir()
IHWMWorkflow GetWorkflow()
java.awt.Component GetEPICFrame()
IHWMFrame GetFrame()
void AddHWMEventListener(HWMEventListener hwmEventListener)
hwmEventListener
- The listener objectvoid RemoveHWMEventListener(HWMEventListener hwmEventListener)
hwmEventListener
- The listener objectjava.lang.Object ExecuteJavaScript(java.lang.Object objScope, java.lang.String strScript) throws java.lang.Exception
strScript
- The Java script to execute
java.lang.Exception
java.lang.Object GetTemplatePreferenceValue(java.lang.String strTemplatePrefKey) throws java.lang.Exception
strTemplatePrefKey
- The template preference key.
java.lang.Exception
void HandleSessionMessages(HWMClientComm hwmSession, boolean bStart)
hwmSession
- The session for which the framework should start or
stop handling the incoming messagesbStart
- If true, it starts handling else stops handling
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |