public class ShowInfoAction extends BaseAction
BaseAction.EnabledRuleAction.ActionPerformedEvent, Action.BeforeActionPerformedHandler, Action.HasBeforeActionPerformedHandler, Action.HasOpenType, Action.HasSecurityConstraint, Action.HasTarget, Action.Status, Action.UiPermissionAware| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTION_ID |
static java.lang.String |
ACTION_PERMISSION |
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE| Constructor and Description |
|---|
ShowInfoAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerform(Component component)
Invoked by owning component when an action occurs.
|
java.lang.String |
getCaption() |
CollectionDatasource |
getDatasource() |
void |
setDatasource(CollectionDatasource ds) |
void |
showInfo(Entity entity,
MetaClass metaClass,
Component.BelongToFrame component) |
addEnabledRule, getTarget, isEnabledByUiPermissions, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setTarget, setVisible, setVisibleByUiPermissions, withCaption, withDescription, withHandler, withIcon, withShortcutaddOwner, addPropertyChangeListener, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setIconFromSet, setPrimary, setShortcut, setShortcutCombinationequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddOwner, addPropertyChangeListener, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setIconFromSet, setShortcut, setShortcutCombinationpublic static final java.lang.String ACTION_ID
public static final java.lang.String ACTION_PERMISSION
public CollectionDatasource getDatasource()
public void setDatasource(CollectionDatasource ds)
public java.lang.String getCaption()
getCaption in interface ActiongetCaption in class AbstractActionpublic void actionPerform(Component component)
ActionactionPerform in interface ActionactionPerform in class BaseActioncomponent - invoking componentpublic void showInfo(Entity entity, MetaClass metaClass, Component.BelongToFrame component)