|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.altair.hwm.toolkit.frame.HWMFrameModel
com.altair.hwm.toolkit.frame.HWMDsgnFrameModel
public class HWMDsgnFrameModel
Title: HWMDsgnFrameModel
Description: The model for the dsgn frame
Company: Altair Engineering, Inc.
| Field Summary |
|---|
| Fields inherited from class com.altair.hwm.toolkit.frame.HWMFrameModel |
|---|
PROP_FRAME_MODELACTIVE |
| Constructor Summary | |
|---|---|
HWMDsgnFrameModel(java.awt.Component frameEPIC,
IHWMFrame ihwmFrame)
Constructor |
|
| Method Summary | |
|---|---|
HWMModelInstance |
createNewInstance(java.io.File file)
Method createNewInstance create a new instance for this file and set it as the active one |
javax.swing.tree.DefaultTreeModel |
GetMandatoryCategories()
Returns this mandatory categories provided with EPIC |
void |
Init()
Initialize the app frame model Construct the tree model for mandatory beans |
boolean |
IsDesignerMode()
Returns a flag if its designer or app mode. |
HWMModelInstance |
OnNewFile(java.lang.String strFileName,
int nAppType)
Creates the new file |
HWMModelInstance |
OnOpenFile(java.lang.String strFileName)
Open the file with given name |
| Methods inherited from class com.altair.hwm.toolkit.frame.HWMFrameModel |
|---|
addPropertyChangeListener, ClearAll, GetActiveModelInstance, GetActiveTplProps, GetEPICFrame, GetHWPMInteraction, GetIHWMFrame, GetInstance, GetInstanceIndex, GetModelInstances, GetNumModelInstances, GetTplProps, Initialize, IsPMMode, OnCloseFile, OnExit, OnSaveAsFile, OnSaveFile, propertyChange, Quit, removePropertyChangeListener, SetActiveInstance, SetActiveInstance, SetActiveInstance, SetHWPMInteraction |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HWMDsgnFrameModel(java.awt.Component frameEPIC,
IHWMFrame ihwmFrame)
throws java.lang.Exception
frameEPIC - The main frame for EPICihwmFrame - The handle to IHWMFrame interface
java.lang.Exception| Method Detail |
|---|
public void Init()
throws java.lang.Exception
java.lang.Exceptionpublic javax.swing.tree.DefaultTreeModel GetMandatoryCategories()
public HWMModelInstance OnNewFile(java.lang.String strFileName,
int nAppType)
throws java.lang.Exception
strFileName - The name of the new file to createnAppType - The type of application - Can be one of
HWMModelInstance.APPTYPE_XXX
java.lang.Exception
public HWMModelInstance OnOpenFile(java.lang.String strFileName)
throws java.io.FileNotFoundException,
java.lang.Exception
strFileName - The name of the file to open
java.io.FileNotFoundException - - Thrown when the pmt file cannot be
found
Exception - when any other error occurs
java.lang.Exception
public HWMModelInstance createNewInstance(java.io.File file)
throws java.io.FileNotFoundException,
java.lang.Exception
file -
java.io.FileNotFoundException
java.lang.Exception - if the file is already opened in studio,
just puts warns user on same,
allows user to open as fresh file....
-By Suryapublic boolean IsDesignerMode()
IsDesignerMode in class HWMFrameModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||