|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHWMFrame
Title: IHWMFrame
Description: The frame interface allows clients to call New, Open, Close, Save, Exit and SetDefaultTemplate. These functions are implemented as stubs for Studio mode.
Company: Altair Engineering, Inc.
Method Summary | |
---|---|
void |
AddMessageToDebugLog(java.lang.String strMessage)
Add the specified message to the debug message log |
void |
AddMessageToMessageLog(java.lang.String strMessage)
Add the specified message to the message log |
void |
CloseInstance(boolean bSave,
boolean bAskUser)
Close the currently active process instance. |
void |
CloseTemplate()
Close the template //This is only used for ProcessManager |
void |
CloseTemplate(boolean bSave,
boolean bPromptUser)
Close the template |
void |
CopyInstance()
Create a new instance as a copy of an existing instance |
void |
CreateInstance()
Create a new process instance. |
void |
CreateInstance(java.lang.String strProjectFile)
Create a new process instance in the given location. |
void |
Exit()
Exit the application. |
java.awt.Component |
GetMainFrame()
Get the main component (Frame or Window) for this application |
void |
OpenInstance()
Open an existing process instance. |
void |
OpenInstance(java.lang.String strProjectFile)
Open the specified process instance. |
void |
SaveAsInstance(java.lang.String strNewPMInstance,
boolean bShowNewOpenDialog)
Save the current active instance as a new one. |
void |
SaveInstance()
Save an existing process instance. |
void |
SetDefaultTemplate(java.lang.String strNewPMTemplate,
boolean bShowNewOpenDialog)
Set the default template as strNewPMTemplate. |
void |
ShowMessageLog()
Show the message log window |
Method Detail |
---|
void CreateInstance() throws java.lang.Exception
java.lang.Exception
void CreateInstance(java.lang.String strProjectFile) throws java.lang.Exception
strProjectFile
- The project file name
java.lang.Exception
void OpenInstance() throws java.lang.Exception
java.lang.Exception
void OpenInstance(java.lang.String strProjectFile) throws java.lang.Exception
strProjectFile
- The full path to the instance file to open
java.lang.Exception
void SaveInstance() throws java.lang.Exception
java.lang.Exception
void CloseInstance(boolean bSave, boolean bAskUser) throws java.lang.Exception
java.lang.Exception
void CloseTemplate() throws java.lang.Exception
java.lang.Exception
void CloseTemplate(boolean bSave, boolean bPromptUser) throws java.lang.Exception
bSave
- If true, the prj is saved. It is ignored when the user
needs to be promptedbPromptUser
- Prompt the user with a save dialog
java.lang.Exception
void Exit() throws java.lang.Exception
java.lang.Exception
void SetDefaultTemplate(java.lang.String strNewPMTemplate, boolean bShowNewOpenDialog) throws java.lang.Exception
strNewPMTemplate
- The new process manager template to use.bShowNewOpenDialog
- If true, the dialog to create a project or
open a project is shown
java.lang.Exception
java.awt.Component GetMainFrame()
void ShowMessageLog()
void AddMessageToMessageLog(java.lang.String strMessage)
strMessage
- The message to addvoid AddMessageToDebugLog(java.lang.String strMessage)
strMessage
- The message to addvoid SaveAsInstance(java.lang.String strNewPMInstance, boolean bShowNewOpenDialog) throws java.lang.Exception
java.lang.Exception
void CopyInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |