blob: b246cfdfd3147202d204eac51be0855f24b89dbd [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2007 Sybase, Inc. and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* http:// https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Sybase, Inc. - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.pagedesigner.jsf.ui.actions;
/**
* This interface is to provide information of how to enable/disable add
* jsf core sub element.
*
* As other JSF taglibs that we don't know today may also use jsf core tags inside
* them, so we may also enable the actions for adding jsf core tags to them. But
* we need check whether individual JSF core tags are supported.
*
* @author mengbo
* @version 1.5
*/
public interface IJSFCoreSupport
{
/**
* actionListener can only be added to those ActionSource component.
* @return if is an action source
*/
public boolean isActionSource();
/**
*
* @return true if is a UI component
*/
public boolean isUIComponent();
/**
* converter (convertXXX) can only be added to those ValueHolder
* @return true if is a value holder
*/
public boolean isValueHolder();
/**
* validator can only be added to EditableValueHolder
* @return true if is an editable value holder
*/
public boolean isEditableValueHolder();
/**
* whether support selectItem and selectItems
* @return true if supports the UISelectItem(s) contract
*/
public boolean supportSelectItems();
}