|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.javatest.exec.ET_FilterHandler
public class ET_FilterHandler
This class handles all the special filter juggling that exec tool needs to do.
| Field Summary | |
|---|---|
protected java.util.Vector |
allFilters
|
| Constructor Summary | |
|---|---|
protected |
ET_FilterHandler(javax.swing.JComponent parent,
ExecModel model,
UIFactory uif)
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Vector allFilters
| Constructor Detail |
|---|
protected ET_FilterHandler(javax.swing.JComponent parent,
ExecModel model,
UIFactory uif)
| Method Detail |
|---|
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_Control
getMenu 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_Control
restore in interface ET_Controlpublic void updateGUI()
ET_Control
updateGUI in interface ET_Controlpublic java.util.List<javax.swing.Action> getToolBarActionList()
ET_Control
getToolBarActionList in interface ET_Controlpublic void dispose()
dispose in interface ET_Controlpublic void updated(Session.Event ev)
Session.Observer
updated in interface Session.Observerev - - Event describing the change
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||