001 package org.nakedobjects.applib.events;
002
003 import org.nakedobjects.applib.Identifier;
004
005
006 /**
007 * Represents a check as to whether an action is visible or has been hidden.
008 *
009 * <p>
010 * If {@link #getReason()} is not <tt>null</tt> then provides the reason why the action is invisible;
011 * otherwise action is visible.
012 */
013 public class ActionVisibilityEvent extends VisibilityEvent {
014
015 private static final long serialVersionUID = 1L;
016
017 public ActionVisibilityEvent(final Object source, final Identifier actionIdentifier) {
018 super(source, actionIdentifier);
019 }
020
021 }