Package org.jppf.admin.web.tabletree
Class ActionHandler
java.lang.Object
org.jppf.admin.web.tabletree.ActionHandler
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAction(String id, UpdatableAction action) Add an action to this handler.voidaddActionLink(org.apache.wicket.markup.html.form.Form<String> toolbar, AbstractActionLink link) Add an action to this handler.voidselectionChanged(List<DefaultMutableTreeNode> treeNodes) Update the actions managed by this handler based ont he selected nodes.
-
Constructor Details
-
ActionHandler
public ActionHandler()
-
-
Method Details
-
selectionChanged
Update the actions managed by this handler based ont he selected nodes.- Parameters:
treeNodes- the selected nodes.
-
addAction
Add an action to this handler.- Parameters:
id- id of the action to add.action- the action to add.
-
addActionLink
public void addActionLink(org.apache.wicket.markup.html.form.Form<String> toolbar, AbstractActionLink link) Add an action to this handler.- Parameters:
toolbar- the parent of the link to add.link- the action link to add.
-