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()
void
dispose()
Session
getConfig()
javax.swing.JMenu
getMenu()
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 barvoid
restore(java.util.Map<java.lang.String,java.lang.String> m)
Restores saved state from the mapvoid
save(java.util.Map<java.lang.String,java.lang.String> m)
Saves current state to the mapvoid
setConfig(Session cfg)
void
updateGUI()
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:
getConfig
in interfaceET_ViewControl
-
setConfig
public void setConfig(Session cfg)
- Specified by:
setConfig
in interfaceET_ViewControl
-
updateGUI
public void updateGUI()
Description copied from interface:ET_Control
Invoked when some change has happened- Specified by:
updateGUI
in interfaceET_Control
-
save
public void save(java.util.Map<java.lang.String,java.lang.String> m)
Description copied from interface:ET_Control
Saves current state to the map- Specified by:
save
in interfaceET_Control
-
restore
public void restore(java.util.Map<java.lang.String,java.lang.String> m)
Description copied from interface:ET_Control
Restores saved state from the map- Specified by:
restore
in interfaceET_Control
-
getMenu
public javax.swing.JMenu getMenu()
Description copied from interface:ET_Control
Returts menu to be added to the menu mar- Specified by:
getMenu
in interfaceET_Control
-
getToolBarActionList
public java.util.List<javax.swing.Action> getToolBarActionList()
Description copied from interface:ET_Control
Returns list of actions to be added to the tool bar- Specified by:
getToolBarActionList
in interfaceET_Control
-
createActions
protected java.util.List<javax.swing.Action> createActions()
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceET_Control
-
-