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 HarnessAwareprotected java.util.List<TestFilter> getUsersFilters()
public javax.swing.JMenu getFilterMenu()
getFilterMenu in interface ET_FilterControlprotected void updateFilters()
public javax.swing.JMenu getMenu()
ET_ControlgetMenu in interface ET_Controlpublic FilterConfig getFilterConfig()
public void save(java.util.Map m)
save in interface ET_Controlpublic void restore(java.util.Map m)
ET_Controlrestore in interface ET_Controlpublic void updateGUI()
ET_ControlupdateGUI in interface ET_Controlpublic java.util.List<javax.swing.Action> getToolBarActionList()
ET_ControlgetToolBarActionList in interface ET_Controlpublic void dispose()
dispose in interface ET_Controlpublic void updated(Session.Event ev)
Session.Observerupdated in interface Session.Observerev - - Event describing the changeCopyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.