001/**
002 * Copyright 2005-2015 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.rice.krad.uif.container;
017
018import org.kuali.rice.krad.datadictionary.parse.BeanTag;
019import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute;
020import org.kuali.rice.krad.datadictionary.parse.BeanTags;
021import org.kuali.rice.krad.uif.component.Component;
022import org.kuali.rice.krad.uif.element.Action;
023
024import java.util.HashSet;
025import java.util.Set;
026
027/**
028 * Special <code>Group</code> that renders a tab navigation section
029 *
030 * <p>
031 * Only supports <code>Action</code> instances within the container. These
032 * are used to provide the items (or individual links) within the navigation.
033 * </p>
034 *
035 * @author Kuali Rice Team (rice.collab@kuali.org)
036 */
037@BeanTag(name = "tabNavigationGroup-bean", parent = "Uif-TabNavigationGroup")
038public class TabNavigationGroup extends GroupBase {
039    private static final long serialVersionUID = -7263923392768546340L;
040
041    public TabNavigationGroup() {
042        super();
043    }
044
045    /**
046     * {@inheritDoc}
047     */
048    @Override
049    public Set<Class<? extends Component>> getSupportedComponents() {
050        Set<Class<? extends Component>> supportedComponents = new HashSet<Class<? extends Component>>();
051        supportedComponents.add(Action.class);
052
053        return supportedComponents;
054    }
055}