public class ET_FilterHandler extends java.lang.Object implements ET_FilterControl, Session.Observer
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector |
allFilters |
Modifier | Constructor and Description |
---|---|
protected |
ET_FilterHandler(javax.swing.JComponent parent,
ExecModel model,
UIFactory uif) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
FilterConfig |
getFilterConfig() |
javax.swing.JMenu |
getFilterMenu() |
javax.swing.JMenu |
getMenu()
Returts menu to be added to the menu mar
|
java.util.List<javax.swing.Action> |
getToolBarActionList()
Returns list of actions to be added to the tool bar
|
protected java.util.List<TestFilter> |
getUsersFilters()
Subclasses may override this method to insert filters
like TemplateFilter
|
void |
restore(java.util.Map m)
Restores saved state from the map
|
void |
save(java.util.Map m)
Save internal state.
|
void |
setHarness(Harness h) |
void |
updated(Session.Event ev)
Invoked when state of config has changed
|
protected void |
updateFilters() |
void |
updateGUI()
Invoked when some change has happened
|
public void setHarness(Harness h)
setHarness
in interface HarnessAware
protected java.util.List<TestFilter> getUsersFilters()
public javax.swing.JMenu getFilterMenu()
getFilterMenu
in interface ET_FilterControl
protected void updateFilters()
public javax.swing.JMenu getMenu()
ET_Control
getMenu
in interface ET_Control
public FilterConfig getFilterConfig()
public void save(java.util.Map m)
save
in interface ET_Control
public void restore(java.util.Map m)
ET_Control
restore
in interface ET_Control
public void updateGUI()
ET_Control
updateGUI
in interface ET_Control
public java.util.List<javax.swing.Action> getToolBarActionList()
ET_Control
getToolBarActionList
in interface ET_Control
public void dispose()
dispose
in interface ET_Control
public void updated(Session.Event ev)
Session.Observer
updated
in interface Session.Observer
ev
- - Event describing the changeCopyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.