public class TablePopupHandler extends Object implements net.sf.jguiraffe.gui.builder.action.PopupMenuHandler
A PopupMenuHandler implementation for creating the popup menu of the
directory table.
This is an example of creating dynamic context menus. This handler implementation checks whether the action group with file-related actions is enabled. If this is the case, the actions contained in this group are added to the menu. Otherwise, only standard actions are added.
| Constructor and Description |
|---|
TablePopupHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
constructPopup(net.sf.jguiraffe.gui.builder.action.PopupMenuBuilder builder,
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData compData)
Dynamically creates the context menu based on the enabled
state of the actions affected.
|
public void constructPopup(net.sf.jguiraffe.gui.builder.action.PopupMenuBuilder builder,
net.sf.jguiraffe.gui.builder.components.ComponentBuilderData compData)
throws net.sf.jguiraffe.gui.builder.action.FormActionException
constructPopup in interface net.sf.jguiraffe.gui.builder.action.PopupMenuHandlernet.sf.jguiraffe.gui.builder.action.FormActionExceptionCopyright © 2016 The JGUIraffe Team. All Rights Reserved.