Package ariba.ui.widgets

Source Code of ariba.ui.widgets.IsNavigatorBarVisibleConditionHandler

package ariba.ui.widgets;

import ariba.ui.aribaweb.core.AWRequestContext;
import ariba.ui.aribaweb.core.AWComponent;

public final class IsNavigatorBarVisibleConditionHandler extends ConditionHandler
{
    public boolean evaluateCondition (AWRequestContext requestContext)
    {
        AWComponent pageWrapper = PageWrapper.instance(requestContext.getCurrentComponent());
        if (pageWrapper.hasBinding(BindingNames.isNavigationBarVisible)) {
            return pageWrapper.booleanValueForBinding(BindingNames.isNavigationBarVisible);
        }
        return true;
    }
}
TOP

Related Classes of ariba.ui.widgets.IsNavigatorBarVisibleConditionHandler

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.