|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.altair.hwm.toolkit.frame.HWMMenuToolBarHandler
com.altair.hwm.toolkit.frame.HWMDsgnMenuToolBarHandler
public class HWMDsgnMenuToolBarHandler
Title: HWMDsgnMenuToolBarHandler
Description: This class handles the enabling and disabling of menu and toolbar items as and when events occur for the java based apps builder
Company: Altair Engineering, Inc.
| Constructor Summary | |
|---|---|
HWMDsgnMenuToolBarHandler(java.util.EventListener evtListener,
boolean bPMMode)
Constructor |
|
| Method Summary | |
|---|---|
HWMMenuBarContainer |
CreateMenuBar()
Create the default menubar for builder mode |
void |
CreateOtherHelp(javax.swing.JMenuItem menuItemOtherAppls)
|
HWMToolBarContainer |
CreateToolBar()
Create the default toolbars for builder mode |
void |
OnInstanceActivated(HWMModelInstance hwmModelInstOld,
HWMModelInstance hwmModelInstNew)
This is invoked by the frame when an instance is made active |
void |
OnInstanceCreated(HWMModelInstance hwmModelInst)
This is invoked by the frame when an instance is created |
void |
OnPageAdded(HWMPageMgrModel hwmPgMgrModel,
HWMPage hwmPage)
This is invoked when the frame gets a event from menu item asking it to add a page |
void |
OnPageRemoved(HWMPageMgrModel hwmPgMgrModel,
HWMPage hwmPage)
This is invoked when the frame gets a event from menu item notifying it that a page has been removed |
void |
OnPageSelected(HWMPage hwmPage)
This is invoked when the frame gets a toolkit event notifying it that a page has been selected |
| Methods inherited from class com.altair.hwm.toolkit.frame.HWMMenuToolBarHandler |
|---|
GetMenuBar, GetToolBar, GetTplProps, IsMenuBarItemVisible, IsToolBarItemVisible, IsViewWorkflowSelected, OnInstanceClosed, SetMenuBar, SetToolBar, SetTplProps, ShowToolBar, UpdateMRUMenu, UpdateWindowsMenu |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HWMDsgnMenuToolBarHandler(java.util.EventListener evtListener,
boolean bPMMode)
evtListener - The listener that needs to receive all the
events for toolbar and menubarbPMMode - If true, then PM has started EPIC else it is in
stand-alone mode| Method Detail |
|---|
public HWMMenuBarContainer CreateMenuBar()
throws java.lang.Exception
CreateMenuBar in class HWMMenuToolBarHandlerthrows - Exception
java.lang.Exception
public HWMToolBarContainer CreateToolBar()
throws java.lang.Exception
CreateToolBar in class HWMMenuToolBarHandlerthrows - Exception
java.lang.Exception
public void OnInstanceActivated(HWMModelInstance hwmModelInstOld,
HWMModelInstance hwmModelInstNew)
throws java.lang.Exception
OnInstanceActivated in class HWMMenuToolBarHandlerhwmModelInstOld - The old model instancehwmModelInstNew - The new model instance
java.lang.Exception
public void OnInstanceCreated(HWMModelInstance hwmModelInst)
throws java.lang.Exception
hwmModelInst - The model instance created
java.lang.Exception
public void OnPageAdded(HWMPageMgrModel hwmPgMgrModel,
HWMPage hwmPage)
throws java.lang.Exception
hwmPMgrModel - The page manager modelhwmPage - The page that has been added
java.lang.Exception
public void OnPageRemoved(HWMPageMgrModel hwmPgMgrModel,
HWMPage hwmPage)
throws java.lang.Exception
hwmPMgrModel - The page manager modelhwmPage - The page that has been removed
java.lang.Exception
public void OnPageSelected(HWMPage hwmPage)
throws java.lang.Exception
hwmPage - The page selected
java.lang.Exceptionpublic void CreateOtherHelp(javax.swing.JMenuItem menuItemOtherAppls)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||