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
ConstructorsModifierConstructorDescriptionprotectedET_FilterHandler(JComponent parent, ExecModel model, UIFactory uif) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()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 TemplateFiltervoidRestores saved state from the mapvoidSave internal state.voidvoidupdated(Session.Event ev) Invoked when state of config has changedprotected voidvoidInvoked when some change has happened
-
Field Details
-
allFilters
-
-
Constructor Details
-
ET_FilterHandler
-
-
Method Details
-
setHarness
- Specified by:
setHarnessin 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:
getFilterMenuin interfaceET_FilterControl- Returns:
- a menu of available filters
-
updateFilters
protected void updateFilters() -
getMenu
Description copied from interface:ET_ControlReturts menu to be added to the menu mar- Specified by:
getMenuin interfaceET_Control
-
getFilterConfig
-
save
Save internal state.- Specified by:
savein interfaceET_Control
-
restore
Description copied from interface:ET_ControlRestores saved state from the map- Specified by:
restorein interfaceET_Control
-
updateGUI
public void updateGUI()Description copied from interface:ET_ControlInvoked when some change has happened- Specified by:
updateGUIin interfaceET_Control
-
getToolBarActionList
Description copied from interface:ET_ControlReturns list of actions to be added to the tool bar- Specified by:
getToolBarActionListin interfaceET_Control
-
dispose
public void dispose()- Specified by:
disposein interfaceET_Control
-
updated
Description copied from interface:Session.ObserverInvoked when state of config has changed- Specified by:
updatedin interfaceSession.Observer- Parameters:
ev- - Event describing the change
-