Package com.sun.javatest.exec
Class ET_FilterHandler
java.lang.Object
com.sun.javatest.exec.ET_FilterHandler
- All Implemented Interfaces:
ET_Control
,ET_FilterControl
,HarnessAware
,Session.Observer
This class handles all the special filter juggling that exec tool needs to do.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ET_FilterHandler
(JComponent parent, ExecModel model, UIFactory uif) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
getMenu()
Returts menu to be added to the menu marReturns list of actions to be added to the tool barprotected List
<TestFilter> Subclasses may override this method to insert filters like TemplateFiltervoid
Restores saved state from the mapvoid
Save internal state.void
void
updated
(Session.Event ev) Invoked when state of config has changedprotected void
void
Invoked when some change has happened
-
Field Details
-
allFilters
-
-
Constructor Details
-
ET_FilterHandler
-
-
Method Details
-
setHarness
- Specified by:
setHarness
in interfaceHarnessAware
-
getUsersFilters
Subclasses may override this method to insert filters like TemplateFilter- Returns:
- list of filters defined for the User's TestSuite, or null
-
getFilterMenu
- Specified by:
getFilterMenu
in interfaceET_FilterControl
- Returns:
- a menu of available filters
-
updateFilters
protected void updateFilters() -
getMenu
Description copied from interface:ET_Control
Returts menu to be added to the menu mar- Specified by:
getMenu
in interfaceET_Control
-
getFilterConfig
-
save
Save internal state.- Specified by:
save
in interfaceET_Control
-
restore
Description copied from interface:ET_Control
Restores saved state from the map- Specified by:
restore
in interfaceET_Control
-
updateGUI
public void updateGUI()Description copied from interface:ET_Control
Invoked when some change has happened- Specified by:
updateGUI
in interfaceET_Control
-
getToolBarActionList
Description copied from interface:ET_Control
Returns list of actions to be added to the tool bar- Specified by:
getToolBarActionList
in interfaceET_Control
-
dispose
public void dispose()- Specified by:
dispose
in interfaceET_Control
-
updated
Description copied from interface:Session.Observer
Invoked when state of config has changed- Specified by:
updated
in interfaceSession.Observer
- Parameters:
ev
- - Event describing the change
-