Package com.sun.javatest.exec
Class ET_DefaultViewControl
- java.lang.Object
-
- com.sun.javatest.exec.ET_DefaultViewControl
-
- All Implemented Interfaces:
ET_Control,ET_ViewControl
public class ET_DefaultViewControl extends java.lang.Object implements ET_ViewControl
-
-
Constructor Summary
Constructors Constructor Description ET_DefaultViewControl(javax.swing.JComponent parent, TestSuite ts, ExecModel execModel, UIFactory uif, ET_FilterControl filterControl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<javax.swing.Action>createActions()voiddispose()SessiongetConfig()javax.swing.JMenugetMenu()Returts menu to be added to the menu marjava.util.List<javax.swing.Action>getToolBarActionList()Returns list of actions to be added to the tool barvoidrestore(java.util.Map<java.lang.String,java.lang.String> m)Restores saved state from the mapvoidsave(java.util.Map<java.lang.String,java.lang.String> m)Saves current state to the mapvoidsetConfig(Session cfg)voidupdateGUI()Invoked when some change has happened
-
-
-
Constructor Detail
-
ET_DefaultViewControl
public ET_DefaultViewControl(javax.swing.JComponent parent, TestSuite ts, ExecModel execModel, UIFactory uif, ET_FilterControl filterControl)
-
-
Method Detail
-
getConfig
public Session getConfig()
- Specified by:
getConfigin interfaceET_ViewControl
-
setConfig
public void setConfig(Session cfg)
- Specified by:
setConfigin interfaceET_ViewControl
-
updateGUI
public void updateGUI()
Description copied from interface:ET_ControlInvoked when some change has happened- Specified by:
updateGUIin interfaceET_Control
-
save
public void save(java.util.Map<java.lang.String,java.lang.String> m)
Description copied from interface:ET_ControlSaves current state to the map- Specified by:
savein interfaceET_Control
-
restore
public void restore(java.util.Map<java.lang.String,java.lang.String> m)
Description copied from interface:ET_ControlRestores saved state from the map- Specified by:
restorein interfaceET_Control
-
getMenu
public javax.swing.JMenu getMenu()
Description copied from interface:ET_ControlReturts menu to be added to the menu mar- Specified by:
getMenuin interfaceET_Control
-
getToolBarActionList
public java.util.List<javax.swing.Action> getToolBarActionList()
Description copied from interface:ET_ControlReturns list of actions to be added to the tool bar- Specified by:
getToolBarActionListin interfaceET_Control
-
createActions
protected java.util.List<javax.swing.Action> createActions()
-
dispose
public void dispose()
- Specified by:
disposein interfaceET_Control
-
-