Package org.apache.jetspeed.om.common.portlet

Examples of org.apache.jetspeed.om.common.portlet.CustomWindowState


            if ( customWindowStates.size() > 0 )
            {
                Iterator iter = customWindowStates.iterator();
                while ( iter.hasNext() )
                {
                    CustomWindowState customState = (CustomWindowState)iter.next();
                    if ( !list.contains(customState.getCustomState()) && JetspeedActions.getExtendedWindowStates().contains(customState.getMappedState()) )
                    {
                        list.add(customState.getCustomState());
                        supportedCustomStates.put(customState.getMappedState(),customState.getCustomState());
                        mappedCustomStates.put(customState.getCustomState(),customState.getMappedState());
                    }
                }
            }
            supportedWindowStates = Collections.unmodifiableCollection(list);
        }
View Full Code Here


                    if (!mappedState.getMappedState().equals(mappedState.getCustomState()))
                    {
                        int index = customStates.indexOf(mappedState);
                        if ( index > -1 )
                        {
                            CustomWindowState customState = (CustomWindowState)customStates.get(index);
                            mappedState.setDescription(customState.getDescription());
                            customStates.set(index,mappedState);
                        }
                    }
                }
                pa.setCustomWindowStates(customStates);
View Full Code Here

                    if (!mappedState.getMappedState().equals(mappedState.getCustomState()))
                    {
                        int index = customStates.indexOf(mappedState);
                        if ( index > -1 )
                        {
                            CustomWindowState customState = (CustomWindowState)customStates.get(index);
                            mappedState.setDescription(customState.getDescription());
                            customStates.set(index,mappedState);
                        }
                    }
                }
                pa.setCustomWindowStates(customStates);
View Full Code Here

            if ( customWindowStates.size() > 0 )
            {
                Iterator iter = customWindowStates.iterator();
                while ( iter.hasNext() )
                {
                    CustomWindowState customState = (CustomWindowState)iter.next();
                    if ( !list.contains(customState.getCustomState()) && JetspeedActions.getExtendedWindowStates().contains(customState.getMappedState()) )
                    {
                        list.add(customState.getCustomState());
                        supportedCustomStates.put(customState.getMappedState(),customState.getCustomState());
                        mappedCustomStates.put(customState.getCustomState(),customState.getMappedState());
                    }
                }
            }
            supportedWindowStates = Collections.unmodifiableCollection(list);
        }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.om.common.portlet.CustomWindowState

Copyright © 2018 www.massapicom. 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.